USE_RGB_COLOURS@

Platform

Win32, x64

Purpose

To switch between colour modes on a drawing surface.

Syntax

INTEGER FUNCTION USE_RGB_COLOURS@( UID, BOOL )
INTEGER UID, BOOL 

Description

UID is the programmer's identifier for the drawing surface as used for example in SELECT_GRAPHICS_OBJECT@ and %'gr. If UID is zero then the current drawing surface is used. BOOL can be either 1 or 0. If it is 1 then the RGB colour mode will be used otherwise VGA colour mode (see Graphics format).

Return value

Returns 1 for success or zero if the identifier is not valid.

See also

SET_RGB_COLOURS_DEFAULT@, %gr[rgb_colours]

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited