1desktop_palette(3) Allegro manual desktop_palette(3)
2
3
4
6 desktop_palette - The palette used by the Atari ST low resolution desk‐
7 top. Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 extern PALETTE desktop_palette;
14
16 The palette used by the Atari ST low resolution desktop. I'm not quite
17 sure why this is still here, except that the grabber and test programs
18 use it. It is probably the only Atari legacy code left in Allegro, and
19 it would be a shame to remove it :-)
20
21 The contents of this palette are 16 colors repeated 16 times. Color
22 entry zero is equal to color entry 16, which is equal to color entry
23 24, etc.
24
25 Index Color RGB values
26 0 White 63 63 63
27 1 Red 63 0 0
28 2 Green 0 63 0
29 3 Yellow 63 63 0
30 4 Blue 0 0 63
31 5 Pink 63 0 63
32 6 Cyan 0 63 63
33 7 Grey 16 16 16
34 8 Light grey 31 31 31
35 9 Light red 63 31 31
36 10 Light green 31 63 31
37 11 Light yellow 63 63 31
38 12 Light blue 31 31 63
39 13 Light pink 63 31 63
40 14 Light cyan 31 63 63
41 15 Black 0 0 0
42
43
44
45
47 default_palette(3), black_palette(3)
48
49
50
51Allegro version 4.2.2 desktop_palette(3)