get_palette man page

get_palette — Retrieves the entire palette of 256 colors. Allegro game programming library.

Synopsis

#include <allegro.h>

void get_palette(PALETTE p);

Description

Retrieves the entire palette of 256 colors. You should provide an array of 256 RGB structures to store it in. Example:

PALETTE pal;
...
get_palette(pal);

See Also

get_palette_range(3), get_color(3), set_palette(3)

Referenced By

get_color(3), get_palette_range(3), set_palette(3).

version 4.4.2 Allegro Allegro manual