summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam NAILI2017-12-09 02:37:14 +0100
committerAdam NAILI2017-12-09 02:37:14 +0100
commitc9f0cce6b9e6c50fdda1cb94a6ac1831264ab020 (patch)
tree0df3a0fa01a639f74b5f0d73bc8ea12137135ca6 /include
parenta7e6f8a296b536966cee49f8de105960970d04c5 (diff)
downloadmorpher-c9f0cce6b9e6c50fdda1cb94a6ac1831264ab020.tar.gz
Rework of the structure Group
Diffstat (limited to 'include')
-rw-r--r--include/gui/group.h9
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
10typedef struct _GroupElement {
11 Component *c;
12 struct _GroupElement *next;
13} GroupElement;
14
8typedef struct { 15typedef struct {
9 Component component; 16 Component component;
10 Component *sub_components; 17 GroupElement *group_head;
11} Group; 18} Group;
12 19
13void group_init(Group *group, int padding); 20void group_init(Group *group, int padding);