Enable a control surface
void PtEnableSurface( PtWidget_t *widget, PtSurface_t *surface, unsigned long flags ); void PtEnableSurfaceById( PtWidget_t *widget, unsigned char surface_id, unsigned long flags );
ph
These functions enable a control surface, restoring it from a disabled state. The widget argument specifies the widget owning the surface. The functions differ in the way they identify the control surface:
The flags argument specifies additional action to take, and may include the following values:
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtDisableSurface(), PtDisableSurfaceByAction(), PtDisableSurfaceById(), PtEnableSurfaceByAction(), PtSurfaceIsDisabled(), PtSurfaceIsEnabled()
Control Surfaces chapter of the Photon Programmer's Guide