Update Events¶
-
typedef PuglAnyEvent PuglUpdateEvent¶
View update event.
This is sent near the end of a main loop iteration when the view is potentially about to be redrawn. It can be used to mark regions for exposure with
puglObscureView()orpuglObscureRegion(). For example, to continuously animate, obscure the view whenever an update event is received, then receive and handle the expose event(s) shortly afterwards.
-
struct PuglExposeEvent¶
Expose event requiring a redraw.
This is sent when a region needs to be redrawn, with the graphics context entered and activated for drawing. The application must completely draw the given region.
-
PuglEventFlags flags¶
Bitwise OR of
PuglEventFlagvalues.
-
PuglEventFlags flags¶