Aurum
0.1.1
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
UiSelector.h
1
#ifndef UI_SELECTOR_H
2
#define UI_SELECTOR_H
3
#include "config.h"
4
5
#include <string>
6
#include <vector>
7
#include <memory>
12
class
UiSelector
{
13
public
:
18
UiSelector
();
23
UiSelector
(
UiSelector
&selector);
24
25
// UiSelector(const UiSelector &src);
26
// UiSelector &operator= (const UiSelector& src);
27
28
public
:
33
UiSelector
*
id
(std::string
text
);
34
39
UiSelector
*
text
(std::string text);
40
45
UiSelector
*
pkg
(std::string text);
46
51
UiSelector
*
type
(std::string text);
52
57
UiSelector
*
style
(std::string text);
58
63
UiSelector
*
depth
(
int
depth
);
64
69
UiSelector
*
depth
(
int
minDepth
,
int
maxDepth
);
70
75
UiSelector
*
minDepth
(
int
depth);
76
81
UiSelector
*
maxDepth
(
int
depth);
82
87
UiSelector
*
isChecked
(
bool
cond);
88
93
UiSelector
*
isCheckable
(
bool
cond);
94
99
UiSelector
*
isClickable
(
bool
cond);
100
105
UiSelector
*
isEnabled
(
bool
cond);
106
111
UiSelector
*
isFocused
(
bool
cond);
112
117
UiSelector
*
isFocusable
(
bool
cond);
118
123
UiSelector
*
isScrollable
(
bool
cond);
124
129
UiSelector
*
isSelected
(
bool
cond);
130
135
UiSelector
*
isShowing
(
bool
cond);
136
141
UiSelector
*
isActive
(
bool
cond);
142
147
UiSelector
*
res
(std::string text);
148
153
UiSelector
*
desc
(std::string text);
154
159
UiSelector
*
hasChild
(std::shared_ptr<UiSelector> child);
160
161
public
:
166
std::unique_ptr<std::string>
mId
;
167
172
std::unique_ptr<std::string>
mText
;
173
178
std::unique_ptr<std::string>
mPkg
;
179
184
std::unique_ptr<std::string>
mType
;
185
190
std::unique_ptr<std::string>
mStyle
;
191
196
std::unique_ptr<int>
mMinDepth
;
197
202
std::unique_ptr<int>
mMaxDepth
;
203
208
std::unique_ptr<bool>
mIschecked
;
209
214
std::unique_ptr<bool>
mIscheckable
;
215
220
std::unique_ptr<bool>
mIsclickable
;
221
226
std::unique_ptr<bool>
mIsenabled
;
227
232
std::unique_ptr<bool>
mIsfocused
;
233
238
std::unique_ptr<bool>
mIsfocusable
;
239
244
std::unique_ptr<bool>
mIsscrollable
;
245
250
std::unique_ptr<bool>
mIsselected
;
251
256
std::unique_ptr<bool>
mIsshowing
;
257
262
std::unique_ptr<bool>
mIsactive
;
263
268
std::unique_ptr<std::string>
mRes
;
269
274
std::unique_ptr<std::string>
mDesc
;
275
280
std::vector<std::shared_ptr<UiSelector>>
mChild
;
281
};
282
283
#endif
libaurum
inc
UiSelector.h
Generated by
1.8.2