PtSurfaceIsShown()

Determine if a control surface is shown

Synopsis:

int PtSurfaceIsShown( PtSurface_t *surface);

Arguments:

surface
A pointer to a PtSurface_t structure that describes the control surface.

Library:

ph

Description:

This macro evaluates to nonzero if the provided surface is being shown. Otherwise, it evaluates to 0.

Returns:

Nonzero if the surface is shown, 0 if it's hidden.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtHideSurface(), PtHideSurfaceByAction(), PtShowSurface(), PtShowSurfaceByAction(), PtSurfaceIsHidden()

Control Surfaces chapter of the Photon Programmer's Guide