aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-25 22:49:02 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-25 22:49:02 +0200
commite09646784a64621fa6911fcc7a812ab7851e55e2 (patch)
tree9299bc1711c6576a26beb9019ccd812805081667 /src
parentbccce80815f8f7cd23dec864d56d0989209a8b0b (diff)
downloadcherry-e09646784a64621fa6911fcc7a812ab7851e55e2.tar.gz
cherry-e09646784a64621fa6911fcc7a812ab7851e55e2.zip
Add some useful comment
Diffstat (limited to 'src')
-rw-r--r--src/widget.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widget.h b/src/widget.h
index 4725e39..ac5bc4b 100644
--- a/src/widget.h
+++ b/src/widget.h
@@ -9,10 +9,10 @@
/* The parent of all widgets */
typedef struct CherryWidget {
- int x, y;
- CherryDimension *dimension;
- int visible;
- list_t components;
+ int x, y; /* Coordinates */
+ CherryDimension *dimension; /* Size of the widget */
+ int visible; /* Is this visible? */
+ list_t components; /* A list of children widgets */
/* Xlib stuff */
// XSizeHints hints;