0ad/source/gui/scripting
elexis 415939b59b Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that.
The type differs from the Color type, because contrary to Color, it can
be created from a color predefined in the GUI page (such as "yellow").
Move this predefined color check to the new class instead of hardcoding
it in FromJSVal / ToJSVal, GUIUtil, JSInterface_IGUIObject and to
straighten the latter.

Delete fov_wedge_color from Minimap, unused since introduction in
5275dc862b.

This was SVN commit r22558.
2019-07-26 18:57:28 +00:00
..
GuiScriptConversions.cpp Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
JSInterface_GUIManager.cpp Remove workaround in GetGUIObjectByName 2019-04-20 15:49:42 +00:00
JSInterface_GUIManager.h Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_GUITypes.cpp Use ToJSVal for JS_NewStringCopyZ to improve encapsulation and consistency and remove a snprintf call. 2019-07-23 15:17:35 +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 Introduce CGUIColor type inheriting Color type and switch the GUI to exclusively use that. 2019-07-26 18:57:28 +00:00
JSInterface_IGUIObject.h Delete unused broken JSI_IGUIObject::construct. 2019-07-23 01:24:49 +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