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

◆ LockControls()

void UIMenuPanel::LockControls ( )
inlineprivate

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

80 {
81#ifdef FEATURE_CURSOR
82 if (IsCreatedHidden())
83 return;
84#endif
85
86 if (UseMouse())
87 {
90 }
91
92 if (UseKeyboard())
93 {
95 }
96
97 if (UseGamepad())
98 {
100 }
101 }
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:40
bool UseMouse()
Определения UIScriptedMenu.c:32
bool UseGamepad()
Определения UIScriptedMenu.c:48
proto native CGame GetGame()
const int INPUT_DEVICE_MOUSE
Определения constants.c:24
const int INPUT_DEVICE_GAMEPAD
Определения constants.c:28
const int INPUT_DEVICE_KEYBOARD
Определения 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().