diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-02 15:16:23 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-02 15:16:23 +0200 |
commit | 4089e006820e1029a2dd7093bae596b1b31d1686 (patch) | |
tree | ce245488b8edecb8e061cae9b5c3433b05b183a9 /src/gui/widget.h | |
parent | 834af201bae182e75f8aab9b5befc1ed8740ef79 (diff) | |
download | abaos-4089e006820e1029a2dd7093bae596b1b31d1686.tar.gz abaos-4089e006820e1029a2dd7093bae596b1b31d1686.tar.bz2 |
simplified some driver manager code around calling virtual driver methods
declared method tables const per class
Diffstat (limited to 'src/gui/widget.h')
-rw-r--r-- | src/gui/widget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widget.h b/src/gui/widget.h index ceb5b71..87b8c62 100644 --- a/src/gui/widget.h +++ b/src/gui/widget.h @@ -27,7 +27,7 @@ typedef struct widget_t { vga_color_t background_color; bool focusable; struct widget_t *parent; - widget_vtable_t *vtable; + 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 ); |