GWM_GETCI

Inquire the number of colours and the colour indices

Description:

Inquire the number of colours and the colour indices allocated to the given window.

Invocation

CALL GWM_GETCI( WNAME, IDIM, INDEXS, NCOLS, STATUS )

Arguments

WNAME = CHARACTER() (Given)
The window name.
IDIM = INTEGER (Given)
The declared size of the INDEXS array.
INDEXS = INTEGER(IDIM) (Returned)
Array containing the colour indices allocated to the window. If the number of allocated colours (NCOLS) is greater than the array size (IDIM) only the first IDIM indices are returned.
NCOLS = INTEGER (Returned)
The number of colours allocated to the window.
STATUS = INTEGER (Given and Returned)
The global status.