DDNet documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
menus_ingame_touch_controls.h
Go to the documentation of this file.
1
#ifndef GAME_CLIENT_COMPONENTS_MENUS_INGAME_TOUCH_CONTROLS_H
2
#define GAME_CLIENT_COMPONENTS_MENUS_INGAME_TOUCH_CONTROLS_H
3
#include <
game/client/component.h
>
4
#include <
game/client/components/touch_controls.h
>
5
#include <
game/client/ui.h
>
6
7
#include <memory>
8
9
class
CMenusIngameTouchControls
:
public
CComponentInterfaces
10
{
11
public
:
12
static
constexpr
const
float
BUTTON_EDITOR_WIDTH
= 700.0f;
13
enum class
EBehaviorType
14
{
15
BIND,
16
BIND_TOGGLE,
17
PREDEFINED,
18
NUM_BEHAVIORS
19
};
20
21
enum class
EPredefinedType
22
{
23
INGAME_MENU,
24
EXTRA_MENU,
25
EMOTICON,
26
SPECTATE,
27
SWAP_ACTION,
28
USE_ACTION,
29
JOYSTICK_ACTION,
30
JOYSTICK_AIM,
31
JOYSTICK_AIM_RELATIVE,
32
JOYSTICK_FIRE,
33
JOYSTICK_HOOK,
34
NUM_PREDEFINEDTYPES
35
};
36
37
// Which menu is selected.
38
enum class
EMenuType
39
{
40
MENU_FILE,
41
MENU_BUTTONS,
42
MENU_SETTINGS,
43
MENU_PREVIEW,
44
NUM_MENUS
45
};
46
EMenuType
m_CurrentMenu
=
EMenuType::MENU_FILE
;
47
48
enum class
ESortType
49
{
50
LABEL,
51
X,
52
Y,
53
W,
54
H,
55
NUM_SORTS
56
};
57
ESortType
m_SortType
=
ESortType::LABEL
;
58
59
enum class
EElementType
60
{
61
LAYOUT,
62
VISIBILITY,
63
BEHAVIOR,
64
NUM_ELEMENTS
65
};
66
EElementType
m_EditElement
=
EElementType::LAYOUT
;
67
68
enum class
EVisibilityType
69
{
70
EXCLUDE,
71
INCLUDE,
72
IGNORE,
73
NUM_VISIBILITIES
74
};
75
std::array<
EVisibilityType
, (size_t)
CTouchControls::EButtonVisibility::NUM_VISIBILITIES
>
m_aCachedVisibilities
;
// 0:-, 1:+, 2:Ignored.
76
77
// Mainly for passing values in popups.
78
CTouchControls::CTouchButton
*
m_pOldSelectedButton
=
nullptr
;
79
CTouchControls::CTouchButton
*
m_pNewSelectedButton
=
nullptr
;
80
81
// Storing everything you are editing.
82
CLineInputNumber
m_InputX
;
83
CLineInputNumber
m_InputY
;
84
CLineInputNumber
m_InputW
;
85
CLineInputNumber
m_InputH
;
86
CTouchControls::EButtonShape
m_CachedShape
;
87
88
EBehaviorType
m_EditBehaviorType
=
EBehaviorType::BIND
;
89
EPredefinedType
m_PredefinedBehaviorType
=
EPredefinedType::EXTRA_MENU
;
90
int
m_CachedExtraMenuNumber
= 0;
91
92
class
CBehaviorElements
93
{
94
public
:
95
CLineInputBuffered<1024>
m_InputCommand
;
96
CLineInputBuffered<1024>
m_InputLabel
;
97
CTouchControls::CBindToggleTouchButtonBehavior::CCommand
m_CachedCommands
;
98
CButtonContainer
m_BindToggleAddButtons
;
99
CButtonContainer
m_BindToggleDeleteButtons
;
100
CButtonContainer
m_aLabelTypeRadios
[(int)
CTouchControls::CButtonLabel::EType::NUM_TYPES
];
101
102
CBehaviorElements
() noexcept;
103
CBehaviorElements
(
CBehaviorElements
&&Other) noexcept;
104
~
CBehaviorElements
();
105
CBehaviorElements
&operator=(
CBehaviorElements
&&Other) noexcept;
106
107
CBehaviorElements
&operator=(const
CBehaviorElements
&) = delete;
108
CBehaviorElements
(const
CBehaviorElements
&Other) = delete;
109
110
std::
string
ParseLabel
(const
char
*pLabel) const;
111
void
UpdateInputs
();
112
void
UpdateLabel
() {
m_CachedCommands
.
m_Label
=
ParseLabel
(
m_InputLabel
.
GetString
()); }
113
void
UpdateCommand
() {
m_CachedCommands
.
m_Command
=
m_InputCommand
.
GetString
(); }
114
void
Reset
();
115
};
116
std::vector<std::unique_ptr<CBehaviorElements>>
m_vBehaviorElements
;
117
118
unsigned
m_ColorActive
= 0;
119
unsigned
m_ColorInactive
= 0;
120
121
// Used for creating ui elements.
122
std::array<
CButtonContainer
, (unsigned)
CTouchControls::EButtonVisibility::NUM_VISIBILITIES
>
m_aVisibilityIds
= {};
123
std::array<
CButtonContainer
, (unsigned)
ESortType::NUM_SORTS
>
m_aSortHeaderIds
= {};
124
std::array<
CButtonContainer
, (unsigned)
EElementType::NUM_ELEMENTS
>
m_aEditElementIds
= {};
125
126
// Functional variables.
127
bool
m_FirstEnter
=
true
;
// Execute something when first opening the editor.
128
bool
m_CloseMenu
=
false
;
// Decide if closing menu after the popup confirm.
129
bool
m_NeedUpdatePreview
=
true
;
// Whether to reload the button being previewed.
130
bool
m_NeedSort
=
true
;
// Whether to sort all previewed buttons.
131
bool
m_NeedFilter
=
false
;
// Whether to exclude some buttons from preview.
132
std::vector<CTouchControls::CTouchButton *>
m_vpButtons
;
133
std::vector<CTouchControls::CTouchButton *>
m_vpMutableButtons
;
134
CLineInputBuffered<1024>
m_FilterInput
;
135
int
m_SelectedPreviewButtonIndex
= -1;
136
137
void
RenderTouchButtonEditor
(
CUIRect
MainView);
138
bool
RenderLayoutSettingBlock
(
CUIRect
Block);
139
bool
RenderBehaviorSettingBlock
(
CUIRect
Block);
140
bool
RenderVisibilitySettingBlock
(
CUIRect
Block);
141
void
RenderTouchButtonBrowser
(
CUIRect
MainView);
142
void
RenderPreviewButton
(
CUIRect
MainView);
143
144
void
RenderSelectingTab
(
CUIRect
SelectingTab);
145
void
RenderConfigSettings
(
CUIRect
MainView);
146
void
RenderPreviewSettings
(
CUIRect
MainView);
147
void
RenderTouchControlsEditor
(
CUIRect
MainView);
148
149
// Confirm, Cancel only decide if saving cached settings.
150
void
DoPopupType
(
CTouchControls::CPopupParam
PopupParam);
151
void
ChangeSelectedButtonWhileHavingUnsavedChanges
()
const
;
152
void
NoSpaceForOverlappingButton
()
const
;
153
void
SelectedButtonNotVisible
();
154
155
// Getter and setters.
156
bool
UnsavedChanges
()
const
;
157
void
SetUnsavedChanges
(
bool
UnsavedChanges
);
158
159
// Convenient functions.
160
bool
CheckCachedSettings
()
const
;
161
void
ResetCachedSettings
();
162
void
CacheAllSettingsFromTarget
(
CTouchControls::CTouchButton
*pTargetButton);
163
void
SaveCachedSettingsToTarget
(
CTouchControls::CTouchButton
*pTargetButton)
const
;
164
void
SetPosInputs
(
CTouchControls::CUnitRect
MyRect);
165
CTouchControls::CUnitRect
GetPosInputs
()
const
;
166
void
InputPosFunction
(
CLineInputNumber
*pInput);
167
void
UpdateSampleButton
();
168
void
ResetButtonPointers
();
169
bool
NewButton
(
CTouchControls::CUnitRect
Rect,
CTouchControls::EButtonShape
Shape);
170
void
ResolveIssues
();
171
int
CalculatePredefinedType
(
const
char
*pType)
const
;
172
std::string
DetermineTouchButtonCommandLabel
(
CTouchControls::CTouchButton
*pButton)
const
;
173
const
char
**
VisibilityNames
()
const
;
174
const
char
**
PredefinedNames
()
const
;
175
const
char
*
HelpMessageForBehaviorType
(
EBehaviorType
Type)
const
;
176
const
char
*
HelpMessageForPredefinedType
(
EPredefinedType
Type)
const
;
177
const
char
*
HelpMessageForVisibilityType
(
CTouchControls::EButtonVisibility
Type)
const
;
178
179
class
CBehaviorFactoryEditor
180
{
181
public
:
182
const
char
*
m_pId
;
183
std::function<std::unique_ptr<CTouchControls::CPredefinedTouchButtonBehavior>()>
m_Factory
;
184
};
185
186
static
const
CBehaviorFactoryEditor
BEHAVIOR_FACTORIES_EDITOR
[11];
187
};
188
189
#endif
CButtonContainer
Definition
ui.h:269
CComponentInterfaces
Definition
component.h:15
CLineInputBuffered
Definition
lineinput.h:202
CLineInputNumber
Definition
lineinput.h:215
CLineInput::GetString
const char * GetString() const
Definition
lineinput.h:133
CMenusIngameTouchControls::CBehaviorElements::UpdateCommand
void UpdateCommand()
Definition
menus_ingame_touch_controls.h:113
CMenusIngameTouchControls::CBehaviorElements::ParseLabel
std::string ParseLabel(const char *pLabel) const
Definition
menus_ingame_touch_controls.cpp:1475
CMenusIngameTouchControls::CBehaviorElements::m_aLabelTypeRadios
CButtonContainer m_aLabelTypeRadios[(int) CTouchControls::CButtonLabel::EType::NUM_TYPES]
Definition
menus_ingame_touch_controls.h:100
CMenusIngameTouchControls::CBehaviorElements::m_BindToggleDeleteButtons
CButtonContainer m_BindToggleDeleteButtons
Definition
menus_ingame_touch_controls.h:99
CMenusIngameTouchControls::CBehaviorElements::CBehaviorElements
CBehaviorElements() noexcept
Definition
menus_ingame_touch_controls.cpp:1492
CMenusIngameTouchControls::CBehaviorElements::m_BindToggleAddButtons
CButtonContainer m_BindToggleAddButtons
Definition
menus_ingame_touch_controls.h:98
CMenusIngameTouchControls::CBehaviorElements::Reset
void Reset()
Definition
menus_ingame_touch_controls.cpp:1526
CMenusIngameTouchControls::CBehaviorElements::m_InputLabel
CLineInputBuffered< 1024 > m_InputLabel
Definition
menus_ingame_touch_controls.h:96
CMenusIngameTouchControls::CBehaviorElements::UpdateLabel
void UpdateLabel()
Definition
menus_ingame_touch_controls.h:112
CMenusIngameTouchControls::CBehaviorElements::m_InputCommand
CLineInputBuffered< 1024 > m_InputCommand
Definition
menus_ingame_touch_controls.h:95
CMenusIngameTouchControls::CBehaviorElements::UpdateInputs
void UpdateInputs()
Definition
menus_ingame_touch_controls.cpp:1520
CMenusIngameTouchControls::CBehaviorElements::m_CachedCommands
CTouchControls::CBindToggleTouchButtonBehavior::CCommand m_CachedCommands
Definition
menus_ingame_touch_controls.h:97
CMenusIngameTouchControls::CBehaviorFactoryEditor
Definition
menus_ingame_touch_controls.h:180
CMenusIngameTouchControls::CBehaviorFactoryEditor::m_pId
const char * m_pId
Definition
menus_ingame_touch_controls.h:182
CMenusIngameTouchControls::CBehaviorFactoryEditor::m_Factory
std::function< std::unique_ptr< CTouchControls::CPredefinedTouchButtonBehavior >()> m_Factory
Definition
menus_ingame_touch_controls.h:183
CMenusIngameTouchControls
Definition
menus_ingame_touch_controls.h:10
CMenusIngameTouchControls::DoPopupType
void DoPopupType(CTouchControls::CPopupParam PopupParam)
Definition
menus_ingame_touch_controls.cpp:1137
CMenusIngameTouchControls::ResetButtonPointers
void ResetButtonPointers()
Definition
menus_ingame_touch_controls.cpp:1383
CMenusIngameTouchControls::m_SelectedPreviewButtonIndex
int m_SelectedPreviewButtonIndex
Definition
menus_ingame_touch_controls.h:135
CMenusIngameTouchControls::ResetCachedSettings
void ResetCachedSettings()
Definition
menus_ingame_touch_controls.cpp:1220
CMenusIngameTouchControls::m_InputX
CLineInputNumber m_InputX
Definition
menus_ingame_touch_controls.h:82
CMenusIngameTouchControls::m_EditElement
EElementType m_EditElement
Definition
menus_ingame_touch_controls.h:66
CMenusIngameTouchControls::m_pNewSelectedButton
CTouchControls::CTouchButton * m_pNewSelectedButton
Definition
menus_ingame_touch_controls.h:79
CMenusIngameTouchControls::m_vpButtons
std::vector< CTouchControls::CTouchButton * > m_vpButtons
Definition
menus_ingame_touch_controls.h:132
CMenusIngameTouchControls::InputPosFunction
void InputPosFunction(CLineInputNumber *pInput)
Definition
menus_ingame_touch_controls.cpp:1365
CMenusIngameTouchControls::CheckCachedSettings
bool CheckCachedSettings() const
Definition
menus_ingame_touch_controls.cpp:1182
CMenusIngameTouchControls::m_InputH
CLineInputNumber m_InputH
Definition
menus_ingame_touch_controls.h:85
CMenusIngameTouchControls::RenderTouchButtonEditor
void RenderTouchButtonEditor(CUIRect MainView)
Definition
menus_ingame_touch_controls.cpp:48
CMenusIngameTouchControls::m_CachedShape
CTouchControls::EButtonShape m_CachedShape
Definition
menus_ingame_touch_controls.h:86
CMenusIngameTouchControls::SetUnsavedChanges
void SetUnsavedChanges(bool UnsavedChanges)
Definition
menus_ingame_touch_controls.cpp:1176
CMenusIngameTouchControls::m_CurrentMenu
EMenuType m_CurrentMenu
Definition
menus_ingame_touch_controls.h:46
CMenusIngameTouchControls::m_EditBehaviorType
EBehaviorType m_EditBehaviorType
Definition
menus_ingame_touch_controls.h:88
CMenusIngameTouchControls::m_aEditElementIds
std::array< CButtonContainer,(unsigned) EElementType::NUM_ELEMENTS > m_aEditElementIds
Definition
menus_ingame_touch_controls.h:124
CMenusIngameTouchControls::m_NeedFilter
bool m_NeedFilter
Definition
menus_ingame_touch_controls.h:131
CMenusIngameTouchControls::m_NeedSort
bool m_NeedSort
Definition
menus_ingame_touch_controls.h:130
CMenusIngameTouchControls::m_NeedUpdatePreview
bool m_NeedUpdatePreview
Definition
menus_ingame_touch_controls.h:129
CMenusIngameTouchControls::RenderTouchControlsEditor
void RenderTouchControlsEditor(CUIRect MainView)
Definition
menus_ingame_touch_controls.cpp:1043
CMenusIngameTouchControls::GetPosInputs
CTouchControls::CUnitRect GetPosInputs() const
Definition
menus_ingame_touch_controls.cpp:1359
CMenusIngameTouchControls::m_InputY
CLineInputNumber m_InputY
Definition
menus_ingame_touch_controls.h:83
CMenusIngameTouchControls::UpdateSampleButton
void UpdateSampleButton()
Definition
menus_ingame_touch_controls.cpp:1375
CMenusIngameTouchControls::m_CloseMenu
bool m_CloseMenu
Definition
menus_ingame_touch_controls.h:128
CMenusIngameTouchControls::m_pOldSelectedButton
CTouchControls::CTouchButton * m_pOldSelectedButton
Definition
menus_ingame_touch_controls.h:78
CMenusIngameTouchControls::m_ColorActive
unsigned m_ColorActive
Definition
menus_ingame_touch_controls.h:118
CMenusIngameTouchControls::m_aCachedVisibilities
std::array< EVisibilityType,(size_t) CTouchControls::EButtonVisibility::NUM_VISIBILITIES > m_aCachedVisibilities
Definition
menus_ingame_touch_controls.h:75
CMenusIngameTouchControls::HelpMessageForPredefinedType
const char * HelpMessageForPredefinedType(EPredefinedType Type) const
Definition
menus_ingame_touch_controls.cpp:1578
CMenusIngameTouchControls::m_InputW
CLineInputNumber m_InputW
Definition
menus_ingame_touch_controls.h:84
CMenusIngameTouchControls::SelectedButtonNotVisible
void SelectedButtonNotVisible()
Definition
menus_ingame_touch_controls.cpp:1164
CMenusIngameTouchControls::m_aSortHeaderIds
std::array< CButtonContainer,(unsigned) ESortType::NUM_SORTS > m_aSortHeaderIds
Definition
menus_ingame_touch_controls.h:123
CMenusIngameTouchControls::m_ColorInactive
unsigned m_ColorInactive
Definition
menus_ingame_touch_controls.h:119
CMenusIngameTouchControls::PredefinedNames
const char ** PredefinedNames() const
Definition
menus_ingame_touch_controls.cpp:1548
CMenusIngameTouchControls::EBehaviorType
EBehaviorType
Definition
menus_ingame_touch_controls.h:14
CMenusIngameTouchControls::EBehaviorType::BIND
@ BIND
Definition
menus_ingame_touch_controls.h:15
CMenusIngameTouchControls::CacheAllSettingsFromTarget
void CacheAllSettingsFromTarget(CTouchControls::CTouchButton *pTargetButton)
Definition
menus_ingame_touch_controls.cpp:1237
CMenusIngameTouchControls::RenderVisibilitySettingBlock
bool RenderVisibilitySettingBlock(CUIRect Block)
Definition
menus_ingame_touch_controls.cpp:559
CMenusIngameTouchControls::RenderConfigSettings
void RenderConfigSettings(CUIRect MainView)
Definition
menus_ingame_touch_controls.cpp:921
CMenusIngameTouchControls::EMenuType
EMenuType
Definition
menus_ingame_touch_controls.h:39
CMenusIngameTouchControls::EMenuType::MENU_FILE
@ MENU_FILE
Definition
menus_ingame_touch_controls.h:40
CMenusIngameTouchControls::RenderTouchButtonBrowser
void RenderTouchButtonBrowser(CUIRect MainView)
Definition
menus_ingame_touch_controls.cpp:634
CMenusIngameTouchControls::NewButton
bool NewButton(CTouchControls::CUnitRect Rect, CTouchControls::EButtonShape Shape)
Definition
menus_ingame_touch_controls.cpp:1389
CMenusIngameTouchControls::ESortType
ESortType
Definition
menus_ingame_touch_controls.h:49
CMenusIngameTouchControls::ESortType::NUM_SORTS
@ NUM_SORTS
Definition
menus_ingame_touch_controls.h:55
CMenusIngameTouchControls::ESortType::LABEL
@ LABEL
Definition
menus_ingame_touch_controls.h:50
CMenusIngameTouchControls::ResolveIssues
void ResolveIssues()
Definition
menus_ingame_touch_controls.cpp:1404
CMenusIngameTouchControls::RenderPreviewButton
void RenderPreviewButton(CUIRect MainView)
CMenusIngameTouchControls::m_aVisibilityIds
std::array< CButtonContainer,(unsigned) CTouchControls::EButtonVisibility::NUM_VISIBILITIES > m_aVisibilityIds
Definition
menus_ingame_touch_controls.h:122
CMenusIngameTouchControls::m_CachedExtraMenuNumber
int m_CachedExtraMenuNumber
Definition
menus_ingame_touch_controls.h:90
CMenusIngameTouchControls::m_FilterInput
CLineInputBuffered< 1024 > m_FilterInput
Definition
menus_ingame_touch_controls.h:134
CMenusIngameTouchControls::m_vBehaviorElements
std::vector< std::unique_ptr< CBehaviorElements > > m_vBehaviorElements
Definition
menus_ingame_touch_controls.h:116
CMenusIngameTouchControls::RenderBehaviorSettingBlock
bool RenderBehaviorSettingBlock(CUIRect Block)
Definition
menus_ingame_touch_controls.cpp:276
CMenusIngameTouchControls::SaveCachedSettingsToTarget
void SaveCachedSettingsToTarget(CTouchControls::CTouchButton *pTargetButton) const
Definition
menus_ingame_touch_controls.cpp:1304
CMenusIngameTouchControls::ChangeSelectedButtonWhileHavingUnsavedChanges
void ChangeSelectedButtonWhileHavingUnsavedChanges() const
Definition
menus_ingame_touch_controls.cpp:1152
CMenusIngameTouchControls::m_SortType
ESortType m_SortType
Definition
menus_ingame_touch_controls.h:57
CMenusIngameTouchControls::HelpMessageForBehaviorType
const char * HelpMessageForBehaviorType(EBehaviorType Type) const
Definition
menus_ingame_touch_controls.cpp:1566
CMenusIngameTouchControls::BEHAVIOR_FACTORIES_EDITOR
static const CBehaviorFactoryEditor BEHAVIOR_FACTORIES_EDITOR[11]
Definition
menus_ingame_touch_controls.h:35
CMenusIngameTouchControls::m_FirstEnter
bool m_FirstEnter
Definition
menus_ingame_touch_controls.h:127
CMenusIngameTouchControls::m_vpMutableButtons
std::vector< CTouchControls::CTouchButton * > m_vpMutableButtons
Definition
menus_ingame_touch_controls.h:133
CMenusIngameTouchControls::SetPosInputs
void SetPosInputs(CTouchControls::CUnitRect MyRect)
Definition
menus_ingame_touch_controls.cpp:1351
CMenusIngameTouchControls::CalculatePredefinedType
int CalculatePredefinedType(const char *pType) const
Definition
menus_ingame_touch_controls.cpp:1430
CMenusIngameTouchControls::RenderLayoutSettingBlock
bool RenderLayoutSettingBlock(CUIRect Block)
Definition
menus_ingame_touch_controls.cpp:195
CMenusIngameTouchControls::NoSpaceForOverlappingButton
void NoSpaceForOverlappingButton() const
Definition
menus_ingame_touch_controls.cpp:1159
CMenusIngameTouchControls::RenderSelectingTab
void RenderSelectingTab(CUIRect SelectingTab)
Definition
menus_ingame_touch_controls.cpp:900
CMenusIngameTouchControls::EElementType
EElementType
Definition
menus_ingame_touch_controls.h:60
CMenusIngameTouchControls::EElementType::NUM_ELEMENTS
@ NUM_ELEMENTS
Definition
menus_ingame_touch_controls.h:64
CMenusIngameTouchControls::EElementType::LAYOUT
@ LAYOUT
Definition
menus_ingame_touch_controls.h:61
CMenusIngameTouchControls::BUTTON_EDITOR_WIDTH
static constexpr const float BUTTON_EDITOR_WIDTH
Definition
menus_ingame_touch_controls.h:12
CMenusIngameTouchControls::UnsavedChanges
bool UnsavedChanges() const
Definition
menus_ingame_touch_controls.cpp:1171
CMenusIngameTouchControls::EVisibilityType
EVisibilityType
Definition
menus_ingame_touch_controls.h:69
CMenusIngameTouchControls::HelpMessageForVisibilityType
const char * HelpMessageForVisibilityType(CTouchControls::EButtonVisibility Type) const
Definition
menus_ingame_touch_controls.cpp:1598
CMenusIngameTouchControls::VisibilityNames
const char ** VisibilityNames() const
Definition
menus_ingame_touch_controls.cpp:1533
CMenusIngameTouchControls::m_PredefinedBehaviorType
EPredefinedType m_PredefinedBehaviorType
Definition
menus_ingame_touch_controls.h:89
CMenusIngameTouchControls::RenderPreviewSettings
void RenderPreviewSettings(CUIRect MainView)
Definition
menus_ingame_touch_controls.cpp:983
CMenusIngameTouchControls::EPredefinedType
EPredefinedType
Definition
menus_ingame_touch_controls.h:22
CMenusIngameTouchControls::EPredefinedType::EXTRA_MENU
@ EXTRA_MENU
Definition
menus_ingame_touch_controls.h:24
CMenusIngameTouchControls::DetermineTouchButtonCommandLabel
std::string DetermineTouchButtonCommandLabel(CTouchControls::CTouchButton *pButton) const
Definition
menus_ingame_touch_controls.cpp:1442
CTouchControls::CBindToggleTouchButtonBehavior::CCommand
Definition
touch_controls.h:474
CTouchControls::CBindToggleTouchButtonBehavior::CCommand::m_Label
std::string m_Label
Definition
touch_controls.h:476
CTouchControls::CBindToggleTouchButtonBehavior::CCommand::m_Command
std::string m_Command
Definition
touch_controls.h:478
CTouchControls::CButtonLabel::EType::NUM_TYPES
@ NUM_TYPES
Definition
touch_controls.h:139
CTouchControls::CPopupParam
Definition
touch_controls.h:690
CTouchControls::CTouchButton
Definition
touch_controls.h:184
CTouchControls::CUnitRect
Definition
touch_controls.h:76
CTouchControls::EButtonShape
EButtonShape
Definition
touch_controls.h:112
CTouchControls::EButtonVisibility
EButtonVisibility
Definition
touch_controls.h:94
CTouchControls::EButtonVisibility::NUM_VISIBILITIES
@ NUM_VISIBILITIES
Definition
touch_controls.h:107
CUIRect
Definition
ui_rect.h:12
component.h
touch_controls.h
ui.h
src
game
client
components
menus_ingame_touch_controls.h
Generated by
1.18.0