summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-08-21 20:49:26 +0200
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-08-21 20:49:26 +0200
commitcdc771255cfab5385b3dae5740db90727efa16ec (patch)
tree3340dac1d2ab387f1dee6d25ecb04f7b7e03c6a6 /src/ui.h
parent8b15c2484287fbf4c6a2b3bbdfb00de211d6e7c4 (diff)
dropdown bug fix, added shadows
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui.h b/src/ui.h
index c4c6d28..8c6dd93 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -151,7 +151,7 @@ typedef struct t_submenu_state
typedef struct t_submenus
{
s32 count;
- submenu_state *submenu_stack[5];
+ submenu_state *submenu_stack[10];
} submenus;
typedef struct t_ui_tooltip
@@ -171,7 +171,7 @@ typedef struct t_ui_context
mouse_input *mouse;
camera *camera;
font *font_small;
- array active_menus;
+ s32 active_menu_id;
u32 next_id;
s32 menu_item_count;
dropdown_state *active_dropdown;