34 m_OkButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bOK"));
35 m_Description = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
59 super.OnClick(w,
x,
y, button);
61 if (w.GetUserID() ==
IDC_OK)
70 override void Update(
float timeslice)
72 super.Update(timeslice);
74 #ifdef PLATFORM_CONSOLE
75 if (
GetUApi().GetInputByID(UAUISelect).LocalPress())
82 #ifdef PLATFORM_CONSOLE
98 toolbarText.SetText(context);
103 bool toolbarShow =
false;
104 #ifdef PLATFORM_CONSOLE
108 layoutRoot.FindAnyWidget(
"BottomConsoleToolbar").Show(toolbarShow);
117 return "#str_item_drop_notification";
125 return "#str_position_change_notification";
proto native WorkspaceWidget GetWorkspace()
proto native Input GetInput()
proto native Mission GetMission()
void ShowHudUI(bool show)
void ShowQuickbarUI(bool show)
ScriptInvoker GetOnInputDeviceChanged()
ScriptInvoker GetOnInputPresetChanged()
void AddActiveInputExcludes(array< string > excludes)
void RemoveActiveInputExcludes(array< string > excludes, bool bForceSupress=false)
deprecated
proto bool Remove(func fn, int flags=EScriptInvokerRemoveFlags.ALL)
remove specific call from list
proto bool Insert(func fn, int flags=EScriptInvokerInsertFlags.IMMEDIATE)
insert method to list
proto native CGame GetGame()