6 static const ResourceName s_sLayout =
"{FACCFE81F2C2C1FD}UI/layouts/Menus/ContentBrowser/MainMenu/ContentBrowser_AddonsSubMenuBase.layout";
7 ResourceName GetLayout() {
return s_sLayout; }
9 OverlayWidget m_LeftPanelArea;
11 SizeLayoutWidget m_LeftPanel;
13 HorizontalLayoutWidget m_SortingHeader;
16 GridLayoutWidget m_Grid;
18 HorizontalLayoutWidget m_PagingButtons;
20 ButtonWidget m_PrevPageButton;
23 ButtonWidget m_PrevPageButton_NoScroll;
26 TextWidget m_PageIndicatorText;
28 ButtonWidget m_NextPageButton;
31 ButtonWidget m_NextPageButton_NoScroll;
34 OverlayWidget m_MainPanelMessage;
37 OverlayWidget m_FilterPanel;
40 OverlayWidget m_MainContent;
42 OverlayWidget m_AddonDetailsPanel;
45 SizeLayoutWidget m_EmptyPanel;
47 OverlayWidget m_EmptyPanelMessage;
50 bool Init(Widget root)
52 m_LeftPanelArea = OverlayWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea"));
54 m_LeftPanel = SizeLayoutWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea.m_LeftPanel"));
56 m_SortingHeader = HorizontalLayoutWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea.m_LeftPanel.VerticalLayout0.TopBarHeight.TopBar.Content.m_SortingHeader"));
59 m_Grid = GridLayoutWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea.m_LeftPanel.VerticalLayout0.Content.GridAndPagingButtons.m_Grid"));
61 m_PagingButtons = HorizontalLayoutWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea.m_LeftPanel.VerticalLayout0.Content.GridAndPagingButtons.m_PagingButtons"));
63 m_PrevPageButton = ButtonWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea.m_LeftPanel.VerticalLayout0.Content.GridAndPagingButtons.m_PagingButtons.PrevButton"));
66 m_PrevPageButton_NoScroll = ButtonWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea.m_LeftPanel.VerticalLayout0.Content.GridAndPagingButtons.m_PagingButtons.PrevButton_NoScroll"));
69 m_PageIndicatorText = TextWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea.m_LeftPanel.VerticalLayout0.Content.GridAndPagingButtons.m_PagingButtons.Pages"));
71 m_NextPageButton = ButtonWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea.m_LeftPanel.VerticalLayout0.Content.GridAndPagingButtons.m_PagingButtons.NextButton"));
74 m_NextPageButton_NoScroll = ButtonWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea.m_LeftPanel.VerticalLayout0.Content.GridAndPagingButtons.m_PagingButtons.NextButton_NoScroll"));
77 m_MainPanelMessage = OverlayWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_LeftPanelArea.m_LeftPanel.VerticalLayout0.Content.m_MainPanelMessage"));
80 m_FilterPanel = OverlayWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_FilterPanel"));
83 m_MainContent = OverlayWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_FilterPanel.MenuPanel0.VerticalLayout0.Content.m_MainContent"));
85 m_AddonDetailsPanel = OverlayWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_FilterPanel.MenuPanel0.VerticalLayout0.Content.m_MainContent.m_AddonDetailsPanel"));
88 m_EmptyPanel = SizeLayoutWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_EmptyPanel"));
90 m_EmptyPanelMessage = OverlayWidget.Cast(root.FindWidget(
"Size.PanelsHorizontal.m_EmptyPanel.VerticalLayout0.Content.m_EmptyPanelMessage"));