glamtk

annotate 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
rev   line source
nuclear@0 1 #ifndef IMTK_H_
nuclear@0 2 #define IMTK_H_
nuclear@0 3
nuclear@0 4 /* key/button state enum */
nuclear@0 5 enum {
nuclear@0 6 IMTK_UP,
nuclear@0 7 IMTK_DOWN
nuclear@0 8 };
nuclear@0 9
nuclear@0 10 enum {
nuclear@0 11 IMTK_LEFT_BUTTON,
nuclear@0 12 IMTK_MIDDLE_BUTTON,
nuclear@0 13 IMTK_RIGHT_BUTTON
nuclear@0 14 };
nuclear@0 15
nuclear@0 16 void imtk_inp_key(int key, int state);
nuclear@0 17 void imtk_inp_mouse(int bn, int state);
nuclear@0 18 void imtk_inp_motion(int x, int y);
nuclear@0 19 void imtk_inp_reshape(int x, int y);
nuclear@0 20
nuclear@0 21 void imtk_begin(void);
nuclear@0 22 void imtk_end(void);
nuclear@0 23
nuclear@0 24 int imtk_button(int id, const char *label, int x, int y);
nuclear@0 25
nuclear@0 26 #endif /* IMTK_H_ */