73 protected const string INPUT_CONTEXT_EDIT =
"MenuTextEditContext";
74 protected bool m_bTextEditActive =
false;
75 ref ScriptInvoker m_OnTextEditContextChange =
new ScriptInvoker;
76 ref ScriptInvoker m_OnUpdate =
new ScriptInvoker;
87 override void OnMenuInit()
93 override void OnMenuUpdate(
float tDelta)
95 super.OnMenuUpdate(tDelta);
98 bool ctxActive =
GetGame().GetInputManager().IsContextActive(INPUT_CONTEXT_EDIT);
99 m_OnTextEditContextChange.Invoke(ctxActive);
102 m_OnUpdate.Invoke(tDelta);
106 override void OnMenuOpen()
108 super.OnMenuOpened();
113 override void OnMenuOpened()
115 super.OnMenuOpened();
120 override void OnMenuClose()
127 override void OnMenuFocusGained()
129 super.OnMenuFocusGained();
134 override void OnMenuFocusLost()
136 super.OnMenuFocusLost();
141 override void OnMenuShow()
148 override void OnMenuHide()
163 auto menuManager = game.GetMenuManager();
168 MenuBase menuBase = menuManager.GetOwnerMenu(w);