Magnum::Platform::Sdl2Application::MouseScrollEvent class

Mouse scroll event.

Base classes

class InputEvent
Base for input events.

Public functions

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

Function documentation

Vector2i Magnum::Platform::Sdl2Application::MouseScrollEvent::position()

Position.

Lazily populated on first request.

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

Keyboard modifiers.

Lazily populated on first request.