get_color - Retrieves the specified palette entry. Allegro game programming library.
Contents
Description
Retrieves the specified palette entry. Example:
RGB color;
...
get_color(11, &color);
Name
get_color - Retrieves the specified palette entry. Allegro game programming library.
See Also
get_palette(3alleg4), set_color(3alleg4) Allegro version 4.4.3 get_color(3alleg4)
Synopsis
#include<allegro.h>voidget_color(intindex,RGB*p);
