Magnum::Platform::AbstractXApplication::MouseEvent class

Mouse event.

Base classes

class InputEvent
Base for input events.

Public types

enum class Button: unsigned int { Left = 1, Middle = 2, Right = 3, WheelUp = 4 deprecated in Git master, WheelDown = 5 deprecated in Git master }
Mouse button.

Public functions

auto button() const -> Button
Button.
auto position() const -> Vector2i
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