Documentation de SFML 2.6.2

Attention: cette page se réfère à une ancienne version de SFML. Cliquez ici pour passer à la dernière version.
Loading...
Searching...
No Matches
sf::Event::TouchEvent Struct Reference

Touch events parameters (TouchBegan, TouchMoved, TouchEnded) More...

#include <SFML/Window/Event.hpp>

Public Attributes

unsigned int finger
 Index of the finger in case of multi-touch events.
 
int x
 X position of the touch, relative to the left of the owner window.
 
int y
 Y position of the touch, relative to the top of the owner window.
 

Detailed Description

Touch events parameters (TouchBegan, TouchMoved, TouchEnded)

Definition at line 165 of file Event.hpp.

Member Data Documentation

◆ finger

unsigned int sf::Event::TouchEvent::finger

Index of the finger in case of multi-touch events.

Definition at line 167 of file Event.hpp.

◆ x

int sf::Event::TouchEvent::x

X position of the touch, relative to the left of the owner window.

Definition at line 168 of file Event.hpp.

◆ y

int sf::Event::TouchEvent::y

Y position of the touch, relative to the top of the owner window.

Definition at line 169 of file Event.hpp.


The documentation for this struct was generated from the following file: