6 static const ResourceName s_sLayout =
"{9790161CE3D20582}UI/layouts/Menus/ContentBrowser/Dialogs/DownloadConfirmationDialogContent.layout";
7 ResourceName GetLayout() {
return s_sLayout; }
9 VerticalLayoutWidget m_MainAddonSection;
11 ButtonWidget m_MainAddonLine;
13 SCR_ModularButtonComponent m_MainAddonLineComponent1;
15 VerticalLayoutWidget m_OtherAddonsSection;
17 TextWidget m_OtherAddonsMessage;
19 VerticalLayoutWidget m_OtherAddonsList;
21 ImageWidget m_UpdateSpacer;
23 TextWidget m_UpdateAddonsMessage;
25 VerticalLayoutWidget m_UpdateAddonsList;
27 HorizontalLayoutWidget m_SummarySection;
29 SizeLayoutWidget m_AddonSizeOverlay;
31 TextWidget m_TotalAddonSizeText;
33 bool Init(Widget root)
35 m_MainAddonSection = VerticalLayoutWidget.Cast(root.FindWidget(
"m_MainAddonSection"));
37 m_MainAddonLine = ButtonWidget.Cast(root.FindWidget(
"m_MainAddonSection.Overlay.m_MainAddonLine"));
39 m_MainAddonLineComponent1 = SCR_ModularButtonComponent.Cast(m_MainAddonLine.FindHandler(SCR_ModularButtonComponent));
41 m_OtherAddonsSection = VerticalLayoutWidget.Cast(root.FindWidget(
"m_OtherAddonsSection"));
43 m_OtherAddonsMessage = TextWidget.Cast(root.FindWidget(
"m_OtherAddonsSection.m_OtherAddonsMessage"));
45 m_OtherAddonsList = VerticalLayoutWidget.Cast(root.FindWidget(
"m_OtherAddonsSection.OtherAddonsScrollSize.Overlay.ScrollLayout.AddonListWrap.m_OtherAddonsList"));
47 m_UpdateSpacer = ImageWidget.Cast(root.FindWidget(
"m_OtherAddonsSection.OtherAddonsScrollSize.Overlay.ScrollLayout.AddonListWrap.m_UpdateSpacer"));
49 m_UpdateAddonsMessage = TextWidget.Cast(root.FindWidget(
"m_OtherAddonsSection.OtherAddonsScrollSize.Overlay.ScrollLayout.AddonListWrap.m_UpdateAddonsMessage"));
51 m_UpdateAddonsList = VerticalLayoutWidget.Cast(root.FindWidget(
"m_OtherAddonsSection.OtherAddonsScrollSize.Overlay.ScrollLayout.AddonListWrap.m_UpdateAddonsList"));
53 m_SummarySection = HorizontalLayoutWidget.Cast(root.FindWidget(
"m_SummarySection"));
55 m_AddonSizeOverlay = SizeLayoutWidget.Cast(root.FindWidget(
"m_SummarySection.m_AddonSizeOverlay"));
57 m_TotalAddonSizeText = TextWidget.Cast(root.FindWidget(
"m_SummarySection.m_AddonSizeOverlay.AddonSizeOverlay.m_TotalAddonSizeText"));