FT_SETATTR()
Change color attributes of screen region
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_SETATTR( <nTRow>, <nLCol>, <nBRow>, <nRCol>, <nColor> ) -> NIL

Arguments

<nTRow>, <nLCol>, <nBRow>, and <nRCol> are the coordinates of the
screen region.

<nColor> is an integer representing the new color attribute.
The formula is:

nFore + ( nBack * 16 )

Returns

NIL

Description

This is a high speed function to change the colors of a specified
region of the screen without disturbing any text. Uses direct
video writes.

Examples

FT_SETATTR( 0, 0, MaxRow(), MaxCol(), 95 )

This example will change the entire screen's colors to bright white on
magenta without changing or overwriting any text on the screen.

Source: VIDEO1.C

Author: Robert A. DiFalco