520 {
521 int i;
522 ButtonWidget button;
523 MissionGameplay
mission = MissionGameplay.Cast(
g_Game.GetMission());
524
525 switch (pInputDeviceType)
526 {
528 {
530
532 mission.MoveHudForInventory(
true);
533
534 g_Game.GetUIManager().ShowUICursor(
false);
535
536 button = ButtonWidget.Cast(
GetFocus());
537 if (button)
538 button.SetState(false);
539
541
543 break;
544 }
545 default:
546 {
547 if (
g_Game.GetInput().IsEnabledMouseAndKeyboardEvenOnServer())
548 {
550
552 mission.MoveHudForInventory(
false);
553
554 g_Game.GetUIManager().ShowUICursor(
true);
555
556 button = ButtonWidget.Cast(
GetFocus());
557 if (button)
558 button.SetState(false);
559
561 }
562 break;
563 }
564 }
565 }
void UpdateConsoleToolbar()
ref array< ButtonWidget > m_NumButtons