DDraceNetwork Documentation
Loading...
Searching...
No Matches
editor_ui.h
Go to the documentation of this file.
1#ifndef GAME_EDITOR_EDITOR_UI_H
2#define GAME_EDITOR_EDITOR_UI_H
3
5
7{
8 bool m_Visible = false;
9 int m_Selected = -1;
11 bool m_ShortcutUsed = false;
12 bool m_DidBecomeVisible = 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
20[[maybe_unused]] static constexpr int DANGEROUS_ACTION = 9;
21}
22
23namespace EditorFontSizes {
24[[maybe_unused]] static constexpr float MENU = 10.0f;
25}
26
27#endif
Definition ui_listbox.h:17
Definition vmath.h:15
Definition editor_ui.h:19
static constexpr int DANGEROUS_ACTION
Definition editor_ui.h:20
Definition editor_ui.h:23
static constexpr float MENU
Definition editor_ui.h:24
Definition editor_ui.h:7
bool m_ShortcutUsed
Definition editor_ui.h:11
bool m_MousePressedInside
Definition editor_ui.h:13
CListBox m_ListBox
Definition editor_ui.h:10
bool m_ShouldHide
Definition editor_ui.h:14
bool m_DidBecomeVisible
Definition editor_ui.h:12
int m_Width
Definition editor_ui.h:15
int m_Selected
Definition editor_ui.h:9
bool m_Visible
Definition editor_ui.h:8