6 static const ResourceName s_sLayout =
"{7D40DE47A476B49C}UI/layouts/Menus/ContentBrowser/GalleryDialog/ContentBrowser_GalleryDialog.layout";
7 ResourceName GetLayout() {
return s_sLayout; }
9 ButtonWidget m_PrevButton;
10 SCR_ModularButtonComponent m_PrevButtonComponent;
12 OverlayWidget m_BackendImage;
13 SCR_BackendImageComponent m_BackendImageComponent;
15 ButtonWidget m_NextButton;
16 SCR_ModularButtonComponent m_NextButtonComponent;
18 ButtonWidget m_SpinBox;
21 ButtonWidget m_BackButton;
24 ButtonWidget m_CloseButton;
25 SCR_ModularButtonComponent m_CloseButtonComponent;
27 bool Init(Widget root)
29 m_PrevButton = ButtonWidget.Cast(root.FindWidget(
"Overlay.VerticalLayout0.ImageAndButtons.PrevButton.Button"));
30 m_PrevButtonComponent = SCR_ModularButtonComponent.Cast(m_PrevButton.FindHandler(SCR_ModularButtonComponent));
32 m_BackendImage = OverlayWidget.Cast(root.FindWidget(
"Overlay.VerticalLayout0.ImageAndButtons.ImageSize.m_BackendImage"));
33 m_BackendImageComponent = SCR_BackendImageComponent.Cast(
m_BackendImage.FindHandler(SCR_BackendImageComponent));
35 m_NextButton = ButtonWidget.Cast(root.FindWidget(
"Overlay.VerticalLayout0.ImageAndButtons.NextButton.Button"));
36 m_NextButtonComponent = SCR_ModularButtonComponent.Cast(m_NextButton.FindHandler(SCR_ModularButtonComponent));
38 m_SpinBox = ButtonWidget.Cast(root.FindWidget(
"Overlay.VerticalLayout0.m_SpinBox"));
41 m_BackButton = ButtonWidget.Cast(root.FindWidget(
"Overlay.BottomRowFrame.BottomRowFrame.ButtonsLayout.m_BackButton"));
44 m_CloseButton = ButtonWidget.Cast(root.FindWidget(
"Overlay.CloseButtonSize.m_CloseButton"));
45 m_CloseButtonComponent = SCR_ModularButtonComponent.Cast(m_CloseButton.FindHandler(SCR_ModularButtonComponent));