get_color(3alleg4) | Allegro manual | get_color(3alleg4) |
get_color - Retrieves the specified palette entry. Allegro game programming library.
#include <allegro.h>
void get_color(int index, RGB *p);
Retrieves the specified palette entry. Example:
RGB color;
...
get_color(11, &color);
version 4.4.2 | Allegro |