DayZ 1.28
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ LockControls()

void UIMenuPanel::LockControls ( )
inlineprivate

См. определение в файле UIScriptedMenu.c строка 80

81 {
82#ifdef FEATURE_CURSOR
83 if (IsCreatedHidden())
84 return;
85#endif
86
87 if (UseMouse())
88 {
91 }
92
93 if (UseKeyboard())
94 {
96 }
97
98 if (UseGamepad())
99 {
101 }
102 }
proto native UIManager GetUIManager()
proto native Input GetInput()
proto native void ChangeGameFocus(int add, int input_device=-1)
Change game focus number.
void ShowUICursor(bool visible)
Определения UIManager.c:244
bool UseKeyboard()
Определения UIScriptedMenu.c:41
bool UseMouse()
Определения UIScriptedMenu.c:33
bool UseGamepad()
Определения UIScriptedMenu.c:49
proto native CGame GetGame()
const int INPUT_DEVICE_MOUSE
Определения 1_Core/constants.c:24
const int INPUT_DEVICE_GAMEPAD
Определения 1_Core/constants.c:28
const int INPUT_DEVICE_KEYBOARD
Определения 1_Core/constants.c:23

Перекрестные ссылки Input::ChangeGameFocus(), GetGame(), CGame::GetInput(), CGame::GetUIManager(), INPUT_DEVICE_GAMEPAD, INPUT_DEVICE_KEYBOARD, INPUT_DEVICE_MOUSE, UIManager::ShowUICursor(), UIScriptedMenu::UseGamepad(), UIScriptedMenu::UseKeyboard() и UIScriptedMenu::UseMouse().

Используется в OnShow().