mirror of
https://codeberg.org/ACM/TinyGL-C89.git
synced 2025-08-17 05:03:32 -04:00
Add C89 support
Allow compilation from C89 compilers.
This commit is contained in:
parent
fb4cb83981
commit
9a779bf1a1
66 changed files with 12202 additions and 0 deletions
18
examples/ui.h
Normal file
18
examples/ui.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* 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 --- */
|
||||
Loading…
Add table
Add a link
Reference in a new issue