* Displays the warning message. * @param msg Message string. */
| 104 | * @param msg Message string. |
| 105 | */ |
| 106 | void 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. |
no test coverage detected