Mark a control surface as damaged so that it will be redrawn
void PtDamageSurface( PtWidget_t *widget, PtSurface_t *surface ); void PtDamageSurfaceById( PtWidget_t *widget, unsigned char surface_id );
ph
These functions flag a control surface to be redrawn. The widget argument specifies the widget owning the surface. The functions differ in how they identify the control surface:
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
Control Surfaces chapter of the Photon Programmer's Guide