SET_RGB_COLOURS_DEFAULT@

Platform

Win32, x64

Purpose

To set the global default to either RGB or VGA colour mode.

Syntax

SUBROUTINE SET_RGB_COLOURS_DEFAULT@( BOOL )
INTEGER BOOL

Description

By default ClearWin+ operates in RGB colour mode. The alternative is VGA colour mode in which colours are represented by palette index values. RGB colour mode is recommended for new programs but this routine can be used to change to VGA colours when preferred. USE_RGB_COLOURS@ is similar but relates to a given drawing surface. See Graphics format for further details.

Use an input value of zero to change the default to VGA colour mode.

See also

USE_RGB_COLOURS@, %gr[rgb_colours]

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited