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

#include <pugl.h>

Public Attributes

PuglEventType type
 PUGL_CONFIGURE
PuglEventFlags flags
 Bitwise OR of PuglEventFlag values.
PuglCoord x
 Parent-relative X coordinate of view.
PuglCoord y
 Parent-relative Y coordinate of view.
PuglSpan width
 Width of view.
PuglSpan height
 Height of view.

Detailed Description

View resize or move event.

A configure event is sent whenever the view is resized or moved. When a configure event is received, the graphics context is active but not set up for drawing. For example, it is valid to adjust the OpenGL viewport or otherwise configure the context, but not to draw anything.

Member Data Documentation

◆ flags

PuglEventFlags PuglConfigureEvent::flags

Bitwise OR of PuglEventFlag values.

◆ height

PuglSpan PuglConfigureEvent::height

Height of view.

◆ type

PuglEventType PuglConfigureEvent::type

◆ width

PuglSpan PuglConfigureEvent::width

Width of view.

◆ x

PuglCoord PuglConfigureEvent::x

Parent-relative X coordinate of view.

◆ y

PuglCoord PuglConfigureEvent::y

Parent-relative Y coordinate of view.


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