From bccce80815f8f7cd23dec864d56d0989209a8b0b Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Thu, 25 May 2023 22:48:14 +0200 Subject: Remove Xlib stuff from widget.h --- src/widget.h | 10 +++++----- 1 file 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 -#include +#include /* used bu utils.h until I'll fix that */ #include #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; -- cgit v1.2.3