diff options
author | Adam NAILI | 2017-12-09 02:37:14 +0100 |
---|---|---|
committer | Adam NAILI | 2017-12-09 02:37:14 +0100 |
commit | c9f0cce6b9e6c50fdda1cb94a6ac1831264ab020 (patch) | |
tree | 0df3a0fa01a639f74b5f0d73bc8ea12137135ca6 /include/gui/group.h | |
parent | a7e6f8a296b536966cee49f8de105960970d04c5 (diff) | |
download | morpher-c9f0cce6b9e6c50fdda1cb94a6ac1831264ab020.tar.gz |
Rework of the structure Group
Diffstat (limited to 'include/gui/group.h')
-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); |