summaryrefslogtreecommitdiff
path: root/src/gui/text_widget.h
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-07-22 09:14:51 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-07-22 09:14:51 +0200
commit95292027625e905080f37f585402f49ec49bc97f (patch)
treefe056d9bc402a38e47fe96afef2376f3f2653bb8 /src/gui/text_widget.h
parent1ac14d73950798e9a867778a2943adfe88557e61 (diff)
downloadabaos-95292027625e905080f37f585402f49ec49bc97f.tar.gz
abaos-95292027625e905080f37f585402f49ec49bc97f.tar.bz2
moved color handling to video driver from generic VGA driver
Diffstat (limited to 'src/gui/text_widget.h')
-rw-r--r--src/gui/text_widget.h2
1 files changed, 1 insertions, 1 deletions
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 );