GUI: GuiApi isolation

This commit is contained in:
Aleksandr Kutuzov
2020-10-16 18:25:06 +03:00
parent 491343b683
commit f0800e579f
5 changed files with 22 additions and 29 deletions

View File

@@ -10,7 +10,7 @@
// TODO add mutex to widget ops
struct Widget {
void* gui;
Gui* gui;
bool is_enabled;
WidgetDrawCallback draw_callback;
void* draw_callback_context;