image widget

many assumptions about X backed were made, to be refined if does not
work properly in some setups
This commit is contained in:
Cedric Roux
2016-05-24 15:38:44 +02:00
parent 50c00218c7
commit d08a2b1a60
9 changed files with 194 additions and 4 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", "TIMELINE", "SPACE"
"XY_PLOT", "BUTTON", "LABEL", "TIMELINE", "SPACE", "IMAGE"
};
const char *widget_name(enum widget_type type)
{
@@ -279,6 +279,7 @@ const char *widget_name(enum widget_type type)
case LABEL:
case TIMELINE:
case SPACE:
case IMAGE:
return names[type];
}
return "UNKNOWN (error)";