Magnum::Platform::GlfwApplication::MouseMoveEvent class

Mouse move event.

Base classes

class InputEvent
Base for input events.

Public types

enum class Button: UnsignedInt { Left = 1 << GLFW_MOUSE_BUTTON_LEFT, Middle = 1 << GLFW_MOUSE_BUTTON_MIDDLE, Right = 1 << GLFW_MOUSE_BUTTON_RIGHT }
Mouse button.
using Buttons = Containers::EnumSet<Button>
Set of mouse buttons.

Public functions

auto buttons() -> Buttons
Mouse buttons.
auto position() const -> Vector2i
Position.
auto modifiers() -> Modifiers
Modifiers.

Enum documentation

enum class Magnum::Platform::GlfwApplication::MouseMoveEvent::Button: UnsignedInt

Mouse button.

Enumerators
Left

Left button

Middle

Middle button

Right

Right button

Typedef documentation

typedef Containers::EnumSet<Button> Magnum::Platform::GlfwApplication::MouseMoveEvent::Buttons

Set of mouse buttons.

Function documentation

Buttons Magnum::Platform::GlfwApplication::MouseMoveEvent::buttons()

Mouse buttons.

Lazily populated on first request.

Modifiers Magnum::Platform::GlfwApplication::MouseMoveEvent::modifiers()

Modifiers.

Lazily populated on first request.