WXP version 5
File Reference

Color Table File (.clr)

This file contains the color table information used to set color index and names for WXP programs.  In other words, it list the valid colors that can be used in a WXP program.

FORMAT

Each line of this file contains the color information for a specific color:

[index] name red green blue

where:

Up to 256 colors may be specified in the file. If the index is not specified, the indices start with 0 and increment by one for each line in the file.

End Keyword

A line containing just the word "end" represents the end of the color fill contour colors.  In the first color table database, the color fill resource defaults to all the colors listed.  The end keyword terminates the color fill sequence if the whole file is not part of the color fill pattern.

EXAMPLES

Here is the wxp.clr color database file.

Black      0.0     0.0     0.0
White      1.0     1.0     1.0
Red        0.7     0.0     0.0
Green      0.0     0.7     0.0
Blue       0.0     0.0     0.7
Yellow     1.0     1.0     0.3
Cyan       0.0     0.7     0.7
Magenta    0.7     0.0     0.7
DGray      0.3     0.3     0.3
LGray      0.7     0.7     0.7
LRed       1.0     0.3     0.3
LGreen     0.3     1.0     0.3
LBlue      0.3     0.3     1.0
Brown      0.7     0.7     0.0
LCyan      0.3     1.0     1.0
LMagenta   1.0     0.3     1.0

SEE ALSO


Last updated August 10, 1998