fg_vbcolors()

Win32 DirectX Fastgraph/Light

Prototype

void fg_vbcolors (void);

Sub fg_vbcolors ()

procedure fg_vbcolors;

Description

The fg_vbcolors() function copies the colors from the current logical palette into the active virtual buffer's color table. It is usually called immediately after opening each 256-color virtual buffer for the first time (you do not need to use fg_vbcolors() with direct color virtual buffers).

Parameters

none

Return value

none

Restrictions

none

See also

fg_defpal(), fg_logpal(), fg_vbopen()

Examples

First and nearly all the other example programs use this function.

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.