Move a control surface in front of all other control surfaces belonging to a widget
int PtSurfaceToFront( PtWidget_t *widget, PtSurface_t *surface ); int PtSurfaceToFrontById( PtWidget_t *widget, unsigned char surface_id );
ph
These functions move a surface in front of all other surfaces belonging to the given widget. They differ in how they identify the control surface:
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtInsertSurface(), PtInsertSurfaceById(), PtSurfaceBrotherBehind(), PtSurfaceBrotherInFront(), PtSurfaceInBack(), PtSurfaceInFront(), PtSurfaceToBack(), PtSurfaceToBackById()
Control Surfaces chapter of the Photon Programmer's Guide