glamtk
view src/imtk.h @ 0:b04d49e4599c
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 30 Dec 2010 05:22:14 +0200 |
parents | |
children | dfbd12d1f566 |
line source
1 #ifndef IMTK_H_
2 #define IMTK_H_
4 /* key/button state enum */
5 enum {
6 IMTK_UP,
7 IMTK_DOWN
8 };
10 enum {
11 IMTK_LEFT_BUTTON,
12 IMTK_MIDDLE_BUTTON,
13 IMTK_RIGHT_BUTTON
14 };
16 void imtk_inp_key(int key, int state);
17 void imtk_inp_mouse(int bn, int state);
18 void imtk_inp_motion(int x, int y);
19 void imtk_inp_reshape(int x, int y);
21 void imtk_begin(void);
22 void imtk_end(void);
24 int imtk_button(int id, const char *label, int x, int y);
26 #endif /* IMTK_H_ */