MouseScrollEvent class reference


The event is generated when the user sroll on mouse.

Functions documentation

MouseScrollEvent(double xoffset, double yoffset, int xpos, int ypos);

Default constructor.


MouseScrollEvent* Clone() const;

Implementation of the event cloning function.


Point<double> GetScrollOffsets() const;

Returns information about mouse scroll offsets.


Point<int> GetPosition() const;

Returns information about mouse position.


Variables documentation

Point<double> m_stScroll;

Stores data regarding mouse scroll offsets.


Point<int> m_stPosition;

Stores data regarding mouse position.