Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_StartScenarioDialogWidgets.c
Go to the documentation of this file.
1 // Autogenerated by the Generate Class from Layout plugin, version 0.2.0
2 // Layout file: UI/layouts/Menus/Dialogs/StartScenarioDialog.layout
3 
5 {
6  static const ResourceName s_sLayout = "{D1AE71CF9CF46D25}UI/layouts/Menus/Dialogs/StartScenarioDialog.layout";
7  ResourceName GetLayout() { return s_sLayout; }
8 
9  TextWidget m_ScenarioNameText;
10 
11  ImageWidget m_ScenarioImage;
12 
13  ButtonWidget m_JoinButton;
14  SCR_InputButtonComponent m_JoinButtonComponent;
15 
16  ButtonWidget m_HostButton;
17  SCR_InputButtonComponent m_HostButtonComponent;
18 
19  ButtonWidget m_PlayButton;
20  SCR_InputButtonComponent m_PlayButtonComponent;
21 
22  bool Init(Widget root)
23  {
24  m_ScenarioNameText = TextWidget.Cast(root.FindWidget("DialogBase0.VerticalLayout.Content.VerticalLayout0.m_ScenarioNameText"));
25 
26  m_ScenarioImage = ImageWidget.Cast(root.FindWidget("DialogBase0.VerticalLayout.Content.VerticalLayout0.HorizontalLayout0.m_ScenarioImage"));
27 
28  m_JoinButton = ButtonWidget.Cast(root.FindWidget("DialogBase0.VerticalLayout.Content.VerticalLayout0.HorizontalLayout0.PlayablePC.m_JoinButton"));
29  m_JoinButtonComponent = SCR_InputButtonComponent.Cast(m_JoinButton.FindHandler(SCR_InputButtonComponent));
30 
31  m_HostButton = ButtonWidget.Cast(root.FindWidget("DialogBase0.VerticalLayout.Content.VerticalLayout0.HorizontalLayout0.PlayablePC.m_HostButton"));
32  m_HostButtonComponent = SCR_InputButtonComponent.Cast(m_HostButton.FindHandler(SCR_InputButtonComponent));
33 
34  m_PlayButton = ButtonWidget.Cast(root.FindWidget("DialogBase0.VerticalLayout.Content.VerticalLayout0.HorizontalLayout0.PlayablePC.m_PlayButton"));
35  m_PlayButtonComponent = SCR_InputButtonComponent.Cast(m_PlayButton.FindHandler(SCR_InputButtonComponent));
36 
37  return true;
38  }
39 };
SCR_StartScenarioDialogWidgets
Definition: SCR_StartScenarioDialogWidgets.c:4
SCR_InputButtonComponent
Definition: SCR_InputButtonComponent.c:1