select_palette(3alleg4) v7 man page | unix.com

Man Page: select_palette

Operating Environment: v7

Section: 3alleg4

select_palette(3alleg4) 					  Allegro manual					   select_palette(3alleg4)

NAME
select_palette - Sets the internal palette for color conversion. Allegro game programming library. SYNOPSIS
#include <allegro.h> void select_palette(const PALETTE p); DESCRIPTION
Ugly hack for use in various dodgy situations where you need to convert between paletted and truecolor image formats. Sets the internal palette table in the same way as the set_palette() function, so the conversion will use the specified palette, but without affecting the display hardware in any way. The previous palette settings are stored in an internal buffer, and can be restored by calling unselect_pal- ette(). If you call select_palette() again, however, the internal buffer will be overwritten. SEE ALSO
set_palette(3alleg4), unselect_palette(3alleg4), exlights(3alleg4) Allegro version 4.4.2 select_palette(3alleg4)
Related Man Pages
expal(3alleg4) - debian
exscale(3alleg4) - debian
expal(3alleg4) - suse
expal(3alleg4) - netbsd
expal(3alleg4) - redhat
Similar Topics in the Unix Linux Community
Sort by values in the 1st row, leaving first four coulumns untouched
Read a file and save every word in a variable to use
Required libs to compile libXft
Cyber Dystopia Teaser (720 HD)
Bash - here document on RHEL 6.8 and 6.9 servers aren't working