aboutsummaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-01-17 16:42:49 +0100
committerBert <ber.t@gmx.com>2011-01-17 16:42:49 +0100
commit49a69a357bee345148a3d26d166121a6eaf4011c (patch)
treeaaa89e64d37fab1e12a4f2a1ccc5444226d80cb1 /window.h
parentbbe7ae04702e8e7897de6c7f87d5d8b844e46256 (diff)
Added win_open & win_close
Diffstat (limited to 'window.h')
-rw-r--r--window.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/window.h b/window.h
index 3ac34cb..31cd3da 100644
--- a/window.h
+++ b/window.h
@@ -19,12 +19,21 @@
#ifndef WINDOW_H
#define WINDOW_H
+#include <X11/Xlib.h>
+
typedef struct win_s {
+ Window xwin;
+
int w;
int h;
int x;
int y;
+
int bw;
+ int fullscreen;
} win_t;
+void win_open(win_t *win);
+void win_close(win_t *win);
+
#endif /* WINDOW_H */