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/text_widget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/text_widget.h') diff --git a/src/gui/text_widget.h b/src/gui/text_widget.h index 2604eff..305ec65 100644 --- a/src/gui/text_widget.h +++ b/src/gui/text_widget.h @@ -15,7 +15,7 @@ typedef struct { char s[TEXT_WIDGET_MAX_TEXT_SIZE]; } text_widget_t; -void text_widget_init( text_widget_t *widget, widget_t *parent, const int x, const int y, const int w, const int h, const vga_color_t background_color, const char *s ); +void text_widget_init( text_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, const char *s ); void text_widget_draw( void *obj, graphics_context_t *context ); void text_widget_set_text( void *obj, const char *s ); -- cgit v1.2.3-54-g00ecf