From c8f2689dbeca2bf51d41bbf861c495bb4b0c29ce Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 21 Jun 2017 20:25:27 +0200 Subject: started to rewrite to use the main desktop widget --- src/gui/composite_widget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/composite_widget.c') 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; -- cgit v1.2.3-54-g00ecf