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

NAME

6       get_color  -  Retrieves  the specified palette entry. Allegro game pro‐
7       gramming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void get_color(int index, RGB *p);
14

DESCRIPTION

16       Retrieves the specified palette entry. Example:
17
18          RGB color;
19          ...
20          get_color(11, &color);
21
22

SEE ALSO

24       get_palette(3), set_color(3)
25
26
27
28Allegro                          version 4.2.3                    get_color(3)
Impressum