230 {
232
233 m_txtDescription = TextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
234 m_txtLabel = TextWidget.Cast(layoutRoot.FindAnyWidget(
"txtLabel"));
235 m_btnLeave = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"btnLeave"));
237 layoutRoot.FindAnyWidget("notification_root").Show(false);
238
239 #ifdef PLATFORM_CONSOLE
240 layoutRoot.FindAnyWidget("toolbar_bg").Show(true);
241 RichTextWidget toolbar_b = RichTextWidget.Cast(layoutRoot.FindAnyWidget("BackIcon"));
242 toolbar_b.SetText(InputUtils.GetRichtextButtonIconFromInputAction("UAUIBack", "", EUAINPUT_DEVICE_CONTROLLER, InputUtils.ICON_SCALE_TOOLBAR));
243 #ifdef PLATFORM_XBOX
244 #ifdef BUILD_EXPERIMENTAL
245 layoutRoot.FindAnyWidget("notification_root").Show(true);
246 #endif
247 #endif
248 #endif
249
250 return layoutRoot;
251 }
proto native WorkspaceWidget GetWorkspace()
TextWidget m_txtDescription
proto native CGame GetGame()