GUI timeline widget

This commit is contained in:
Cedric Roux
2016-05-12 17:03:07 +02:00
parent 52fae6a830
commit 944dad4caa
5 changed files with 182 additions and 3 deletions
+2 -1
View File
@@ -265,7 +265,7 @@ void widget_dirty(gui *_gui, widget *_this)
static const char *names[] = {
"TOPLEVEL_WINDOW", "CONTAINER", "POSITIONER", "TEXT_LIST",
"XY_PLOT", "BUTTON", "LABEL"
"XY_PLOT", "BUTTON", "LABEL", "TIMELINE"
};
const char *widget_name(enum widget_type type)
{
@@ -278,6 +278,7 @@ const char *widget_name(enum widget_type type)
case XY_PLOT:
case BUTTON:
case LABEL:
case TIMELINE:
return names[type];
}
return "UNKNOWN (error)";