From 8ad5554529a9f1a6d128582af5aec13c792f0932 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Sun, 10 Dec 2017 18:33:11 +0100 Subject: Update doc and reworking structure and signature of init function for group --- include/gui/group.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/gui/group.h') diff --git a/include/gui/group.h b/include/gui/group.h index b766ded..1887bf6 100644 --- a/include/gui/group.h +++ b/include/gui/group.h @@ -29,13 +29,15 @@ typedef struct _GroupElement { * Parameters: * component - Component used for the Group to catch clicks and handle print to delegate to the components contented in it * *group_head - pointer to the head of the list that regroup all the components contained inside of the group + * padding - padding for all components */ typedef struct { Component component; GroupElement *group_head; + int padding; } Group; -void group_init(Group *group, int padding); +void group_init(Group *group, int width, int height, int x_pos, int y_pos, int padding); void group_free(Group *group); -- cgit v1.2.3