ScrollEvent class
#include <nCine/Input/InputEvents.h>
Scroll event (mouse wheel, touchpad gesture, etc.).
Derived classes
- class GlfwScrollEvent
- Information about a GLFW scroll event.
- class Qt5ScrollEvent
- Information about a Qt5 scroll event.
- class SdlScrollEvent
- Information about an SDL2 scroll event.
Public variables
- float X
- Scroll offset on the X axis, positive to the right (as SDL reports it, every backend is made to match).
- float Y
- Scroll offset on the Y axis, positive away from the user.
-
std::
uint32_t WindowId - Window the pointer is over, 0 for the main one, see MouseState::
WindowId.