Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AddonLinePresetWidgets.c
Go to the documentation of this file.
1 // Autogenerated by the Generate Class from Layout plugin, version 0.3.0
2 // Layout file: UI/layouts/Menus/ContentBrowser/AddonManager/AddonsTools/AddonsPresets/AddonLinePreset.layout
3 
5 {
6  static const ResourceName s_sLayout = "{35576491614D20E5}UI/layouts/Menus/ContentBrowser/AddonManager/AddonsTools/AddonsPresets/AddonLinePreset.layout";
7  ResourceName GetLayout() { return s_sLayout; }
8 
9  ImageWidget m_LineBackground;
10 
11  TextWidget m_TxtAddonsCount;
12 
13  ButtonWidget m_EditName;
14  SCR_EditBoxComponent m_EditNameComponent;
15 
16  TextWidget m_NameText;
17 
18  SizeLayoutWidget m_SizeWarning;
19 
20  ButtonWidget m_EditNameButton;
21  SCR_ModularButtonComponent m_EditNameButtonComponent;
22 
23  ButtonWidget m_DeleteButton;
24  SCR_ModularButtonComponent m_DeleteButtonComponent;
25 
26  ButtonWidget m_OverrideButton;
27  SCR_ModularButtonComponent m_OverrideButtonComponent;
28 
29  ButtonWidget m_LoadButton;
30  SCR_ModularButtonComponent m_LoadButtonComponent;
31 
32  bool Init(Widget root)
33  {
34  m_LineBackground = ImageWidget.Cast(root.FindWidget("LineHeight.Overlay.LineContent.m_LineBackground"));
35 
36  m_TxtAddonsCount = TextWidget.Cast(root.FindWidget("LineHeight.Overlay.LineContent.LineElements.SizeAddons.HorizontalAddons.m_TxtAddonsCount"));
37 
38  m_EditName = ButtonWidget.Cast(root.FindWidget("LineHeight.Overlay.LineContent.LineElements.OverlayName.m_EditName"));
39  m_EditNameComponent = SCR_EditBoxComponent.Cast(m_EditName.FindHandler(SCR_EditBoxComponent));
40 
41  m_NameText = TextWidget.Cast(root.FindWidget("LineHeight.Overlay.LineContent.LineElements.OverlayName.HorizontalName.m_NameText"));
42 
43  m_SizeWarning = SizeLayoutWidget.Cast(root.FindWidget("LineHeight.Overlay.LineContent.LineElements.m_SizeWarning"));
44 
45  m_EditNameButton = ButtonWidget.Cast(root.FindWidget("LineHeight.Overlay.LineContent.LineElements.m_EditNameButton"));
46  m_EditNameButtonComponent = SCR_ModularButtonComponent.Cast(m_EditNameButton.FindHandler(SCR_ModularButtonComponent));
47 
48  m_DeleteButton = ButtonWidget.Cast(root.FindWidget("LineHeight.Overlay.LineContent.LineElements.m_DeleteButton"));
49  m_DeleteButtonComponent = SCR_ModularButtonComponent.Cast(m_DeleteButton.FindHandler(SCR_ModularButtonComponent));
50 
51  m_OverrideButton = ButtonWidget.Cast(root.FindWidget("LineHeight.Overlay.LineContent.LineElements.m_OverrideButton"));
52  m_OverrideButtonComponent = SCR_ModularButtonComponent.Cast(m_OverrideButton.FindHandler(SCR_ModularButtonComponent));
53 
54  m_LoadButton = ButtonWidget.Cast(root.FindWidget("LineHeight.Overlay.LineContent.LineElements.m_LoadButton"));
55  m_LoadButtonComponent = SCR_ModularButtonComponent.Cast(m_LoadButton.FindHandler(SCR_ModularButtonComponent));
56 
57  return true;
58  }
59 }
SCR_AddonLinePresetWidgets
Definition: SCR_AddonLinePresetWidgets.c:4
SCR_EditBoxComponent
Definition: SCR_EditBoxComponent.c:8