Documentation of SFML 2.6.1
Warning: this page refers to an old version of SFML. Click here to switch to the latest version.Loading...
Searching...
No Matches
Mouse wheel events parameters (MouseWheelScrolled) More...
#include <SFML/Window/Event.hpp>
Public Attributes | |
Mouse::Wheel | wheel |
Which wheel (for mice with multiple ones) | |
float | delta |
Wheel offset (positive is up/left, negative is down/right). High-precision mice may use non-integral offsets. | |
int | x |
X position of the mouse pointer, relative to the left of the owner window. | |
int | y |
Y position of the mouse pointer, relative to the top of the owner window. | |
float sf::Event::MouseWheelScrollEvent::delta |
Mouse::Wheel sf::Event::MouseWheelScrollEvent::wheel |
int sf::Event::MouseWheelScrollEvent::x |
int sf::Event::MouseWheelScrollEvent::y |