DayZ
1.24
Loading...
Searching...
No Matches
Private Member Functions
|
List of all members
UIWidget Class Reference
Widget UI system
Private Member Functions
proto
string
GetText
()
proto
native
void
SetText
(
string
str
)
proto
native
void
SetMinMax
(
float
minimum
,
float
maximum
)
proto
native
float
GetMin
()
proto
native
float
GetMax
()
proto
native
float
GetCurrent
()
proto
native
void
SetCurrent
(
float
curr
)
proto
native
float
GetStep
()
proto
native
void
SetStep
(
float
step
)
proto
native
float
GetMin
()
proto
native
float
GetMax
()
proto
native
float
GetCurrent
()
proto
native
void
SetCurrent
(
float
curr
)
proto
native
bool
GetState
()
proto
native
bool
SetState
(
bool
state
)
proto
native
void
SetText
(
string
text
)
proto
void
GetText
(
out
string
text
)
proto
native
void
SetTextOffset
(
float
xoffset
,
float
yoffset
)
proto
native
void
SetTextHorizontalAlignment
(
int
align
)
proto
native
void
SetTextVerticalAlignment
(
int
align
)
proto
native
float
GetTextProportion
()
Get text proportion - ratio between button height and button text height in interval <0,1>
proto
native
void
SetTextProportion
(
float
val
)
Set text proportion - ratio between button height and button text height in interval <0,1>
proto
native
int
AddItem
(
string
item
)
proto
native
void
ClearAll
()
proto
native
void
SetItem
(
int
item
,
string
value
)
proto
native
void
RemoveItem
(
int
item
)
proto
native
int
GetNumItems
()
proto
native
int
SetCurrentItem
(
int
n
)
proto
native
int
GetCurrentItem
()
proto
native
void
SetText
(
string
str
)
proto
native
bool
IsChecked
()
proto
native
void
SetChecked
(
bool
checked
)
proto
native
void
ClearItems
()
proto
native
int
GetNumItems
()
proto
native
void
SelectRow
(
int
row
)
proto
native
int
GetSelectedRow
()
proto
native
void
RemoveRow
(
int
row
)
proto
native
void
EnsureVisible
(
int
row
)
proto
native
void
AddChildAfter
(
Widget
child
,
Widget
after
,
bool
immedUpdate
=
true
)
Detailed Description
Definition at line
347
of file
EnWidgets.c
.
Member Function Documentation
◆
GetCurrent()
proto
native
float
UIWidget::GetCurrent
(
)
private
◆
GetMax()
proto
native
float
UIWidget::GetMax
(
)
private
◆
GetMin()
proto
native
float
UIWidget::GetMin
(
)
private
◆
GetNumItems()
proto
native
int
UIWidget::GetNumItems
(
)
private
◆
SetCurrent()
proto
native
void
UIWidget::SetCurrent
(
float
curr
)
private
◆
SetText()
[1/2]
proto
native
void
UIWidget::SetText
(
string
str
)
private
◆
SetText()
[2/2]
proto
native
void
UIWidget::SetText
(
string
text
)
private
The documentation for this class was generated from the following file:
scripts/1_Core/proto/
EnWidgets.c
UIWidget
Generated by
1.10.0