128 {
129 switch (pInputDeviceType)
130 {
132 #ifdef PLATFORM_CONSOLE
134 layoutRoot.FindAnyWidget("toolbar_bg").Show(true);
135 layoutRoot.FindAnyWidget("ConsoleControls").Show(true);
136 layoutRoot.FindAnyWidget("PlayIcon0").Show(false);
137 layoutRoot.FindAnyWidget("BackIcon0").Show(false);
138 if (
GetGame().GetInput().IsEnabledMouseAndKeyboardEvenOnServer())
139 {
141 }
142 #endif
143 break;
144
145 default:
146 #ifdef PLATFORM_CONSOLE
147 if (
GetGame().GetInput().IsEnabledMouseAndKeyboardEvenOnServer())
148 {
149 layoutRoot.FindAnyWidget("toolbar_bg").Show(false);
150 layoutRoot.FindAnyWidget("ConsoleControls").Show(false);
151 layoutRoot.FindAnyWidget("PlayIcon0").Show(true);
152 layoutRoot.FindAnyWidget("BackIcon0").Show(true);
154 }
155 #endif
156 break;
157 }
158 }
proto native UIManager GetUIManager()
void ShowUICursor(bool visible)
proto native CGame GetGame()