Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_DownloadManagerEntryWidgets.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/DownloadManager/DownloadManagerEntry.layout
3 
5 {
6  static const ResourceName s_sLayout = "{FB196DBC0ABA6AE4}UI/layouts/Menus/ContentBrowser/DownloadManager/DownloadManagerEntry.layout";
7  ResourceName GetLayout() { return s_sLayout; }
8 
9  ImageWidget m_AddonImg;
10 
11  TextWidget m_NameText;
12 
13  HorizontalLayoutWidget m_HorizontalButtons;
14 
15  ButtonWidget m_RetryBtn;
16  SCR_ModularButtonComponent m_RetryBtnComponent;
17 
18  ButtonWidget m_CancelBtn;
19  SCR_ModularButtonComponent m_CancelBtnComponent;
20 
21  ButtonWidget m_PauseBtn;
22  SCR_ModularButtonComponent m_PauseBtnComponent;
23 
24  ButtonWidget m_ResumeBtn;
25  SCR_ModularButtonComponent m_ResumeBtnComponent;
26 
27  ImageWidget m_DownloadIcon;
28 
29  ImageWidget m_DownloadIconShadow;
30 
31  ImageWidget m_ProcessingSpinner;
32 
33  TextWidget m_DownloadStateText;
34 
35  TextWidget m_DownloadedText;
36 
37  TextWidget m_VersionText;
38 
39  SizeLayoutWidget m_Progress;
40  SCR_WLibProgressBarComponent m_ProgressComponent;
41 
42  bool Init(Widget root)
43  {
44  m_AddonImg = ImageWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.SizeImg.ScaleImg.m_AddonImg"));
45 
46  m_NameText = TextWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalLayout.m_NameText"));
47 
48  m_HorizontalButtons = HorizontalLayoutWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalLayout.SizeLayout0.m_HorizontalButtons"));
49 
50  m_RetryBtn = ButtonWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalLayout.SizeLayout0.m_HorizontalButtons.m_RetryBtn"));
51  m_RetryBtnComponent = SCR_ModularButtonComponent.Cast(m_RetryBtn.FindHandler(SCR_ModularButtonComponent));
52 
53  m_CancelBtn = ButtonWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalLayout.SizeLayout0.m_HorizontalButtons.m_CancelBtn"));
54  m_CancelBtnComponent = SCR_ModularButtonComponent.Cast(m_CancelBtn.FindHandler(SCR_ModularButtonComponent));
55 
56  m_PauseBtn = ButtonWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalLayout.SizeLayout0.m_HorizontalButtons.m_PauseBtn"));
57  m_PauseBtnComponent = SCR_ModularButtonComponent.Cast(m_PauseBtn.FindHandler(SCR_ModularButtonComponent));
58 
59  m_ResumeBtn = ButtonWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalLayout.SizeLayout0.m_HorizontalButtons.m_ResumeBtn"));
60  m_ResumeBtnComponent = SCR_ModularButtonComponent.Cast(m_ResumeBtn.FindHandler(SCR_ModularButtonComponent));
61 
62  m_DownloadIcon = ImageWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalDownload.DownloadIconOverlay.m_DownloadIcon"));
63 
64  m_DownloadIconShadow = ImageWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalDownload.DownloadIconOverlay.m_DownloadIconShadow"));
65 
66  m_ProcessingSpinner = ImageWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalDownload.DownloadIconOverlay.m_ProcessingSpinner"));
67 
68  m_DownloadStateText = TextWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalDownload.m_DownloadStateText"));
69 
70  m_DownloadedText = TextWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalDownload.m_DownloadedText"));
71 
72  m_VersionText = TextWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.HorizontalDownload.SizeVersion.m_VersionText"));
73 
74  m_Progress = SizeLayoutWidget.Cast(root.FindWidget("SizeLayout.Overlay.HorizontalLayout.VerticalLayout.m_Progress"));
75  m_ProgressComponent = SCR_WLibProgressBarComponent.Cast(m_Progress.FindHandler(SCR_WLibProgressBarComponent));
76 
77  return true;
78  }
79 }
SCR_DownloadManagerEntryWidgets
Definition: SCR_DownloadManagerEntryWidgets.c:4
SCR_WLibProgressBarComponent
Minimalist progress bar.
Definition: SCR_WLibProgressBar.c:3