LMMS
Loading...
Searching...
No Matches
PuglCrossingEvent Struct Reference

#include <pugl.h>

Public Attributes

PuglEventType type
 PUGL_POINTER_IN or PUGL_POINTER_OUT
PuglEventFlags flags
 Bitwise OR of PuglEventFlag values.
double time
 Time in seconds.
double x
 View-relative X coordinate.
double y
 View-relative Y coordinate.
double xRoot
 Root-relative X coordinate.
double yRoot
 Root-relative Y coordinate.
PuglMods state
 Bitwise OR of PuglMod flags.
PuglCrossingMode mode
 Reason for crossing.

Detailed Description

Pointer enter or leave event.

This event is sent when the pointer enters or leaves the view. This can happen for several reasons (not just the user dragging the pointer over the window edge), as described by the mode field.

Member Data Documentation

◆ flags

PuglEventFlags PuglCrossingEvent::flags

Bitwise OR of PuglEventFlag values.

◆ mode

PuglCrossingMode PuglCrossingEvent::mode

Reason for crossing.

◆ state

PuglMods PuglCrossingEvent::state

Bitwise OR of PuglMod flags.

◆ time

double PuglCrossingEvent::time

Time in seconds.

◆ type

PuglEventType PuglCrossingEvent::type

◆ x

double PuglCrossingEvent::x

View-relative X coordinate.

◆ xRoot

double PuglCrossingEvent::xRoot

Root-relative X coordinate.

◆ y

double PuglCrossingEvent::y

View-relative Y coordinate.

◆ yRoot

double PuglCrossingEvent::yRoot

Root-relative Y coordinate.


The documentation for this struct was generated from the following file: