0ad/source/gui/ObjectBases
wraitii d9748173c7 Generalize icon-specific tooltips to a tag, streamline code.
We can currently specify a custom tooltip for an icon. This extends that
to a generic tag `[tooltip='something']...[/tooltip]` for any particular
piece of text, and removes the iconTooltip hardcoding by instead using a
virtual `GetTooltipText` call since all IGUIObject descendants have a
tooltip. This is both cleaner & more efficient.
Removes the ability to set a custom tooltip style (that doesn't seem
particularly useful), it'll reuse the style of the CText itself.

Differential Revision: https://code.wildfiregames.com/D3895
This was SVN commit r25353.
2021-05-01 12:38:05 +00:00
..
IGUIButtonBehavior.cpp Cleanups CGUISprite, removes redundant method. 2021-03-31 19:26:05 +00:00
IGUIButtonBehavior.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
IGUIObject.cpp Generalize icon-specific tooltips to a tag, streamline code. 2021-05-01 12:38:05 +00:00
IGUIObject.h Generalize icon-specific tooltips to a tag, streamline code. 2021-05-01 12:38:05 +00:00
IGUIScrollBarOwner.cpp Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
IGUIScrollBarOwner.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
IGUITextOwner.cpp Generalize icon-specific tooltips to a tag, streamline code. 2021-05-01 12:38:05 +00:00
IGUITextOwner.h Generalize icon-specific tooltips to a tag, streamline code. 2021-05-01 12:38:05 +00:00