select_palette man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

select_palette(3)		Allegro manual		     select_palette(3)

NAME
       select_palette  - Sets the internal palette for color conversion. Alle‐
       gro 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 hard‐
       ware in any way. The previous palette settings are stored in an	inter‐
       nal  buffer,  and can be restored by calling unselect_palette(). If you
       call select_palette() again, however, the internal buffer will be over‐
       written.

SEE ALSO
       set_palette(3), unselect_palette(3), exlights(3)

Allegro				 version 4.4.2		     select_palette(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net