1get_palette(3) Allegro manual get_palette(3)
23
4
NAME
6get_palette - Retrieves the entire palette of 256 colors. Allegro game
7programming library.
8
SYNOPSIS
10#include <allegro.h>
1112
13
void get_palette(PALETTE p);
14
DESCRIPTION
16Retrieves the entire palette of 256 colors. You should provide an array
17of 256 RGB structures to store it in. Example:
1819
PALETTE pal;
20...
21get_palette(pal);
2223
SEE ALSO
25get_palette_range(3), get_color(3), set_palette(3)
2627
28
29
Allegro version 4.4.3 get_palette(3)