1#ifndef GAME_EDITOR_EDITOR_UI_H
2#define GAME_EDITOR_EDITOR_UI_H
3
4#include <game/client/ui_listbox.h>
5
6struct 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// TODO: add and use constants for other special Checked-values in CEditor::GetButtonColor
19namespace EditorButtonChecked
20{
21 [[maybe_unused]] static constexpr int DANGEROUS_ACTION = 9;
22}
23
24namespace EditorFontSizes
25{
26 [[maybe_unused]] static constexpr float MENU = 10.0f;
27}
28
29#endif
30