From c9f0cce6b9e6c50fdda1cb94a6ac1831264ab020 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Sat, 9 Dec 2017 02:37:14 +0100 Subject: Rework of the structure Group --- include/gui/group.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/gui/group.h') 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 @@ #ifndef UPEM_MORPHING_GROUP #define UPEM_MORPHING_GROUP +#include "window.h" + /** * File: group.h */ +typedef struct _GroupElement { + Component *c; + struct _GroupElement *next; +} GroupElement; + typedef struct { Component component; - Component *sub_components; + GroupElement *group_head; } Group; void group_init(Group *group, int padding); -- cgit v1.2.3