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

◆ UpdateInfoPanelText()

void UIScriptedMenu::UpdateInfoPanelText ( int input_device_type)
inlineprotected

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

118 {
119 if (GetGame().GetInput().IsEnabledMouseAndKeyboard() && input_device_type == EInputDeviceType.MOUSE_AND_KEYBOARD)
120 {
121 m_InfoPanelText.SetText("ESC " + "#menu_back");
122 }
123 else
124 {
125 m_InfoPanelText.SetText(InputUtils.GetRichtextButtonIconFromInputAction("UAUIBack", "#menu_back", EUAINPUT_DEVICE_CONTROLLER, InputUtils.ICON_SCALE_TOOLBAR));
126 }
127 }
RichTextWidget m_InfoPanelText
Определения CreditsMenu.c:25
proto native CGame GetGame()
EInputDeviceType
Определения input.c:3

Перекрестные ссылки GetGame(), InputUtils::GetRichtextButtonIconFromInputAction(), InputUtils::ICON_SCALE_TOOLBAR и m_InfoPanelText.

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