space widget, to add some space in the gui

This commit is contained in:
Cedric Roux
2016-05-23 16:18:00 +02:00
parent 25546ae920
commit 50c00218c7
5 changed files with 47 additions and 4 deletions
+2 -2
View File
@@ -265,12 +265,11 @@ void widget_dirty(gui *_gui, widget *_this)
static const char *names[] = {
"TOPLEVEL_WINDOW", "CONTAINER", "POSITIONER", "TEXT_LIST",
"XY_PLOT", "BUTTON", "LABEL", "TIMELINE"
"XY_PLOT", "BUTTON", "LABEL", "TIMELINE", "SPACE"
};
const char *widget_name(enum widget_type type)
{
switch (type) {
default: break;
case TOPLEVEL_WINDOW:
case CONTAINER:
case POSITIONER:
@@ -279,6 +278,7 @@ const char *widget_name(enum widget_type type)
case BUTTON:
case LABEL:
case TIMELINE:
case SPACE:
return names[type];
}
return "UNKNOWN (error)";