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:
@@ -31,7 +31,7 @@ extern int volatile gui_logd;
|
||||
|
||||
enum widget_type {
|
||||
TOPLEVEL_WINDOW, CONTAINER, POSITIONER, TEXT_LIST, XY_PLOT, BUTTON, LABEL,
|
||||
TIMELINE, SPACE
|
||||
TIMELINE, SPACE, IMAGE
|
||||
};
|
||||
|
||||
struct widget_list;
|
||||
@@ -154,6 +154,13 @@ struct space_widget {
|
||||
int wanted_height;
|
||||
};
|
||||
|
||||
struct image_widget {
|
||||
struct widget common;
|
||||
int width;
|
||||
int height;
|
||||
void *x; /* opaque X data (type x_image), used in x.c */
|
||||
};
|
||||
|
||||
/*************************************************************************/
|
||||
/* events */
|
||||
/*************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user