GLOW API version 1.0 reference

Back to
Table of contents


class GlowMouseData

General information

type: struct
inherits: (none)
module: glow

GlowMouseData encloses data sent to a GlowMouseFilter to allow it to filter keyboard events.

GLOW programs that need to filter keyboard events will need to use GlowMouseData.

Constants

Types of mouse events

enum GlowMouseData::EventType mouseDown

Mouse down event.

enum GlowMouseData::EventType mouseUp

Mouse up event.

Data

Event data

GlowSubwindow* subwindow

The subwindow receiving the event.

GlowMouseData::EventType type

The type of event.

Glow::MouseButton button

The mouse button pressed.

int x

The x position of the mouse pointer when the event occurred.

int y

The y position of the mouse pointer when the event occurred.

Glow::Modifiers modifiers

The modifier keys that were down when the event occurred.

Back to
Table of contents


The GLOW Toolkit