Query: get_color
OS: opendarwin
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
get_color(3alleg4) Allegro manual get_color(3alleg4)NAMEget_color - Retrieves the specified palette entry. Allegro game programming library.SYNOPSIS#include <allegro.h> void get_color(int index, RGB *p);DESCRIPTIONRetrieves the specified palette entry. Example: RGB color; ... get_color(11, &color);SEE ALSOget_palette(3alleg4), set_color(3alleg4) Allegro version 4.4.2 get_color(3alleg4)