table of contents
get_color(3) | Allegro manual | get_color(3) |
NAME¶
get_color - Retrieves the specified palette entry. Allegro game programming library.
SYNOPSIS¶
#include <allegro.h>
void get_color(int index, RGB *p);
DESCRIPTION¶
Retrieves the specified palette entry. Example:
RGB color;
...
get_color(11, &color);
SEE ALSO¶
version 4.4.3 | Allegro |