Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
get_palette(3)			 Allegro manual 		  get_palette(3)

NAME
     get_palette - Retrieves the entire palette of 256 colors. Allegro game pro-
     gramming 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)

Allegro 			  version 4.4.3 		  get_palette(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=get_palette&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help