istereo2
annotate src/ui.h @ 35:643f4ab609a4
added readme and license
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 31 Oct 2015 05:45:35 +0200 |
parents | 3bccfc7d10fe |
children |
rev | line source |
---|---|
nuclear@6 | 1 #ifndef UI_H_ |
nuclear@6 | 2 #define UI_H_ |
nuclear@6 | 3 |
nuclear@6 | 4 #ifdef __cplusplus |
nuclear@6 | 5 extern "C" { |
nuclear@6 | 6 #endif |
nuclear@6 | 7 |
nuclear@6 | 8 int ui_init(void); |
nuclear@6 | 9 void ui_shutdown(void); |
nuclear@6 | 10 |
nuclear@15 | 11 void ui_show(); |
nuclear@15 | 12 void ui_hide(); |
nuclear@15 | 13 int ui_visible(); |
nuclear@15 | 14 |
nuclear@6 | 15 void ui_reshape(int x, int y); |
nuclear@6 | 16 void ui_draw(void); |
nuclear@6 | 17 |
nuclear@6 | 18 void ui_button(int bn, int press, int x, int y); |
nuclear@6 | 19 void ui_motion(int x, int y); |
nuclear@6 | 20 |
nuclear@6 | 21 #ifdef __cplusplus |
nuclear@6 | 22 } |
nuclear@6 | 23 #endif |
nuclear@6 | 24 |
nuclear@6 | 25 #endif /* UI_H_ */ |