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
#include "
vtable.h
"
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
43
VF
EXPORT_SYM
void
set_a_button_text
(
const
char
*text);
44
50
VF
EXPORT_SYM
void
set_b_button_text
(
const
char
*text);
51
57
VF
EXPORT_SYM
void
set_c_button_text
(
const
char
*text);
58
64
VF
EXPORT_SYM
void
set_x_button_text
(
const
char
*text);
65
71
VF
EXPORT_SYM
void
set_y_button_text
(
const
char
*text);
72
78
VF
EXPORT_SYM
void
set_z_button_text
(
const
char
*text);
79
86
VF
EXPORT_SYM
int
a_button
();
87
94
VF
EXPORT_SYM
int
b_button
();
95
102
VF
EXPORT_SYM
int
c_button
();
103
111
VF
EXPORT_SYM
int
x_button
();
112
120
VF
EXPORT_SYM
int
y_button
();
121
129
VF
EXPORT_SYM
int
z_button
();
130
137
VF
EXPORT_SYM
int
side_button
();
138
146
VF
EXPORT_SYM
int
black_button
();
147
154
VF
EXPORT_SYM
int
a_button_clicked
();
155
163
VF
EXPORT_SYM
int
b_button_clicked
();
164
172
VF
EXPORT_SYM
int
c_button_clicked
();
173
182
VF
EXPORT_SYM
int
x_button_clicked
();
183
192
VF
EXPORT_SYM
int
y_button_clicked
();
193
202
VF
EXPORT_SYM
int
z_button_clicked
();
203
211
VF
EXPORT_SYM
int
side_button_clicked
();
212
213
VF
EXPORT_SYM
int
any_button
();
214
220
VF
EXPORT_SYM
void
extra_buttons_show
();
221
227
VF
EXPORT_SYM
void
extra_buttons_hide
();
228
234
VF
EXPORT_SYM
int
get_extra_buttons_visible
();
235
241
VF
EXPORT_SYM
void
set_extra_buttons_visible
(
int
visible);
242
243
VFL
244
245
#ifdef __cplusplus
246
}
247
#endif
248
249
#endif
extra_buttons_show
VF EXPORT_SYM void extra_buttons_show()
export.h
any_button
VF EXPORT_SYM int any_button()
set_x_button_text
VF EXPORT_SYM void set_x_button_text(const char *text)
set_y_button_text
VF EXPORT_SYM void set_y_button_text(const char *text)
z_button
VF EXPORT_SYM int z_button()
y_button
VF EXPORT_SYM int y_button()
c_button
VF EXPORT_SYM int c_button()
a_button_clicked
VF EXPORT_SYM int a_button_clicked()
set_b_button_text
VF EXPORT_SYM void set_b_button_text(const char *text)
set_c_button_text
VF EXPORT_SYM void set_c_button_text(const char *text)
set_extra_buttons_visible
VF EXPORT_SYM void set_extra_buttons_visible(int visible)
a_button
VF EXPORT_SYM int a_button()
c_button_clicked
VF EXPORT_SYM int c_button_clicked()
side_button_clicked
VF EXPORT_SYM int side_button_clicked()
z_button_clicked
VF EXPORT_SYM int z_button_clicked()
x_button_clicked
VF EXPORT_SYM int x_button_clicked()
x_button
VF EXPORT_SYM int x_button()
VF
#define VF
Definition:
vtable.h:10
side_button
VF EXPORT_SYM int side_button()
VFL
#define VFL
Definition:
vtable.h:11
EXPORT_SYM
#define EXPORT_SYM
Definition:
export.h:7
y_button_clicked
VF EXPORT_SYM int y_button_clicked()
get_extra_buttons_visible
VF EXPORT_SYM int get_extra_buttons_visible()
black_button
VF EXPORT_SYM int black_button()
extra_buttons_hide
VF EXPORT_SYM void extra_buttons_hide()
b_button_clicked
VF EXPORT_SYM int b_button_clicked()
vtable.h
set_z_button_text
VF EXPORT_SYM void set_z_button_text(const char *text)
set_a_button_text
VF EXPORT_SYM void set_a_button_text(const char *text)
b_button
VF EXPORT_SYM int b_button()
include
kovan
button.h
Generated on Fri Jan 9 2015 22:59:39 for libkovan by
1.8.5