Query: set_palette
OS: mojave
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
set_palette(3alleg4) Allegro manual set_palette(3alleg4)NAMEset_palette - Sets the entire palette of 256 colors. Allegro game programming library.SYNOPSIS#include <allegro.h> void set_palette(const PALETTE p);DESCRIPTIONSets the entire palette of 256 colors. You should provide an array of 256 RGB structures. Unlike set_color(), there is no need to call vsync() before this function. Example: BITMAP *bmp; PALETTE palette; ... bmp = load_bitmap(filename, palette); if (!bmp) abort_on_error("Couldn't load bitmap!"); set_palette(palette);SEE ALSOset_gfx_mode(3alleg4), set_palette_range(3alleg4), set_color(3alleg4), get_palette(3alleg4), select_palette(3alleg4), pal- ette_color(3alleg4) Allegro version 4.4.2 set_palette(3alleg4)
Related Man Pages |
---|
exscroll(3alleg4) - suse |
exscale(3alleg4) - centos |
exscale(3alleg4) - opendarwin |
exscale(3alleg4) - linux |
exscale(3alleg4) - v7 |
Similar Topics in the Unix Linux Community |
---|
Gnuplot question: plotting 3D data in map view |
range patterns in awk |
gnuplot easy histogram |
Ncurses colors |