MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setTooltip

Method setTooltip

src/Engine/Surface.cpp:848–851  ·  view source on GitHub ↗

* Changes the help description of this surface, * for example for showing in tooltips. * @param tooltip String ID. */

Source from the content-addressed store, hash-verified

846* @param tooltip String ID.
847*/
848void Surface::setTooltip(const std::string &tooltip)
849{
850 _tooltip = tooltip;
851}
852
853/**
854 * Recreates the surface with a new size.

Callers 7

BattlescapeStateMethod · 0.80
OptionsAudioStateMethod · 0.80
OptionsVideoStateMethod · 0.80
OptionsControlsStateMethod · 0.80
OptionsModsStateMethod · 0.80
OptionsGeoscapeStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected