libkovan
1
The kovan standard library
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
button.h
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright 2012 KISS Institute for Practical Robotics *
3
* *
4
* This file is part of libkovan. *
5
* *
6
* libkovan is free software: you can redistribute it and/or modify *
7
* it under the terms of the GNU General Public License as published by *
8
* the Free Software Foundation, either version 2 of the License, or *
9
* (at your option) any later version. *
10
* *
11
* libkovan is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with libkovan. Check the LICENSE file in the project root. *
18
* If not, see <http://www.gnu.org/licenses/>. *
19
**************************************************************************/
20
28
#ifndef _BUTTON_H_
29
#define _BUTTON_H_
30
31
#include "
export.h
"
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
42
EXPORT_SYM
void
set_a_button_text
(
const
char
*text);
43
49
EXPORT_SYM
void
set_b_button_text
(
const
char
*text);
50
56
EXPORT_SYM
void
set_c_button_text
(
const
char
*text);
57
63
EXPORT_SYM
void
set_x_button_text
(
const
char
*text);
64
70
EXPORT_SYM
void
set_y_button_text
(
const
char
*text);
71
77
EXPORT_SYM
void
set_z_button_text
(
const
char
*text);
78
85
EXPORT_SYM
int
a_button
();
86
93
EXPORT_SYM
int
b_button
();
94
101
EXPORT_SYM
int
c_button
();
102
110
EXPORT_SYM
int
x_button
();
111
119
EXPORT_SYM
int
y_button
();
120
128
EXPORT_SYM
int
z_button
();
129
136
EXPORT_SYM
int
side_button
();
137
145
EXPORT_SYM
int
black_button
();
146
153
EXPORT_SYM
int
a_button_clicked
();
154
162
EXPORT_SYM
int
b_button_clicked
();
163
171
EXPORT_SYM
int
c_button_clicked
();
172
181
EXPORT_SYM
int
x_button_clicked
();
182
191
EXPORT_SYM
int
y_button_clicked
();
192
201
EXPORT_SYM
int
z_button_clicked
();
202
210
EXPORT_SYM
int
side_button_clicked
();
211
212
EXPORT_SYM
int
any_button
();
213
219
EXPORT_SYM
void
extra_buttons_show
();
220
226
EXPORT_SYM
void
extra_buttons_hide
();
227
233
EXPORT_SYM
int
get_extra_buttons_visible
();
234
240
EXPORT_SYM
void
set_extra_buttons_visible
(
int
visible);
241
242
#ifdef __cplusplus
243
}
244
#endif
245
246
#endif
set_y_button_text
EXPORT_SYM void set_y_button_text(const char *text)
get_extra_buttons_visible
EXPORT_SYM int get_extra_buttons_visible()
a_button_clicked
EXPORT_SYM int a_button_clicked()
black_button
EXPORT_SYM int black_button()
extra_buttons_show
EXPORT_SYM void extra_buttons_show()
z_button
EXPORT_SYM int z_button()
side_button
EXPORT_SYM int side_button()
set_b_button_text
EXPORT_SYM void set_b_button_text(const char *text)
export.h
set_extra_buttons_visible
EXPORT_SYM void set_extra_buttons_visible(int visible)
set_c_button_text
EXPORT_SYM void set_c_button_text(const char *text)
c_button_clicked
EXPORT_SYM int c_button_clicked()
side_button_clicked
EXPORT_SYM int side_button_clicked()
extra_buttons_hide
EXPORT_SYM void extra_buttons_hide()
y_button_clicked
EXPORT_SYM int y_button_clicked()
x_button
EXPORT_SYM int x_button()
b_button
EXPORT_SYM int b_button()
y_button
EXPORT_SYM int y_button()
z_button_clicked
EXPORT_SYM int z_button_clicked()
any_button
EXPORT_SYM int any_button()
b_button_clicked
EXPORT_SYM int b_button_clicked()
a_button
EXPORT_SYM int a_button()
c_button
EXPORT_SYM int c_button()
EXPORT_SYM
#define EXPORT_SYM
Definition:
export.h:7
set_z_button_text
EXPORT_SYM void set_z_button_text(const char *text)
x_button_clicked
EXPORT_SYM int x_button_clicked()
set_a_button_text
EXPORT_SYM void set_a_button_text(const char *text)
set_x_button_text
EXPORT_SYM void set_x_button_text(const char *text)
include
kovan
button.h
Generated on Fri Jan 10 2014 22:14:39 for libkovan by
1.8.5