Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
earlyaccessmenu.c
Go to the documentation of this file.
1class EarlyAccessMenu extends UIScriptedMenu
2{
3 void EarlyAccessMenu()
4 {
5 }
6
7 void ~EarlyAccessMenu()
8 {
9 }
10
11 override Widget Init()
12 {
13 layoutRoot = GetGame().GetWorkspace().CreateWidgets("gui/layouts/day_z_early_access.layout");
14
15 return layoutRoot;
16 }
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.GetUserID() == IDC_OK)
23 {
24 Close();
25 return true;
26 }
27
28 return false;
29 }
30}
override Widget Init()
Definition bookmenu.c:11
override bool OnClick(Widget w, int x, int y, int button)
Definition bookmenu.c:34
proto native CGame GetGame()
const int IDC_OK
Definition constants.c:135
Icon x
Icon y
void Close()