6 static const ResourceName s_sLayout =
"{7B1ED366AEC5F761}UI/layouts/Menus/ContentBrowser/ScenariosMenu/ContentBrowser_ScenarioSubMenu.layout";
7 ResourceName GetLayout() {
return s_sLayout; }
9 SizeLayoutWidget m_LeftPanel;
11 HorizontalLayoutWidget m_SortingHeader;
14 ScrollLayoutWidget m_ScenarioScroll;
17 VerticalLayoutWidget m_ScenarioList;
19 OverlayWidget m_MainPanelMessage;
22 OverlayWidget m_FilterPanel;
25 OverlayWidget m_MainContent;
27 OverlayWidget m_ScenarioDetailsPanel;
30 SizeLayoutWidget m_EmptyPanel;
32 OverlayWidget m_EmptyPanelMessage;
35 bool Init(Widget root)
37 m_LeftPanel = SizeLayoutWidget.Cast(root.FindWidget(
"Panels.m_LeftPanel"));
39 m_SortingHeader = HorizontalLayoutWidget.Cast(root.FindWidget(
"Panels.m_LeftPanel.VerticalLayout0.TopBarHeight.TopBar.Content.m_SortingHeader"));
42 m_ScenarioScroll = ScrollLayoutWidget.Cast(root.FindWidget(
"Panels.m_LeftPanel.VerticalLayout0.Content.m_ScenarioScroll"));
45 m_ScenarioList = VerticalLayoutWidget.Cast(root.FindWidget(
"Panels.m_LeftPanel.VerticalLayout0.Content.m_ScenarioScroll.m_ScenarioList"));
47 m_MainPanelMessage = OverlayWidget.Cast(root.FindWidget(
"Panels.m_LeftPanel.VerticalLayout0.Content.m_MainPanelMessage"));
50 m_FilterPanel = OverlayWidget.Cast(root.FindWidget(
"Panels.m_FilterPanel"));
53 m_MainContent = OverlayWidget.Cast(root.FindWidget(
"Panels.m_FilterPanel.MenuPanel0.VerticalLayout0.Content.m_MainContent"));
55 m_ScenarioDetailsPanel = OverlayWidget.Cast(root.FindWidget(
"Panels.m_FilterPanel.MenuPanel0.VerticalLayout0.Content.m_MainContent.m_ScenarioDetailsPanel"));
58 m_EmptyPanel = SizeLayoutWidget.Cast(root.FindWidget(
"Panels.m_EmptyPanel"));
60 m_EmptyPanelMessage = OverlayWidget.Cast(root.FindWidget(
"Panels.m_EmptyPanel.VerticalLayout0.Content.m_EmptyPanelMessage"));