source: buchla-68k/orig/DOC/PALETTE.TXT@ ee49131

Last change on this file since ee49131 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago

Imported original source code.

  • Property mode set to 100755
File size: 935 bytes
Line 
1The default color palette is defined in "\iolib\vsetpal.c".
2
3The symbolic contants for the colors are defined in "\lib\include\graphdef.h".
4
5--------------------------------------------------------------------------------
6
7short dfltpal[16][3] = { /* default color palette */
8
9/* R G B color */
10
11 {0, 0, 0}, /* 0: P_BLK Black */
12 {0, 1, 0}, /* 1: P_DKGRY Dark Gray */
13 {0, 0, 2}, /* 2: P_DKBLU Dark Blue */
14 {0, 0, 3}, /* 3: P_LTBLU Light Blue */
15 {0, 2, 0}, /* 4: P_DKGRN Dark Green */
16 {0, 3, 0}, /* 5: P_LTGRN Light Green */
17 {0, 2, 2}, /* 6: P_DKCYN Dark Cyan */
18 {0, 3, 3}, /* 7: P_LTCYN Light Cyan */
19 {3, 0, 0}, /* 8: P_RED Red */
20 {3, 1, 0}, /* 9: P_ORG Orange */
21 {3, 0, 3}, /* 10: P_PUR Purple */
22 {3, 1, 2}, /* 11: P_MGN Magenta */
23 {3, 2, 0}, /* 12: P_BRN Brown */
24 {2, 3, 0}, /* 13: P_YEL Yellow */
25 {2, 2, 2}, /* 14: P_LTGRY Light Gray */
26 {3, 3, 3}, /* 15: P_WHT White */
27};
28
Note: See TracBrowser for help on using the repository browser.