Magnum::Platform::AbstractXApplication::MouseEvent class

Mouse event.

Base classes

class InputEvent
Base for input events.

Public types

enum class Button: unsigned int { Left = Button1, Middle = Button2, Right = Button3, WheelUp = Button4, WheelDown = Button5 }
Mouse button.

Public functions

auto button() const -> Button constexpr
Button.
auto position() const -> Vector2i constexpr
Position.

Enum documentation

enum class Magnum::Platform::AbstractXApplication::MouseEvent::Button: unsigned int

Mouse button.

Enumerators
Left

Left button

Middle

Middle button

Right

Right button

WheelUp

Wheel up

WheelDown

Wheel down