sgl
diff src/wsys.h @ 4:648f8604d2b2
cont. x11 module
author | John Tsiombikas <nuclear@siggraph.org> |
---|---|
date | Thu, 12 May 2011 11:04:10 +0300 |
parents | 1b6c5dadb460 |
children | 0570e27e5ebc |
line diff
1.1 --- a/src/wsys.h Wed May 11 09:09:43 2011 +0300 1.2 +++ b/src/wsys.h Thu May 12 11:04:10 2011 +0300 1.3 @@ -8,11 +8,21 @@ 1.4 int (*init)(void); 1.5 void (*shutdown)(void); 1.6 1.7 - int (*set_vidmode)(int, int, int); 1.8 - int (*get_vidmode)(int*, int*, int*); 1.9 + int (*set_vidmode)(int, int); 1.10 + int (*get_vidmode)(int*, int*); 1.11 + 1.12 int (*create_window)(int, int, unsigned int); 1.13 void (*close_window)(int); 1.14 1.15 + int (*set_active)(int); 1.16 + int (*set_title)(const char*); 1.17 + 1.18 + void (*set_event)(int idx, int enable); 1.19 + int (*process_events)(void); 1.20 + 1.21 + void (*redisplay)(void); 1.22 + void (*swap_buffers)(void); 1.23 + 1.24 struct wsys_module *next; 1.25 }; 1.26