0ad/source/gui/scripting
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
..
GuiScriptConversions.cpp Add ToJSVal<CRect> to make the conversion reusable, remove unused PSERROR_Scripting_ConversionFailed and dead catch. 2019-09-04 16:15:37 +00:00
JSInterface_GUIManager.cpp Support assigning functions to hotkeys from the JS GUI without involving a GUI object. 2019-09-05 10:42:16 +00:00
JSInterface_GUIManager.h Support assigning functions to hotkeys from the JS GUI without involving a GUI object. 2019-09-05 10:42:16 +00:00
JSInterface_GUITypes.cpp Add ToJSVal<CRect> to make the conversion reusable, remove unused PSERROR_Scripting_ConversionFailed and dead catch. 2019-09-04 16:15:37 +00:00
JSInterface_GUITypes.h Delete JSClass JSI_GUIColor / GUIColor from af9c336b43, refs #5387, D1699. 2019-07-23 14:22:27 +00:00
JSInterface_IGUIObject.cpp Add ToJSVal<CRect> to make the conversion reusable, remove unused PSERROR_Scripting_ConversionFailed and dead catch. 2019-09-04 16:15:37 +00:00
JSInterface_IGUIObject.h Upgrade SpiderMonkey to version 45.0.2, refs #4893. 2019-08-07 22:37:43 +00:00
JSInterface_IGUITextOwner.cpp Replace JS_THIS_OBJECT and JS::CallReceiver in preparation for SpiderMonkey 49 and 61. 2019-08-13 14:11:43 +00:00
JSInterface_IGUITextOwner.h Introduce a JSInterface_IGUITextOwner to encapsulate JSI_IGUIObject::getTextSize from 9c5062147a / D844. 2019-08-02 16:55:15 +00:00
ScriptFunctions.cpp Move UserReporter C++/JS functions from JSInterface_Debug.cpp to JSInterface_UserReport.cpp, refs #4772. 2018-08-22 12:48:27 +00:00
ScriptFunctions.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00