5 protected static const ResourceName LAYOUT =
"{CB5B93884BFE5954}UI/layouts/Menus/Common/DetailsPanel/ContentDetailsPanelBase.layout";
7 SizeLayoutWidget m_wTopSize;
8 OverlayWidget m_wBackendImage;
11 ButtonWidget m_wLoadingOverlay;
15 ImageWidget m_wBackgroundImage;
17 ImageWidget m_wAnimationImage;
22 OverlayWidget m_wWarningOverlay;
25 HorizontalLayoutWidget m_wTypeOverlay;
26 HorizontalLayoutWidget m_wTypeImages;
27 FrameWidget m_wMainArea;
28 ImageWidget m_wNameImg;
29 TextWidget m_wNameText;
30 TextWidget m_wAuthorNameText;
31 TextWidget m_wDescriptionText;
32 OverlayWidget m_wAdditionalInfo;
35 bool Init(Widget root)
37 m_wTopSize = SizeLayoutWidget.Cast(root.FindWidget(
"m_TopSize"));
38 m_wBackendImage = OverlayWidget.Cast(root.FindWidget(
"m_TopSize.m_BackendImage"));
39 m_wImage = ImageWidget.Cast(root.FindWidget(
"m_TopSize.m_BackendImage.ImageScale.m_Image"));
41 m_wLoadingOverlay = ButtonWidget.Cast(root.FindWidget(
"m_TopSize.m_BackendImage.m_LoadingOverlay"));
44 m_wBlur = BlurWidget.Cast(root.FindWidget(
"m_TopSize.m_BackendImage.m_LoadingOverlay.loadingOverlayRoot1.m_Blur"));
45 m_wBackgroundImage = ImageWidget.Cast(root.FindWidget(
"m_TopSize.m_BackendImage.m_LoadingOverlay.loadingOverlayRoot1.m_BackgroundImage"));
47 m_wAnimationImage = ImageWidget.Cast(root.FindWidget(
"m_TopSize.m_BackendImage.m_LoadingOverlay.loadingOverlayRoot1.m_AnimationImage"));
50 m_wText = TextWidget.Cast(root.FindWidget(
"m_TopSize.m_BackendImage.m_LoadingOverlay.loadingOverlayRoot1.m_Text"));
52 m_wWarningOverlay = OverlayWidget.Cast(root.FindWidget(
"m_TopSize.m_BackendImage.m_WarningOverlay"));
55 m_wTypeOverlay = HorizontalLayoutWidget.Cast(root.FindWidget(
"m_TopSize.m_BackendImage.m_TypeOverlay"));
56 m_wTypeImages = HorizontalLayoutWidget.Cast(root.FindWidget(
"m_TopSize.m_BackendImage.m_TypeOverlay.m_TypeImages"));
57 m_wMainArea = FrameWidget.Cast(root.FindWidget(
"Bottom.m_MainArea"));
58 m_wNameImg = ImageWidget.Cast(root.FindWidget(
"Bottom.m_MainArea.Offset.HeaderSize.HeaderHorizontalLayout.m_NameImg"));
59 m_wNameText = TextWidget.Cast(root.FindWidget(
"Bottom.m_MainArea.Offset.HeaderSize.HeaderHorizontalLayout.m_NameText"));
60 m_wAuthorNameText = TextWidget.Cast(root.FindWidget(
"Bottom.m_MainArea.Offset.AuthorSize.m_AuthorNameText"));
61 m_wDescriptionText = TextWidget.Cast(root.FindWidget(
"Bottom.m_MainArea.Offset.m_DescriptionText"));
62 m_wAdditionalInfo = OverlayWidget.Cast(root.FindWidget(
"Bottom.m_MainArea.Offset.m_AdditionalInfo"));
68 ResourceName GetLayout()