19 #ifndef OPENXCOM_ERRORMESSAGESTATE_H
20 #define OPENXCOM_ERRORMESSAGESTATE_H
23 #include "../Engine/State.h"
42 void create(
const std::string &str,
const std::wstring &wstr, SDL_Color *palette, Uint8 color, std::string bg,
int bgColor);
45 ErrorMessageState(
Game *game,
const std::string &
id, SDL_Color *palette, Uint8 color, std::string bg,
int bgColor);
47 ErrorMessageState(
Game *game,
const std::wstring &msg, SDL_Color *palette, Uint8 color, std::string bg,
int bgColor);
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:34
A game state that receives user input and reacts accordingly.
Definition: State.h:44
Box with a coloured border and custom background.
Definition: Window.h:42
ErrorMessageState(Game *game, const std::string &id, SDL_Color *palette, Uint8 color, std::string bg, int bgColor)
Creates the Error state.
Definition: ErrorMessageState.cpp:41
Text string displayed on screen.
Definition: Text.h:41
void btnOkClick(Action *action)
Handler for clicking the OK button.
Definition: ErrorMessageState.cpp:129
Coloured button with a text label.
Definition: TextButton.h:40
The core of the game engine, manages the game's entire contents and structure.
Definition: Game.h:44
Generic window used to display error messages.
Definition: ErrorMessageState.h:35
~ErrorMessageState()
Cleans up the Error state.
Definition: ErrorMessageState.cpp:63