1 | #ifndef GAME_EDITOR_EDITOR_UI_H |
---|---|
2 | #define GAME_EDITOR_EDITOR_UI_H |
3 | |
4 | #include <game/client/ui_listbox.h> |
5 | |
6 | struct SEditBoxDropdownContext |
7 | { |
8 | bool m_Visible = false; |
9 | int m_Selected = -1; |
10 | CListBox m_ListBox; |
11 | bool m_ShortcutUsed = false; |
12 | bool m_DidBecomeVisible = false; |
13 | bool m_MousePressedInside = false; |
14 | bool m_ShouldHide = false; |
15 | int m_Width = 0; |
16 | }; |
17 | |
18 | namespace EditorFontSizes { |
19 | MAYBE_UNUSED static constexpr float MENU = 10.0f; |
20 | } |
21 | |
22 | #endif |
23 |