0ad/source
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
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
gui Add getTextSize() for CButton 2020-12-11 16:12:46 +00:00
i18n Update ICU on Windows to 68.1 with the v140_xp toolset. 2020-12-02 16:47:28 +00:00
lib Fix zip with comments triggering assertion on game startup 2020-12-10 19:09:10 +00:00
lobby Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
maths Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
pch Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ps Fix userreport detection of sound cards 2020-12-10 18:36:05 +00:00
renderer Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
rlinterface Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
scriptinterface Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
simulation2 Allow boolean and u16 modifications for C++ 2020-12-11 14:07:48 +00:00
soundmanager Fix userreport detection of sound cards 2020-12-10 18:36:05 +00:00
third_party Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
tools Associate .zip and .pyromod files with 0 A.D. on MacOS 2020-12-11 15:43:25 +00:00
main.cpp Associate .zip and .pyromod files with 0 A.D. on MacOS 2020-12-11 15:43:25 +00:00
test_setup.cpp Fix building without precompiled headers. 2020-11-18 11:35:36 +00:00