Magnum::Platform::GlutApplication::MouseEvent class

Mouse event.

Base classes

class InputEvent
Base for input events.

Public types

enum class Button: int { Left = GLUT_LEFT_BUTTON, Middle = GLUT_MIDDLE_BUTTON, Right = GLUT_RIGHT_BUTTON, WheelUp = 3, WheelDown = 4 }
Mouse button.

Public functions

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

Enum documentation

enum class Magnum::Platform::GlutApplication::MouseEvent::Button: int

Mouse button.

Enumerators
Left

Left button

Middle

Middle button

Right

Right button

WheelUp

Wheel up

WheelDown

Wheel down