TinyGL-C89/examples/ui.h
Aidan Mullen 9a779bf1a1 Add C89 support
Allow compilation from C89 compilers.
2024-07-08 09:27:12 -04:00

18 lines
387 B
C

/*
* tk like ui
*/
void draw( void );
void idle( void );
GLenum key(int k, GLenum mask);
void reshape( int width, int height );
void init( void );
int ui_loop(int argc, char **argv, const char *name);
void tkSwapBuffers(void);
#define KEY_UP 0xe000
#define KEY_DOWN 0xe001
#define KEY_LEFT 0xe002
#define KEY_RIGHT 0xe003
#define KEY_ESCAPE 0xe004
/* --- end of UI_H --- */