diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-21 20:25:27 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-21 20:25:27 +0200 |
commit | c8f2689dbeca2bf51d41bbf861c495bb4b0c29ce (patch) | |
tree | 4d50fcd52ce35f58a686f14055e2d198b66a41e7 /src/gui/composite_widget.c | |
parent | ed983944d6d00a055ff90f04f6f1e12aca87bb86 (diff) | |
download | abaos-c8f2689dbeca2bf51d41bbf861c495bb4b0c29ce.tar.gz abaos-c8f2689dbeca2bf51d41bbf861c495bb4b0c29ce.tar.bz2 |
started to rewrite to use the main desktop widget
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; |