Magnum::Platform::Sdl2Application::ScrollEvent class new in Git master

Scroll event.

Base classes

class InputEvent
Base for input events.

Public functions

auto offset() const -> Vector2
Scroll offset.
auto position() -> Vector2
Position.
auto modifiers() -> Sdl2Application::Modifiers
Keyboard modifiers.

Function documentation

Vector2 Magnum::Platform::Sdl2Application::ScrollEvent::position()

Position.

For mouse input the position is always reported in whole pixels. Lazily populated on first request.

Sdl2Application::Modifiers Magnum::Platform::Sdl2Application::ScrollEvent::modifiers()

Keyboard modifiers.

Lazily populated on first request.