diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-08-21 20:49:26 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-08-21 20:49:26 +0200 |
| commit | cdc771255cfab5385b3dae5740db90727efa16ec (patch) | |
| tree | 3340dac1d2ab387f1dee6d25ecb04f7b7e03c6a6 /src/ui.h | |
| parent | 8b15c2484287fbf4c6a2b3bbdfb00de211d6e7c4 (diff) | |
dropdown bug fix, added shadows
Diffstat (limited to 'src/ui.h')
| -rw-r--r-- | src/ui.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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;
|
