Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_DownloadManager_CircleProgressIndicatorWidgets.c
Go to the documentation of this file.
2{
3 static const ResourceName s_sLayout = "{1F7E87FEFF13C817}UI/layouts/Menus/MainMenu/CoreMenuHeader_CircleProgressButton.layout";
4 ResourceName GetLayout() { return s_sLayout; }
5
6 ImageWidget m_ProgressCircle;
7
8 ImageWidget m_DownloadDoneImage;
9
10 TextWidget m_QueueSizeText;
11
12 ButtonWidget m_DownloadButton;
13 SCR_ModularButtonComponent m_DownloadButtonComponent;
14
15 bool Init(Widget root)
16 {
17 m_ProgressCircle = ImageWidget.Cast(root.FindAnyWidget("m_ProgressCircle"));
18
19 m_DownloadDoneImage = ImageWidget.Cast(root.FindAnyWidget("m_DownloadDoneImage"));
20
21 m_QueueSizeText = TextWidget.Cast(root.FindAnyWidget("CountText"));
22
23 m_DownloadButton = ButtonWidget.Cast(root.FindAnyWidget("m_DownloadButton"));
24 m_DownloadButtonComponent = SCR_ModularButtonComponent.Cast(m_DownloadButton.FindHandler(SCR_ModularButtonComponent));
25
26 return true;
27 }
28}
override void Init()