From 95292027625e905080f37f585402f49ec49bc97f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 22 Jul 2017 09:14:51 +0200 Subject: moved color handling to video driver from generic VGA driver --- src/gui/widget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widget.h') diff --git a/src/gui/widget.h b/src/gui/widget.h index 87b8c62..01ce361 100644 --- a/src/gui/widget.h +++ b/src/gui/widget.h @@ -24,13 +24,13 @@ typedef struct widget_t { int y; int w; int h; - vga_color_t background_color; + video_rgb_color_t background_color; bool focusable; struct widget_t *parent; widget_vtable_t const *vtable; } widget_t; -void widget_init( 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 widget_init( widget_t *widget, widget_t *parent, const int x, const int y, const int w, const int h, const video_rgb_color_t background_color ); void widget_draw( void *obj, graphics_context_t *context ); void widget_get_focus( void *obj, widget_t *widget ); -- cgit v1.2.3-54-g00ecf