source: trunk/sys/TinyGL/examples/ui.h @ 424

Last change on this file since 424 was 1, checked in by alain, 8 years ago

First import

File size: 361 bytes
Line 
1/*
2 * tk like ui
3 */
4void draw( void );
5void idle( void );
6GLenum key(int k, GLenum mask);
7void reshape( int width, int height );
8void init( void );
9int ui_loop(int argc, char **argv, const char *name);
10void tkSwapBuffers(void);
11
12#define KEY_UP     0xe000
13#define KEY_DOWN   0xe001
14#define KEY_LEFT   0xe002
15#define KEY_RIGHT  0xe003
16#define KEY_ESCAPE 0xe004
17
Note: See TracBrowser for help on using the repository browser.