0ad/source/gui
wraitii 7032a3c12a Further hotkey work: clear hotkeys when an input box/the console gets focus.
This is necessary following 2d53308e1b, which now handles key-up in
input to prevent hotkeys from firing then.
Hotkeys are a global system, which means opening e.g. the chat window or
the summary does't reset things. If you press "S" to scroll the in-game
camera down, then press 'return' to open the chat, the camera keeps
scrolling down. Following 2d53308e1b, it never released since it never
got the keyup.

To handle this nicely, we need to explicitly clear hotkeys when input
boxes get focus (respectively the console).

Differential Revision: https://code.wildfiregames.com/D3797
This was SVN commit r25186.
2021-04-03 20:12:40 +00:00
..
ObjectBases Cleanups CGUISprite, removes redundant method. 2021-03-31 19:26:05 +00:00
ObjectTypes Further hotkey work: clear hotkeys when an input box/the console gets focus. 2021-04-03 20:12:40 +00:00
Scripting Do not trigger "HotkeyPress" events when releasing a key. 2021-03-31 15:50:25 +00:00
SettingTypes Moves CRect from ps to maths to related geometric primitives. 2021-03-30 21:14:36 +00:00
tests Do not trigger "HotkeyPress" events when releasing a key. 2021-03-31 15:50:25 +00:00
CGUI.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
CGUI.h Moves CRect from ps to maths to related geometric primitives. 2021-03-30 21:14:36 +00:00
CGUIScrollBarVertical.cpp Cleanups CGUISprite, removes redundant method. 2021-03-31 19:26:05 +00:00
CGUIScrollBarVertical.h Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
CGUISetting.cpp Fix building without precompiled headers. 2020-11-18 11:35:36 +00:00
CGUISetting.h Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
CGUISprite.cpp Removes unused and limited cell sprite functionality. 2021-03-27 11:38:34 +00:00
CGUISprite.h Cleanups CGUISprite, removes redundant method. 2021-03-31 19:26:05 +00:00
CGUIText.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
CGUIText.h Moves CRect from ps to maths to related geometric primitives. 2021-03-30 21:14:36 +00:00
GUIManager.cpp Replace DISCARD macro with ignore_result template. 2020-12-15 09:03:44 +00:00
GUIManager.h Removes unused containers included in headers. 2021-03-03 23:01:08 +00:00
GUIMatrix.cpp Move GetDefaultGuiMatrix to a separate file. 2019-08-04 03:52:00 +00:00
GUIMatrix.h Move GetDefaultGuiMatrix to a separate file. 2019-08-04 03:52:00 +00:00
GUIObjectTypes.cpp Add getTextSize() for CButton 2020-12-11 16:12:46 +00:00
GUIRenderer.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
GUIRenderer.h Moves CRect from ps to maths to related geometric primitives. 2021-03-30 21:14:36 +00:00
GUISettingTypes.h Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
GUIStringConversions.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
GUITooltip.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
GUITooltip.h Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
IGUIScrollBar.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
IGUIScrollBar.h Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
SGUIIcon.h Moves CSize into a separate file and renames it to CSize2D according to other geometric entities. 2021-03-27 16:08:06 +00:00
SGUIMessage.h Allow right-click on disabled buttons. 2020-11-14 18:16:24 +00:00
SGUIStyle.h Move GUIbase structs and enums to separate files. 2019-10-01 12:46:55 +00:00