SuperTuxKart
|
Functions | |
std::string | GUI::getKeyBinding (int Enum_value) |
Get the key bound to a player action (enum GUI::PlayerAction) | |
void | GUI::displayModalMessage (std::string *input) |
Show the specified message in a popup. | |
void | GUI::displayMessage (std::string *input, int Enum_value) |
Display a Message using MessageQueue (enum GUI::MsgType) | |
void | GUI::displayStaticMessage (std::string *input, int Enum_value) |
Displays an static Message. | |
void | GUI::discardStaticMessage () |
void | GUI::clearOverlayMessages () |
void | GUI::displayOverlayMessage (std::string *input) |
Display text in the center of the screen for a few seconds. | |
std::string | GUI::translate (std::string *input) |
Get translated version of string. | |
std::string | GUI::translate (std::string *formatString, std::string *arg1) |
Translate string and insert values. | |
std::string | GUI::translate (std::string *formatString, std::string *arg1, std::string *arg2) |
Translate string and insert values. | |
std::string | GUI::translate (std::string *formatString, std::string *arg1, std::string *arg2, std::string *arg3) |
Translate string and insert values. | |
void GUI::displayStaticMessage | ( | std::string * | input, |
int | Enum_value | ||
) |
Displays an static Message.
(enum GUI::MsgType) This Message has to be discarded by discardStaticMessage() manually. Otherwise it can be overridden.
std::string GUI::translate | ( | std::string * | formatString, |
std::string * | arg1 | ||
) |
Translate string and insert values.
e.g. GUI::translate("Hello %s !", "John")
std::string GUI::translate | ( | std::string * | formatString, |
std::string * | arg1, | ||
std::string * | arg2 | ||
) |
Translate string and insert values.
e.g. GUI::translate("Hello %s !", "John")
std::string GUI::translate | ( | std::string * | formatString, |
std::string * | arg1, | ||
std::string * | arg2, | ||
std::string * | arg3 | ||
) |
Translate string and insert values.
e.g. GUI::translate("Hello %s !", "John")