Example: Defining the Current ColorThe Colors example shows how to define the current color for both 256-color and direct color virtual buffers. It is very similar to the First example, but Colors will obtain the display driver's color depth and create a 640x480 virtual buffer of that color depth. Like First, this virtual buffer is then filled with blue pixels.
|
 
copyright 2001 Ted Gruber Software, Inc.