Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

default_palette(3alleg4) [v7 man page]

default_palette(3alleg4)					  Allegro manual					  default_palette(3alleg4)

NAME
default_palette - The default IBM BIOS palette. Allegro game programming library. SYNOPSIS
#include <allegro.h> extern PALETTE default_palette; DESCRIPTION
The default IBM BIOS palette. This will be automatically selected whenever you set a new graphics mode. The palette contains 16 basic col- ors plus many gradients between them. If you want to see the values, you can write a small Allegro program which saves a screenshot with this palette, or open the grabber tool provided with Allegro and create a new palette object, which will use this palette by default. SEE ALSO
black_palette(3alleg4), desktop_palette(3alleg4), exjoy(3alleg4) Allegro version 4.4.2 default_palette(3alleg4)

Check Out this Related Man Page

desktop_palette(3alleg4)					  Allegro manual					  desktop_palette(3alleg4)

NAME
desktop_palette - The palette used by the Atari ST low resolution desktop. Allegro game programming library. SYNOPSIS
#include <allegro.h> extern PALETTE desktop_palette; DESCRIPTION
The palette used by the Atari ST low resolution desktop. I'm not quite sure why this is still here, except that the grabber and test pro- grams use it. It is probably the only Atari legacy code left in Allegro, and it would be a shame to remove it :-) The contents of this palette are 16 colors repeated 16 times. Color entry zero is equal to color entry 16, which is equal to color entry 24, etc. Index Color RGB values 0 White 63 63 63 1 Red 63 0 0 2 Green 0 63 0 3 Yellow 63 63 0 4 Blue 0 0 63 5 Pink 63 0 63 6 Cyan 0 63 63 7 Grey 16 16 16 8 Light grey 31 31 31 9 Light red 63 31 31 10 Light green 31 63 31 11 Light yellow 63 63 31 12 Light blue 31 31 63 13 Light pink 63 31 63 14 Light cyan 31 63 63 15 Black 0 0 0 SEE ALSO
default_palette(3alleg4), black_palette(3alleg4) Allegro version 4.4.2 desktop_palette(3alleg4)
Man Page