get_color.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

get_palette(3alleg), set_color(3alleg)