diff options
Diffstat (limited to 'src/gui/composite_widget.h')
-rw-r--r-- | src/gui/composite_widget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/composite_widget.h b/src/gui/composite_widget.h index d3ba90a..2b27e32 100644 --- a/src/gui/composite_widget.h +++ b/src/gui/composite_widget.h @@ -16,9 +16,10 @@ typedef struct { widget_t *children[MAX_NOF_WIDGET_CHILDREN]; int nof_children; widget_t *focused_child; + vga_color_t background_color; } composite_widget_t; -void composite_widget_init( composite_widget_t *widget, widget_t *parent, const int x, const int y, const int w, const int h ); +void composite_widget_init( composite_widget_t *widget, widget_t *parent, const int x, const int y, const int w, const int h, const vga_color_t background_color ); void composite_widget_draw( void *obj, graphics_context_t *context ); void composite_widget_get_focus( void *obj, widget_t *widget ); |