SFML 2.5.1

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes | List of all members
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)
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.

## Detailed Description

Mouse wheel events parameters (MouseWheelMoved)

Deprecated
  This event is deprecated and potentially inaccurate. Use MouseWheelScrollEvent instead.

Definition at line 109 of file Event.hpp.

## Member Data Documentation

## ◆ delta

int sf::Event::MouseWheelEvent::delta

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

Definition at line 111 of file Event.hpp.

## ◆ x

int sf::Event::MouseWheelEvent::x

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

Definition at line 112 of file Event.hpp.

## ◆ y

int sf::Event::MouseWheelEvent::y

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

Definition at line 113 of file Event.hpp.

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

- Event.hpp