0ad/source/gui/Scripting
Imarok 00aeebea6d Add getTextSize() for CButton
Summary: 9c5062147a introduced the `getTextSize()` to all GUIObjects for
getting the rendered size of a text. 8190293f8b made it only available
to CText. `getTextSize()` can also be useful for CButtons so this diff
adds the function back to CButtons. There seem to be no other GUIObjects
besiders CText and CButton where `getTextSize()` makes sense.

Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D3195
This was SVN commit r24378.
2020-12-11 16:12:46 +00:00
..
GuiScriptConversions.cpp Fix building without precompiled headers. 2020-11-18 11:35:36 +00:00
JSInterface_CButton.cpp Add getTextSize() for CButton 2020-12-11 16:12:46 +00:00
JSInterface_CList.cpp Fix f78d3ddf71 - actually speed up MP/lobby chat. 2020-12-02 09:28:46 +00:00
JSInterface_CText.cpp Fix f78d3ddf71 - actually speed up MP/lobby chat. 2020-12-02 09:28:46 +00:00
JSInterface_GUIManager.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
JSInterface_GUIManager.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_GUIProxy.h [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
JSInterface_GUIProxy_impl.h [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
JSInterface_GUISize.cpp [SM60 2/2] Update to Spidermonkey 60 APIs 2020-11-24 15:47:03 +00:00
JSInterface_GUISize.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
JSInterface_IGUIObject.cpp Fix f78d3ddf71 - actually speed up MP/lobby chat. 2020-12-02 09:28:46 +00:00
ScriptFunctions.cpp Make JS GUI Objects Proxy objects. 2020-11-21 17:49:06 +00:00
ScriptFunctions.h Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00