diff options
author | 2023-05-25 22:48:14 +0200 | |
---|---|---|
committer | 2023-05-25 22:48:14 +0200 | |
commit | bccce80815f8f7cd23dec864d56d0989209a8b0b (patch) | |
tree | 3cb0c5a0a26e091867de5c9a1db0002e104c724a | |
parent | 8373306fd753fad74e9d51061825544e5ae794e4 (diff) | |
download | cherry-bccce80815f8f7cd23dec864d56d0989209a8b0b.tar.gz cherry-bccce80815f8f7cd23dec864d56d0989209a8b0b.zip |
Remove Xlib stuff from 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; |