1
0
forked from 0ad/0ad
0ad/source/gui
elexis f192d4a2fa Support assigning functions to hotkeys from the JS GUI without involving a GUI object.
Allows developers and modders to register and unregister hotkeys without
having to specify, change or overwrite XML files.
Also allows implementing the main menu GUI page with only GUI objects
for one submenu, refs #5387 / D2240.

Differential Revision: https://code.wildfiregames.com/D2260
Idea by nani in D2257.

This was SVN commit r22851.
2019-09-05 10:42:16 +00:00
..
scripting Support assigning functions to hotkeys from the JS GUI without involving a GUI object. 2019-09-05 10:42:16 +00:00
tests Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
CButton.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CButton.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CChart.cpp Move static GUI<>::GetSetting operating on IGUIObject member to a IGUIObject member function, grouping it with SettingExists and AddSetting. 2019-08-26 12:25:07 +00:00
CChart.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CCheckBox.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CCheckBox.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CDropDown.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CDropDown.h Mark some GUI functions as const, including the boolean ones from d4d5187c9d. 2019-08-22 23:51:10 +00:00
CGUI.cpp Support assigning functions to hotkeys from the JS GUI without involving a GUI object. 2019-09-05 10:42:16 +00:00
CGUI.h Support assigning functions to hotkeys from the JS GUI without involving a GUI object. 2019-09-05 10:42:16 +00:00
CGUIColor.cpp Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUIColor.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUIList.h Split CGUIString.h from GUIText.h, so that one may have the SGUIText implementation in a separate cpp file. 2019-08-10 19:16:52 +00:00
CGUIScrollBarVertical.cpp Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUIScrollBarVertical.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUISeries.h Use NONCOPYABLE for most GUI classes and structs to have the compiler indicate unintended copies, refs 3028551b91 / D2163. 2019-08-10 00:04:17 +00:00
CGUISetting.cpp Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
CGUISetting.h Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
CGUISprite.cpp Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUISprite.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUIString.cpp Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
CGUIString.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CGUIText.cpp Move static GUI<>::GetSetting operating on IGUIObject member to a IGUIObject member function, grouping it with SettingExists and AddSetting. 2019-08-26 12:25:07 +00:00
CGUIText.h Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
CImage.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CImage.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CInput.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CInput.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CList.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CList.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
COList.cpp Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
COList.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CProgressBar.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CProgressBar.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CRadioButton.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CRadioButton.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CSlider.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CSlider.h Mark some GUI functions as const, including the boolean ones from d4d5187c9d. 2019-08-22 23:51:10 +00:00
CText.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CText.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
CTooltip.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
CTooltip.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
GUI.h Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
GUIbase.cpp Move CClientArea ToJSVal / FromJSVal conversion from JSI_IGUIObject (since that should be agnostic of the conversion) to CClientArea (since that defines the properties). 2019-07-26 14:47:27 +00:00
GUIbase.h Use variadic template for RecurseObject from c2a71e41bf and move it from GUIutil to IGUIObject. 2019-08-21 13:22:25 +00:00
GUIManager.cpp Don't crash if a JS GUI author calls Engine.PopGuiPage too often. 2019-09-04 15:45:48 +00:00
GUIManager.h Don't crash if a JS GUI author calls Engine.PopGuiPage too often. 2019-09-04 15:45:48 +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
GUIRenderer.cpp Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
GUIRenderer.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
GUIStringConversions.cpp Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
GUITooltip.cpp Move static GUI<>::SetSetting operating on IGUIObject to a member IGUIObject::SetSetting. 2019-08-28 11:21:11 +00:00
GUITooltip.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
GUItypes.h Remove unused GUIUtil functions, unused GUI includes and some tails in GUIUtil. 2019-08-25 08:57:36 +00:00
IGUIButtonBehavior.cpp Move static GUI<>::GetSetting operating on IGUIObject member to a IGUIObject member function, grouping it with SettingExists and AddSetting. 2019-08-26 12:25:07 +00:00
IGUIButtonBehavior.h Solemnly delete class GUI and rename GUIUtil.h to CGUISetting.h. 2019-08-29 09:07:29 +00:00
IGUIObject.cpp Implement JS support for GUI object "hotkey" setting missing from 6d8b9e33ef, refs #567, #2604, 9e499cdec5. 2019-09-04 15:29:36 +00:00
IGUIObject.h Implement JS support for GUI object "hotkey" setting missing from 6d8b9e33ef, refs #567, #2604, 9e499cdec5. 2019-09-04 15:29:36 +00:00
IGUIScrollBar.cpp Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
IGUIScrollBar.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
IGUIScrollBarOwner.cpp Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
IGUIScrollBarOwner.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
IGUITextOwner.cpp Move static GUI<>::GetSetting operating on IGUIObject member to a IGUIObject member function, grouping it with SettingExists and AddSetting. 2019-08-26 12:25:07 +00:00
IGUITextOwner.h Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
MiniMap.cpp Mark some GUI functions as const, including the boolean ones from d4d5187c9d. 2019-08-22 23:51:10 +00:00
MiniMap.h Mark some GUI functions as const, including the boolean ones from d4d5187c9d. 2019-08-22 23:51:10 +00:00