1get_palette(3)                  Allegro manual                  get_palette(3)
2
3
4

NAME

6       get_palette  - Retrieves the entire palette of 256 colors. Allegro game
7       programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void get_palette(PALETTE p);
14

DESCRIPTION

16       Retrieves the entire palette of 256 colors. You should provide an array
17       of 256 RGB structures to store it in. Example:
18
19          PALETTE pal;
20          ...
21          get_palette(pal);
22
23

SEE ALSO

25       get_palette_range(3), get_color(3), set_palette(3)
26
27
28
29Allegro                          version 4.2.3                  get_palette(3)
Impressum