1get_color(3) Allegro manual get_color(3)
23
4
NAME
6get_color - Retrieves the specified palette entry. Allegro game pro‐
7gramming library.
8
SYNOPSIS
10#include <allegro.h>
1112
13
void get_color(int index, RGB *p);
14
DESCRIPTION
16Retrieves the specified palette entry. Example:
1718
RGB color;
19...
20get_color(11, &color);
2122
SEE ALSO
24get_palette(3), set_color(3)
2526
27
28
Allegro version 4.2.2 get_color(3)