6 static const ResourceName s_sLayout =
"{09A98AEA00EBCD74}UI/layouts/Menus/ContentBrowser/DownloadManager/DownloadManager_MiniDialog.layout";
7 ResourceName GetLayout() {
return s_sLayout; }
9 ButtonWidget m_AutoenableAddonsButton;
10 SCR_ModularButtonComponent m_AutoenableAddonsButtonComponent;
12 VerticalLayoutWidget m_DownloadsList;
14 TextWidget m_NoItemsText;
16 ProgressBarWidget m_ProgressBar;
18 TextWidget m_StateText;
20 HorizontalLayoutWidget m_ProgressOverlay;
22 TextWidget m_ProgressText;
24 ButtonWidget m_BackButton;
27 ButtonWidget m_PauseButton;
30 ButtonWidget m_CancelButton;
33 ButtonWidget m_PauseAllButton;
36 bool Init(Widget root)
38 m_AutoenableAddonsButton = ButtonWidget.Cast(root.FindAnyWidget(
"m_AutoenableAddonsButton"));
39 m_AutoenableAddonsButtonComponent = SCR_ModularButtonComponent.Cast(m_AutoenableAddonsButton.FindHandler(SCR_ModularButtonComponent));
41 m_DownloadsList = VerticalLayoutWidget.Cast(root.FindAnyWidget(
"m_DownloadsList"));
43 m_NoItemsText = TextWidget.Cast(root.FindAnyWidget(
"m_NoItemsText"));
45 m_ProgressBar = ProgressBarWidget.Cast(root.FindAnyWidget(
"m_ProgressBar"));
47 m_StateText = TextWidget.Cast(root.FindAnyWidget(
"m_StateText"));
49 m_ProgressOverlay = HorizontalLayoutWidget.Cast(root.FindWidget(
"m_ProgressOverlay"));
51 m_ProgressText = TextWidget.Cast(root.FindAnyWidget(
"m_ProgressOverlay.m_ProgressText"));
53 m_BackButton = ButtonWidget.Cast(root.FindAnyWidget(
"m_BackButton"));
56 m_PauseButton = ButtonWidget.Cast(root.FindAnyWidget(
"m_PauseButton"));
59 m_CancelButton = ButtonWidget.Cast(root.FindAnyWidget(
"m_CancelButton"));
62 m_PauseAllButton = ButtonWidget.Cast(root.FindAnyWidget(
"m_PauseAllButton"));