get_color
Retrieves the specified palette entry. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
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);
get_palette(3alleg4), set_color(3alleg4)