6 static const ResourceName s_sLayout =
"{EE039503B1CCD8C6}UI/layouts/Menus/ContentBrowser/DownloadManager/DownloadManagerDialog.layout";
7 ResourceName GetLayout() {
return s_sLayout; }
9 ButtonWidget m_AutoenableAddonsButton;
10 SCR_ModularButtonComponent m_AutoenableAddonsButtonComponent;
12 OverlayWidget m_Overlay;
14 VerticalLayoutWidget m_ProgressContent;
16 ImageWidget m_ProgressIcon;
18 TextWidget m_ProgressText;
20 TextWidget m_StateText;
22 TextWidget m_DownloadSpeed;
24 SizeLayoutWidget m_ProgressBar;
27 RichTextWidget m_DownloadSummaryText;
29 bool Init(Widget root)
31 m_AutoenableAddonsButton = ButtonWidget.Cast(root.FindWidget(
"SizeBase.DialogBase.VerticalLayout.Content.ContentSizeConstraints.ContentVerticalLayout.ContentLayoutContainer.DownloadManagerContent.m_AutoenableAddonsButton"));
32 m_AutoenableAddonsButtonComponent = SCR_ModularButtonComponent.Cast(m_AutoenableAddonsButton.FindHandler(SCR_ModularButtonComponent));
34 m_Overlay = OverlayWidget.Cast(root.FindWidget(
"SizeBase.DialogBase.VerticalLayout.Content.ContentSizeConstraints.ContentVerticalLayout.ContentLayoutContainer.DownloadManagerContent.Progress.m_Overlay"));
36 m_ProgressContent = VerticalLayoutWidget.Cast(root.FindWidget(
"SizeBase.DialogBase.VerticalLayout.Content.ContentSizeConstraints.ContentVerticalLayout.ContentLayoutContainer.DownloadManagerContent.Progress.m_Overlay.m_ProgressContent"));
38 m_ProgressIcon = ImageWidget.Cast(root.FindWidget(
"SizeBase.DialogBase.VerticalLayout.Content.ContentSizeConstraints.ContentVerticalLayout.ContentLayoutContainer.DownloadManagerContent.Progress.m_Overlay.m_ProgressContent.HorizontaTexts.Progress.m_ProgressIcon"));
40 m_ProgressText = TextWidget.Cast(root.FindWidget(
"SizeBase.DialogBase.VerticalLayout.Content.ContentSizeConstraints.ContentVerticalLayout.ContentLayoutContainer.DownloadManagerContent.Progress.m_Overlay.m_ProgressContent.HorizontaTexts.Progress.m_ProgressText"));
42 m_StateText = TextWidget.Cast(root.FindWidget(
"SizeBase.DialogBase.VerticalLayout.Content.ContentSizeConstraints.ContentVerticalLayout.ContentLayoutContainer.DownloadManagerContent.Progress.m_Overlay.m_ProgressContent.HorizontaTexts.m_StateText"));
44 m_DownloadSpeed = TextWidget.Cast(root.FindWidget(
"SizeBase.DialogBase.VerticalLayout.Content.ContentSizeConstraints.ContentVerticalLayout.ContentLayoutContainer.DownloadManagerContent.Progress.m_Overlay.m_ProgressContent.HorizontaTexts.OverlaySpeed.m_DownloadSpeed"));
46 m_ProgressBar = SizeLayoutWidget.Cast(root.FindWidget(
"SizeBase.DialogBase.VerticalLayout.Content.ContentSizeConstraints.ContentVerticalLayout.ContentLayoutContainer.DownloadManagerContent.Progress.m_Overlay.m_ProgressContent.m_ProgressBar"));
49 m_DownloadSummaryText = RichTextWidget.Cast(root.FindWidget(
"SizeBase.DialogBase.VerticalLayout.Content.ContentSizeConstraints.ContentVerticalLayout.ContentLayoutContainer.DownloadManagerContent.SizeSummary.m_DownloadSummaryText"));