diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gui/group.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/gui/group.h b/include/gui/group.h index 6914d55..45ec3b2 100644 --- a/include/gui/group.h +++ b/include/gui/group.h | |||
@@ -1,13 +1,20 @@ | |||
1 | #ifndef UPEM_MORPHING_GROUP | 1 | #ifndef UPEM_MORPHING_GROUP |
2 | #define UPEM_MORPHING_GROUP | 2 | #define UPEM_MORPHING_GROUP |
3 | 3 | ||
4 | #include "window.h" | ||
5 | |||
4 | /** | 6 | /** |
5 | * File: group.h | 7 | * File: group.h |
6 | */ | 8 | */ |
7 | 9 | ||
10 | typedef struct _GroupElement { | ||
11 | Component *c; | ||
12 | struct _GroupElement *next; | ||
13 | } GroupElement; | ||
14 | |||
8 | typedef struct { | 15 | typedef struct { |
9 | Component component; | 16 | Component component; |
10 | Component *sub_components; | 17 | GroupElement *group_head; |
11 | } Group; | 18 | } Group; |
12 | 19 | ||
13 | void group_init(Group *group, int padding); | 20 | void group_init(Group *group, int padding); |