Silverfrost Logo About Us | Contact Us
 

SET_RGB_COLOURS_DEFAULT@

Platform

Win32(ClearWin+)

Purpose

To set the global default to RGB colour mode.

Syntax

SUBROUTINE SET_RGB_COLOURS_DEFAULT@( BOOL )
INTEGER BOOL

Description

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

Use an input value of 1 to change the default to RGB colour mode.

See also

USE_RGB_COLOURS@, %gr[rgb_colours]

 

 

Copyright © 1999-2017 Silverfrost Limited