0ad/source/gui/scripting
elexis 86c151ebaa PushGuiPage support for passing a function instead of a function name.
Allows coding the GUI without global functions which break
prototype-oriented coding, refs #5322, fixing the concern in 4b1297b328.

Supports stacked message boxes and removes the according workaround.
Change structree / civinfo switch-dialog code from 760a47335d to perform
the callback for page that actually registered the callback.
Ensure the parent that the callbackhandler is always called if the page
is closed.
Merge PopGuiPage and PopGuiPageCB following that choice, incidentally
leaving cleaner code.

Differential Revision: https://code.wildfiregames.com/D1684
Comments by: Yves, Vladislav, wraitii, leper
This was SVN commit r22676.
2019-08-16 18:46:04 +00:00
..
GuiScriptConversions.cpp Delete wrongful proxy CGUIManager::GetPreDefinedColor from f0d9806b3f. 2019-08-13 18:00:41 +00:00
JSInterface_GUIManager.cpp PushGuiPage support for passing a function instead of a function name. 2019-08-16 18:46:04 +00:00
JSInterface_GUIManager.h PushGuiPage support for passing a function instead of a function name. 2019-08-16 18:46:04 +00:00
JSInterface_GUITypes.cpp Replace JS_THIS_OBJECT and JS::CallReceiver in preparation for SpiderMonkey 49 and 61. 2019-08-13 14:11:43 +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 Replace JS_THIS_OBJECT and JS::CallReceiver in preparation for SpiderMonkey 49 and 61. 2019-08-13 14:11:43 +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