GX*_GetVisibleWnd

Syntax

#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 gets the settings for the main graphics engine, and the GXS_GetVisibleWnd function gets the settings for the sub graphics engine.

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

2004/12/24 Initial version.


CONFIDENTIAL