GX*_GetVisibleWnd

C Specification

#include <nitro/gx/gx.h>

int GX_GetVisibleWnd( void );
int GXS_GetVisibleWnd( void );

Arguments

None.

Return Values

Obtains the display window with the logical sum of GXWndMask type.

Description

Obtains the window settings of the display. The function returns the logical sum of GXWndMask values. The GX_GetVisibleWnd function obtains the main graphics engine setting, and the GXS_GetVisibleWnd function obtains the sub graphics engine setting.

GX_WNDMASK_NONE Indicates that nothing is visible.
GX_WNDMASK_W0 Indicates that window 0 is active.
GX_WNDMASK_W1 Indicates that window 1 is active.
GX_WNDMASK_OW Indicates that OBJ window feature is active.

The type definition of GXWndMask type is shown below.

typedef enum
{
GX_WNDMASK_NONE = 0x00,
GX_WNDMASK_W0 = 0x01,
GX_WNDMASK_W1 = 0x02,
GX_WNDMASK_OW = 0x04
}
GXWndMask;

See Also

GX_GetVisiblePlane, GX_SetVisibleWnd, GXS_SetVisibleWnd

Revision History

12/24/2004 Initial version.