Documentation de SFML 2.2

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

Mouse wheel events parameters (MouseWheelMoved) More...

#include <Event.hpp>

Public Attributes

int delta
 Number of ticks the wheel has moved (positive is up, negative is down) More...
 
int x
 X position of the mouse pointer, relative to the left of the owner window. More...
 
int y
 Y position of the mouse pointer, relative to the top of the owner window. More...
 

Detailed Description

Mouse wheel events parameters (MouseWheelMoved)

Definition at line 106 of file Event.hpp.

Member Data Documentation

int sf::Event::MouseWheelEvent::delta

Number of ticks the wheel has moved (positive is up, negative is down)

Definition at line 108 of file Event.hpp.

int sf::Event::MouseWheelEvent::x

X position of the mouse pointer, relative to the left of the owner window.

Definition at line 109 of file Event.hpp.

int sf::Event::MouseWheelEvent::y

Y position of the mouse pointer, relative to the top of the owner window.

Definition at line 110 of file Event.hpp.


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