136 {
137 switch (pInputDeviceType)
138 {
140 #ifdef PLATFORM_CONSOLE
142 layoutRoot.FindAnyWidget("toolbar_bg").Show(true);
143 layoutRoot.FindAnyWidget("ConsoleControls").Show(true);
144 layoutRoot.FindAnyWidget("PlayIcon0").Show(false);
145 layoutRoot.FindAnyWidget("BackIcon0").Show(false);
146 if (
GetGame().GetInput().IsEnabledMouseAndKeyboardEvenOnServer())
147 {
149 }
150 #endif
151 break;
152
153 default:
154 #ifdef PLATFORM_CONSOLE
155 if (
GetGame().GetInput().IsEnabledMouseAndKeyboardEvenOnServer())
156 {
157 layoutRoot.FindAnyWidget("toolbar_bg").Show(false);
158 layoutRoot.FindAnyWidget("ConsoleControls").Show(false);
159 layoutRoot.FindAnyWidget("PlayIcon0").Show(true);
160 layoutRoot.FindAnyWidget("BackIcon0").Show(true);
162 }
163 #endif
164 break;
165 }
166 }
proto native UIManager GetUIManager()
void ShowUICursor(bool visible)
proto native CGame GetGame()