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

Method showMessage

src/Battlescape/WarningMessage.cpp:106–113  ·  view source on GitHub ↗

* Displays the warning message. * @param msg Message string. */

Source from the content-addressed store, hash-verified

104 * @param msg Message string.
105 */
106void WarningMessage::showMessage(const std::wstring &msg)
107{
108 _text->setText(msg);
109 _fade = 0;
110 _redraw = true;
111 setVisible(true);
112 _timer->start();
113}
114
115/**
116 * Keeps the animation timers running.

Callers 3

warningMethod · 0.80
mouseClickMethod · 0.80
unloadMethod · 0.80

Calls 2

setTextMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected