CBL_SCR_GET_ATTR_INFO

Returns information about the attribute system for the environment.

Syntax:
call "CBL_SCR_GET_ATTR_INFO" using      attribute-info
                             returning status-code
Parameters:
Using call prototype (see Library Routines - Key) Picture (32-bit systems)
attribute-info Group predefined as cblt-gai-display-class containing: Group containing:
  cblte-gai-display-class   cblt-x1-compx   pic x comp-x.
  cblte-gai-colormap-size   cblt-x2-compx   pic x(2) comp-x.
  cblte-gai-colormap-flags   cblt-x1-compx   pic x comp-x.
  cblte-gai-bits-per-gun   cblt-x1-compx   pic x comp-x.
status-code See Library Routines - Key
On Entry:
None
On Exit:
cblte-gai-display-class The class of the environment:
1 Monochrome
2 Read-only colormap
3 Read/write colormap
4 Read-only decomposed colormap
5 Read/write decomposed colormap
cblte-gai-colormap-size Number of entries on the colormap.
cblte-gai-colormap-flags Bits set as follows:
Bit Meaning
0
1 The colormap is read-write.
0 The colormap is read-only.
1
1 Environment allows virtual colormaps to be created.
0 Environment does not allow virtual colormaps to be created.
2
1 Reading back attributes read back the values written
0 Read back what is currently on the screen
cblte-gai-bits-per-gun Number of significant bits of the RGB values that are actually used to drive the hardware. A value of zero indicates that the number of bits is unknown for the environment. If different guns have different numbers of significant bits the lowest number of bits is used.
See Also: