Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Mouse wheel scrolled event subtype. 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. | |
Vector2i | position |
Position of the mouse pointer, relative to the top left of the owner window. |
float sf::Event::MouseWheelScrolled::delta {} |
Vector2i sf::Event::MouseWheelScrolled::position |
Mouse::Wheel sf::Event::MouseWheelScrolled::wheel {} |