3 static const ResourceName s_sLayout =
"{1F7E87FEFF13C817}UI/layouts/Menus/MainMenu/CoreMenuHeader_CircleProgressButton.layout";
4 ResourceName GetLayout() {
return s_sLayout; }
6 ImageWidget m_ProgressCircle;
8 ImageWidget m_DownloadDoneImage;
10 TextWidget m_QueueSizeText;
12 ButtonWidget m_DownloadButton;
13 SCR_ModularButtonComponent m_DownloadButtonComponent;
15 bool Init(Widget root)
17 m_ProgressCircle = ImageWidget.Cast(root.FindAnyWidget(
"m_ProgressCircle"));
19 m_DownloadDoneImage = ImageWidget.Cast(root.FindAnyWidget(
"m_DownloadDoneImage"));
21 m_QueueSizeText = TextWidget.Cast(root.FindAnyWidget(
"CountText"));
23 m_DownloadButton = ButtonWidget.Cast(root.FindAnyWidget(
"m_DownloadButton"));
24 m_DownloadButtonComponent = SCR_ModularButtonComponent.Cast(m_DownloadButton.FindHandler(SCR_ModularButtonComponent));