diff options
author | Bert <ber.t@gmx.com> | 2011-09-11 21:01:24 +0200 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-09-11 21:01:24 +0200 |
commit | b2a2a62b7b8a066467d7e8ef520fef7c17e3c5ca (patch) | |
tree | c13904baa041941854a7550f883ba38e14205f1e /window.h | |
parent | e2d4b9c7915a2a356cae04d33f1713ae224fbe7e (diff) |
Added own bool type
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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*); |