summaryrefslogtreecommitdiff
path: root/src/gui/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widget.h')
-rw-r--r--src/gui/widget.h4
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 );