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
+1
View File
@@ -34,6 +34,7 @@ widget *new_textlist(gui *gui, int width, int nlines, int background_color);
widget *new_timeline(gui *gui, int width, int number_of_sublines,
int subline_height);
widget *new_space(gui *gui, int width, int height);
widget *new_image(gui *gui, unsigned char *data, int length);
void label_set_clickable(gui *gui, widget *label, int clickable);