Magnum::Platform::GlutApplication::MouseMoveEvent class

Mouse move event.

Base classes

class InputEvent
Base for input events.

Public types

enum class Button: UnsignedByte { Left = 1 }
Mouse button.
using Buttons = Containers::EnumSet<Button>
Set of mouse buttons.

Public functions

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

Enum documentation

enum class Magnum::Platform::GlutApplication::MouseMoveEvent::Button: UnsignedByte

Mouse button.

Enumerators
Left

Any button. Note that GLUT doesn't differentiate between mouse buttons when firing the event.

Typedef documentation

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

Set of mouse buttons.