DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
UIPopupScriptNotify.c
См. документацию.
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
}
x
Icon x
y
Icon y
TextWidget
Определения
EnWidgets.c:220
UIPopupScript::OnClick
override bool OnClick(Widget w, int x, int y, int button)
Определения
UIPopupScriptNotify.c:18
UIPopupScript::m_BtnOk
ButtonWidget m_BtnOk
Определения
UIPopupScriptConfigs.c:3
UIPopupScript::PopupBack
UIPopupScript PopupBack()
Определения
UIPopupScript.c:37
UIPopupScript::UIPopupScriptNotify
void UIPopupScriptNotify(Widget wgt)
Определения
UIPopupScriptNotify.c:9
UIPopupScript::m_TxtLabel
TextWidget m_TxtLabel
Определения
UIPopupScriptNotify.c:4
UIPopupScript::SetLabelText
void SetLabelText(string text)
Определения
UIPopupScriptNotify.c:35
UIPopupScript
Определения
UIPopupScript.c:2
Widget
Определения
EnWidgets.c:190
Ishodniki
scripts
5_Mission
GUI
SceneEditorMenu
UIPopupScript
UIPopupScriptNotify.c
Создано системой
1.13.2