6 static const ResourceName s_sLayout =
"{8244E8D2AD01E149}UI/layouts/Menus/ContentBrowser/DetailsMenu/Gallery/ContentBrowser_Gallery.layout";
7 ResourceName GetLayout() {
return s_sLayout; }
9 SizeLayoutWidget m_ImagesHeightSize;
11 ButtonWidget m_NextButton;
12 SCR_ModularButtonComponent m_NextButtonComponent;
14 ButtonWidget m_PrevButton;
15 SCR_ModularButtonComponent m_PrevButtonComponent;
17 ButtonWidget m_SpinBox;
20 bool Init(Widget root)
22 m_ImagesHeightSize = SizeLayoutWidget.Cast(root.FindWidget(
"m_ImagesHeightSize"));
24 m_NextButton = ButtonWidget.Cast(root.FindWidget(
"m_ImagesHeightSize.Overlay.ArrowsOverlay.m_NextButton"));
25 m_NextButtonComponent = SCR_ModularButtonComponent.Cast(m_NextButton.FindHandler(SCR_ModularButtonComponent));
27 m_PrevButton = ButtonWidget.Cast(root.FindWidget(
"m_ImagesHeightSize.Overlay.ArrowsOverlay.m_PrevButton"));
28 m_PrevButtonComponent = SCR_ModularButtonComponent.Cast(m_PrevButton.FindHandler(SCR_ModularButtonComponent));
30 m_SpinBox = ButtonWidget.Cast(root.FindWidget(
"m_SpinBox"));