diff options
Diffstat (limited to 'src/gui/composite_widget.c')
-rw-r--r-- | src/gui/composite_widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/composite_widget.c b/src/gui/composite_widget.c index afef28c..9f2d1c1 100644 --- a/src/gui/composite_widget.c +++ b/src/gui/composite_widget.c @@ -18,11 +18,11 @@ static composite_widget_vtable_t composite_widget_vtable = { composite_widget_add_child }; -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 ) { memset( widget, 0, sizeof( composite_widget_t ) ); - widget_init( &widget->base, parent, x, y, w, h ); + widget_init( &widget->base, parent, x, y, w, h, background_color ); widget->nof_children = 0; widget->focused_child = NULL; |