Functions to convert SFML keyboard/mouse enumerators from and to strings. More...
Go to the source code of this file.
Functions | |
std::string | thor::ToString (sf::Keyboard::Key key) |
Returns a string representation of key. | |
std::string | thor::ToString (sf::Mouse::Button button) |
Returns a string representation of button. | |
sf::Keyboard::Key | thor::ToKeyboardKey (const std::string &string) |
Returns the key interpretation of string. | |
sf::Mouse::Button | thor::ToMouseButton (const std::string &string) |
Returns the mouse button interpretation of string. |
Functions to convert SFML keyboard/mouse enumerators from and to strings.