5 override void OnMenuOpen()
11 comp.m_OnActivated.Insert(OnBack);
13 bool showBlur = !
GetGame().m_bIsMainMenuOpen;
17 img.SetVisible(!showBlur);
19 BlurWidget blur = BlurWidget.Cast(
GetRootWidget().FindAnyWidget(
"Blur0"));
22 blur.SetVisible(showBlur);
26 GetGame().GetWorkspace().GetScreenSize(w, h);
27 blur.SetSmoothBorder(0, 0, w * 0.8, 0);
31 bool isDebug = DiagMenu.GetBool(
SCR_DebugMenuID.DEBUGUI_UI_SHOW_ALL_SETTINGS,
false);
33 if (!isDebug && System.GetPlatform() == EPlatform.WINDOWS)
35 m_SuperMenuComponent.GetTabView().RemoveTabByIdentifier(
"SettingsVideoConsole");
36 m_SuperMenuComponent.GetTabView().ShowTabByIdentifier(
"SettingsVideoPC");
40 #ifdef PLATFORM_CONSOLE
44 m_SuperMenuComponent.GetTabView().RemoveTabByIdentifier(
"SettingsVideoPC");
45 m_SuperMenuComponent.GetTabView().ShowTabByIdentifier(
"SettingsVideoConsole");