Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_WorkshopAddonBarWidgets.c
Go to the documentation of this file.
2 {
3  static const ResourceName s_sLayout = "{50B16D175FA6FD08}UI/layouts/Menus/ContentBrowser/AddonManager/AddonBar/AddonBar_Refactored.layout";
4  ResourceName GetLayout() { return s_sLayout; }
5 
6  Widget m_wUpdateButton;
7  SCR_CoreMenuHeaderButtonComponent m_UpdateButtonComponent;
8 
9  Widget m_wPresetsButton;
10  SCR_CoreMenuHeaderButtonComponent m_PresetsButtonComponent;
11 
12  bool Init(Widget root)
13  {
14  m_wUpdateButton = root.FindAnyWidget("UpdateButton");
15  m_UpdateButtonComponent = SCR_CoreMenuHeaderButtonComponent.Cast(m_wUpdateButton.FindHandler(SCR_CoreMenuHeaderButtonComponent));
16 
17  m_wPresetsButton = root.FindAnyWidget("PresetsButton");
18  m_PresetsButtonComponent = SCR_CoreMenuHeaderButtonComponent.Cast(m_wPresetsButton.FindHandler(SCR_CoreMenuHeaderButtonComponent));
19 
20  return true;
21  }
22 }
SCR_WorkshopAddonBarWidgets
Definition: SCR_WorkshopAddonBarWidgets.c:1
SCR_CoreMenuHeaderButtonComponent
Helper component for core menu header button prefabs.
Definition: SCR_CoreMenuHeaderButtonComponent.c:2