0ad/source/gui/ObjectTypes
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
..
CButton.cpp Add getTextSize() for CButton 2020-12-11 16:12:46 +00:00
CButton.h Add getTextSize() for CButton 2020-12-11 16:12:46 +00:00
CChart.cpp Fix most of the new vs2017 induced warnings. 2020-11-26 22:28:50 +00:00
CChart.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
CCheckBox.cpp Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
CCheckBox.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
CDropDown.cpp Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific. 2020-11-19 09:27:26 +00:00
CDropDown.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
CGUIDummyObject.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
CHotkeyPicker.cpp Fix usage of remove_if in CHotkeyPicker 2020-12-11 10:02:05 +00:00
CHotkeyPicker.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
CImage.cpp Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
CImage.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
CInput.cpp Fix Hotkey/input handling in input boxes. 2020-11-28 08:24:39 +00:00
CInput.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
CList.cpp Fix potential UB in 783e77cc8d 2020-12-03 12:16:19 +00:00
CList.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
CMiniMap.cpp [SM68 2/2] Update to Spidermonkey 68 APIs 2020-11-30 09:03:20 +00:00
CMiniMap.h Adds a LOS mask to Minimap. 2020-11-08 08:51:54 +00:00
COList.cpp Fix Lobby/MP Gamesetup chat lag with many messages. 2020-12-01 09:42:05 +00:00
COList.h Remove counterproductive lowercasing of GUI ScriptEvent names, refs #127. 2020-01-15 16:00:37 +00:00
CProgressBar.cpp Rename CProgressBar numeric "caption" setting to "progress" to distinguish it from the Button, Input, Text and Tooltip "caption" setting values that are tag-formatted texts. 2019-11-12 16:53:19 +00:00
CProgressBar.h Rename CProgressBar numeric "caption" setting to "progress" to distinguish it from the Button, Input, Text and Tooltip "caption" setting values that are tag-formatted texts. 2019-11-12 16:53:19 +00:00
CRadioButton.cpp Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
CRadioButton.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
CSlider.cpp CSlider inherits IGUIButtonBehavior to gains button sounds, press/release events, duplication removal, continuation of sliding if the object is not hovered while the button is still pressed, refs #2593, c016a74309/D325, 359df88f1a/D1622. 2020-01-24 00:56:51 +00:00
CSlider.h CSlider inherits IGUIButtonBehavior to gains button sounds, press/release events, duplication removal, continuation of sliding if the object is not hovered while the button is still pressed, refs #2593, c016a74309/D325, 359df88f1a/D1622. 2020-01-24 00:56:51 +00:00
CText.cpp Fix Lobby/MP Gamesetup chat lag with many messages. 2020-12-01 09:42:05 +00:00
CText.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
CTooltip.cpp Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00
CTooltip.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00