Implemented fullscreen mode

This commit is contained in:
Bert
2011-01-23 16:14:41 +01:00
parent 8183b5a202
commit 2b1c0885fe
4 changed files with 46 additions and 7 deletions

View File

@ -33,7 +33,8 @@ typedef struct win_env_s {
typedef struct win_s {
Window xwin;
win_env_t env;
GC bgc;
unsigned long bgcol;
Pixmap pm;
int w;
@ -51,6 +52,7 @@ void win_close(win_t*);
void win_set_title(win_t*, const char*);
int win_configure(win_t*, XConfigureEvent*);
void win_toggle_fullscreen(win_t*);
void win_clear(win_t*);
void win_draw(win_t*);