DDraceNetwork Docs
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
18namespace EditorFontSizes {
19MAYBE_UNUSED static constexpr float MENU = 10.0f;
20}
21
22#endif
Definition: ui_listbox.h:17
Definition: editor_ui.h:18
static MAYBE_UNUSED constexpr float MENU
Definition: editor_ui.h:19
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
#define MAYBE_UNUSED
Definition: system.h:55