|
SFML
Simple and Fast Multimedia Library
|
Go to the source code of this file.
Namespaces | |
| namespace | sf |
| namespace | sf::Touch |
| Give access to the real-time state of the touches. | |
Functions | |
| SFML_WINDOW_API bool | sf::Touch::isDown (unsigned int finger) |
| Check if a touch event is currently down. | |
| SFML_WINDOW_API Vector2i | sf::Touch::getPosition (unsigned int finger) |
| Get the current position of a touch in desktop coordinates. | |
| SFML_WINDOW_API Vector2i | sf::Touch::getPosition (unsigned int finger, const WindowBase &relativeTo) |
| Get the current position of a touch in window coordinates. | |