5 protected static const ResourceName LAYOUT =
"{67B0EFBDF7EAFF27}UI/layouts/Menus/ContentBrowser/Tile/WorkshopTile.layout";
7 OverlayWidget m_wWarningOverlay;
10 OverlayWidget m_wDownloadProgressBarOverlay;
11 ProgressBarWidget m_wDownloadProgressBar;
13 ButtonWidget m_wMainActionButton;
14 SCR_ModularButtonComponent m_MainActionButtonComponent0;
17 TextWidget m_wMainActionText;
19 ButtonWidget m_wFavouriteButton;
20 SCR_ModularButtonComponent m_FavouriteButtonComponent0;
24 OverlayWidget m_wBackendSource;
29 OverlayWidget m_wDependencies;
34 OverlayWidget m_wDependent;
39 OverlayWidget m_wRating;
44 FrameWidget m_wFrameName;
47 TextWidget m_wAddonName;
49 FrameWidget m_wFrameAuthor;
52 TextWidget m_wAddonAuthor;
54 ButtonWidget m_wEnableAddonButton;
55 SCR_ModularButtonComponent m_EnableAddonButtonComponent;
59 bool Init(Widget root)
61 m_wWarningOverlay = OverlayWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.ImageAreaSize.ImageAreaOverlay.m_WarningOverlay"));
64 m_wDownloadProgressBarOverlay = OverlayWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.ImageAreaSize.ImageAreaOverlay.DownloadProgressBarSize.m_wDownloadProgressBarOverlay"));
65 m_wDownloadProgressBar = ProgressBarWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.ImageAreaSize.ImageAreaOverlay.DownloadProgressBarSize.m_wDownloadProgressBarOverlay.m_wDownloadProgressBar"));
67 m_wMainActionButton = ButtonWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.ImageAreaSize.ImageAreaOverlay.MainAreaHeaderHorizontalLayout.m_wMainActionButton"));
68 m_MainActionButtonComponent0 = SCR_ModularButtonComponent.Cast(m_wMainActionButton.FindHandler(SCR_ModularButtonComponent));
71 m_wMainActionText = TextWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.ImageAreaSize.ImageAreaOverlay.MainAreaHeaderHorizontalLayout.m_wMainActionButton.MainActionSizeLayout.MainActionOverlay.MainActionHorizontalLayout.m_wMainActionText"));
73 m_wFavouriteButton = ButtonWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.ImageAreaSize.ImageAreaOverlay.MainAreaHeaderHorizontalLayout.m_wFavouriteButton"));
74 m_FavouriteButtonComponent0 = SCR_ModularButtonComponent.Cast(m_wFavouriteButton.FindHandler(SCR_ModularButtonComponent));
78 m_wBackendSource = OverlayWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.ImageAreaSize.ImageAreaOverlay.MainAreaFooterHorizontalLayout.m_wBackendSource"));
83 m_wDependencies = OverlayWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.ImageAreaSize.ImageAreaOverlay.MainAreaFooterHorizontalLayout.m_wDependencies"));
88 m_wDependent = OverlayWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.ImageAreaSize.ImageAreaOverlay.MainAreaFooterHorizontalLayout.m_wDependent"));
93 m_wRating = OverlayWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.ImageAreaSize.ImageAreaOverlay.MainAreaFooterHorizontalLayout.m_wRating"));
98 m_wFrameName = FrameWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.NameAreaSize.NameAreaOverlay.NameAreaHorizontalLayout.NamesSize.NamesVerticalLayout.m_wFrameName"));
101 m_wAddonName = TextWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.NameAreaSize.NameAreaOverlay.NameAreaHorizontalLayout.NamesSize.NamesVerticalLayout.m_wFrameName.NameWrapper.m_wAddonName"));
103 m_wFrameAuthor = FrameWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.NameAreaSize.NameAreaOverlay.NameAreaHorizontalLayout.NamesSize.NamesVerticalLayout.m_wFrameAuthor"));
106 m_wAddonAuthor = TextWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.NameAreaSize.NameAreaOverlay.NameAreaHorizontalLayout.NamesSize.NamesVerticalLayout.m_wFrameAuthor.AuthorWrapper.m_wAddonAuthor"));
108 m_wEnableAddonButton = ButtonWidget.Cast(root.FindWidget(
"SizeLayoutMain.OverlayMain.VerticalLayoutMain.NameAreaSize.NameAreaOverlay.NameAreaHorizontalLayout.EnableButtonOverlay.m_wEnableAddonButton"));
109 m_EnableAddonButtonComponent = SCR_ModularButtonComponent.Cast(m_wEnableAddonButton.FindHandler(SCR_ModularButtonComponent));
116 ResourceName GetLayout()