Show a hidden control surface
int PtShowSurface( PtWidget_t *widget, PtSurface_t *surface ); int PtShowSurfaceById( PtWidget_t *widget, unsigned char surface_id );
ph
These functions show a control surface, restoring it from a hidden state. 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 |
PtHideSurface(), PtHideSurfaceByAction(), PtHideSurfaceById(), PtShowSurfaceByAction(), PtSurfaceIsHidden(), PtSurfaceIsShown()
Control Surfaces chapter of the Photon Programmer's Guide