positioner widget - the child is positioned in the middle, does not grow

This commit is contained in:
Cedric Roux
2016-05-04 17:27:32 +02:00
parent a74f865917
commit 16e17d346f
5 changed files with 102 additions and 3 deletions
+5 -1
View File
@@ -30,7 +30,7 @@ extern int volatile gui_logd;
/*************************************************************************/
enum widget_type {
TOPLEVEL_WINDOW, CONTAINER, TEXT_LIST, XY_PLOT, BUTTON, LABEL
TOPLEVEL_WINDOW, CONTAINER, POSITIONER, TEXT_LIST, XY_PLOT, BUTTON, LABEL
};
struct widget_list;
@@ -77,6 +77,10 @@ struct container_widget {
int nchildren;
};
struct positioner_widget {
struct widget common;
};
struct textlist_widget {
struct widget common;
char **text;