diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-22 09:14:51 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-22 09:14:51 +0200 |
commit | 95292027625e905080f37f585402f49ec49bc97f (patch) | |
tree | fe056d9bc402a38e47fe96afef2376f3f2653bb8 /src/gui/widget.h | |
parent | 1ac14d73950798e9a867778a2943adfe88557e61 (diff) | |
download | abaos-95292027625e905080f37f585402f49ec49bc97f.tar.gz abaos-95292027625e905080f37f585402f49ec49bc97f.tar.bz2 |
moved color handling to video driver from generic VGA driver
Diffstat (limited to 'src/gui/widget.h')
-rw-r--r-- | src/gui/widget.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |