Query: get_palette
OS: php
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
get_palette(3alleg4) Allegro manual get_palette(3alleg4)NAMEget_palette - Retrieves the entire palette of 256 colors. Allegro game programming library.SYNOPSIS#include <allegro.h> void get_palette(PALETTE p);DESCRIPTIONRetrieves 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 ALSOget_palette_range(3alleg4), get_color(3alleg4), set_palette(3alleg4) Allegro version 4.4.2 get_palette(3alleg4)