Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
uipopupscriptnotify.c
Go to the documentation of this file.
1
class
UIPopupScriptNotify
extends
UIPopupScript
2
{
3
private
ButtonWidget m_BtnOk;
4
private
TextWidget
m_TxtLabel
;
5
6
//================================================
7
// UIPopupScriptNotify
8
//================================================
9
void
UIPopupScriptNotify
(
Widget
wgt)
10
{
11
m_BtnOk
= ButtonWidget.Cast( wgt.FindAnyWidget(
"btn_ppp_notify_ok"
) );
12
m_TxtLabel
=
TextWidget
.Cast( wgt.FindAnyWidget(
"txt_ppp_notify_label"
) );
13
}
14
15
//================================================
16
// OnClick
17
//================================================
18
override
bool
OnClick
(
Widget
w,
int
x
,
int
y
,
int
button)
19
{
20
super.OnClick(w,
x
,
y
, button);
21
22
if
( w ==
m_BtnOk
)
23
{
24
PopupBack
();
25
26
return
true
;
27
}
28
29
return
false
;
30
}
31
32
//================================================
33
// OnClick
34
//================================================
35
void
SetLabelText
(
string
text)
36
{
37
m_TxtLabel
.SetText(text);
38
}
39
}
TextWidget
Definition
enwidgets.c:220
UIPopupScript
Definition
uipopupscript.c:2
UIPopupScript::m_TxtLabel
TextWidget m_TxtLabel
Definition
uipopupscriptnotify.c:4
UIPopupScript::m_BtnOk
ButtonWidget m_BtnOk
Definition
uipopupscriptconfigs.c:3
UIPopupScript::UIPopupScriptNotify
void UIPopupScriptNotify(Widget wgt)
Definition
uipopupscriptnotify.c:9
UIPopupScript::SetLabelText
void SetLabelText(string text)
Definition
uipopupscriptnotify.c:35
UIPopupScript::OnClick
override bool OnClick(Widget w, int x, int y, int button)
Definition
uipopupscriptnotify.c:18
UIPopupScript::PopupBack
UIPopupScript PopupBack()
Definition
uipopupscript.c:37
Widget
Definition
enwidgets.c:190
x
Icon x
y
Icon y
Games
Dayz
scripts
5_mission
gui
sceneeditormenu
uipopupscript
uipopupscriptnotify.c
Generated by
1.17.0