Contents

VC

VC

__VC_color

Syntax

int __VC_color(void* SPtr, short fc, short bc)

Description

Allocates a color pair and sets the window's active pointer to this

Return Value

The color pair

Cavaets

The color allocation scheme is a least-recently-used scheme. If you use too many color pairings on the screen, some will eventually become "aliased" to the same pairing. That means some colors will get hosed.


Author: Randall Maastop