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