source:
trunk/sys/TinyGL/examples/ui.h
@
338
Last change on this file since 338 was 1, checked in by , 8 years ago | |
---|---|
File size: 361 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | /* |
2 | * tk like ui | |
3 | */ | |
4 | void draw( void ); | |
5 | void idle( void ); | |
6 | GLenum key(int k, GLenum mask); | |
7 | void reshape( int width, int height ); | |
8 | void init( void ); | |
9 | int ui_loop(int argc, char **argv, const char *name); | |
10 | void 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.