diff options
Diffstat (limited to 'src/widget.h')
-rw-r--r-- | src/widget.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widget.h b/src/widget.h index c209191..4725e39 100644 --- a/src/widget.h +++ b/src/widget.h @@ -3,11 +3,11 @@ #ifndef __CHERRY_WIDGET_H__ #define __CHERRY_WIDGET_H__ -#include <X11/Xlib.h> -#include <X11/Xutil.h> +#include <stdlib.h> /* used bu utils.h until I'll fix that */ #include <utils.h> #include "dimension.h" +/* The parent of all widgets */ typedef struct CherryWidget { int x, y; CherryDimension *dimension; @@ -15,9 +15,9 @@ typedef struct CherryWidget { list_t components; /* Xlib stuff */ - XSizeHints hints; - GC gc; - Window wnd; +// XSizeHints hints; +// GC gc; +// Window wnd; void (*draw)(struct CherryWidget *); } CherryWidget; |