Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
uipopupscript.c
Go to the documentation of this file.
1
class
UIPopupScript
2
{
3
//================================================
4
// UIPopupScript
5
//================================================
6
void
UIPopupScript
(
Widget
wgt)
7
{
8
m_WgtRoot
= wgt;
9
}
10
11
void
OnOpen
(
Param
param)
12
{
13
}
14
15
void
OnClose
()
16
{
17
}
18
19
void
Show
(
bool
show)
20
{
21
m_WgtRoot
.Show(show);
22
}
23
24
bool
OnClick
(
Widget
w,
int
x
,
int
y
,
int
button)
25
{
26
return
false
;
27
}
28
29
bool
OnChange
(
Widget
w,
int
x
,
int
y
,
bool
finished)
30
{
31
return
false
;
32
}
33
34
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35
// PopupBack
36
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37
protected
UIPopupScript
PopupBack
()
38
{
39
SceneEditorMenu menu = SceneEditorMenu.Cast(
g_Game
.GetUIManager().GetMenu() );
40
return
menu.
PopupBack
();
41
}
42
43
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44
// PopupOpen
45
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
protected
UIPopupScript
PopupOpen
(
int
popup_id,
Param
param)
47
{
48
SceneEditorMenu menu = SceneEditorMenu.Cast(
g_Game
.GetUIManager().GetMenu() );
49
return
menu.
PopupOpen
(popup_id, param);
50
}
51
52
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53
// GetSceneEditor
54
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55
protected
PluginSceneManager
GetSceneEditor
()
56
{
57
PluginSceneManager m = PluginSceneManager.Cast(
GetPlugin
(PluginSceneManager) );
58
return
m;
59
}
60
61
protected
Widget
m_WgtRoot
;
62
}
Param
Base Param Class with no parameters.
Definition
param.c:12
UIPopupScript::OnClose
void OnClose()
Definition
uipopupscript.c:15
UIPopupScript::PopupOpen
UIPopupScript PopupOpen(int popup_id, Param param)
Definition
uipopupscript.c:46
UIPopupScript::Show
void Show(bool show)
Definition
uipopupscript.c:19
UIPopupScript::UIPopupScript
void UIPopupScript(Widget wgt)
Definition
uipopupscript.c:6
UIPopupScript::OnClick
bool OnClick(Widget w, int x, int y, int button)
Definition
uipopupscript.c:24
UIPopupScript::OnChange
bool OnChange(Widget w, int x, int y, bool finished)
Definition
uipopupscript.c:29
UIPopupScript::PopupBack
UIPopupScript PopupBack()
Definition
uipopupscript.c:37
UIPopupScript::GetSceneEditor
PluginSceneManager GetSceneEditor()
Definition
uipopupscript.c:55
UIPopupScript::OnOpen
void OnOpen(Param param)
Definition
uipopupscript.c:11
UIPopupScript::m_WgtRoot
Widget m_WgtRoot
Definition
uipopupscript.c:61
Widget
Definition
enwidgets.c:190
g_Game
DayZGame g_Game
Definition
dayzgame.c:3942
x
Icon x
y
Icon y
GetPlugin
PluginBase GetPlugin(typename plugin_type)
Definition
pluginmanager.c:325
Games
Dayz
scripts
5_mission
gui
sceneeditormenu
uipopupscript.c
Generated by
1.17.0