aboutsummaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-09-11 21:01:24 +0200
committerBert <ber.t@gmx.com>2011-09-11 21:01:24 +0200
commitb2a2a62b7b8a066467d7e8ef520fef7c17e3c5ca (patch)
treec13904baa041941854a7550f883ba38e14205f1e /window.h
parente2d4b9c7915a2a356cae04d33f1713ae224fbe7e (diff)
Added own bool type
Diffstat (limited to 'window.h')
-rw-r--r--window.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/window.h b/window.h
index 1058919..ac60156 100644
--- a/window.h
+++ b/window.h
@@ -46,9 +46,9 @@ typedef struct {
int y;
unsigned int w;
unsigned int h;
-
unsigned int bw;
- unsigned char fullscreen;
+
+ bool fullscreen;
} win_t;
extern Atom wm_delete_win;
@@ -57,14 +57,14 @@ void win_init(win_t*);
void win_open(win_t*);
void win_close(win_t*);
-int win_configure(win_t*, XConfigureEvent*);
-int win_moveresize(win_t*, int, int, unsigned int, unsigned int);
+bool win_configure(win_t*, XConfigureEvent*);
+bool win_moveresize(win_t*, int, int, unsigned int, unsigned int);
void win_toggle_fullscreen(win_t*);
void win_clear(win_t*);
void win_draw(win_t*);
-void win_draw_rect(win_t*, Pixmap, int, int, int, int, Bool, int,
+void win_draw_rect(win_t*, Pixmap, int, int, int, int, bool, int,
unsigned long);
void win_set_title(win_t*, const char*);