create_rgb_table man page on DragonFly

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

create_rgb_table(3)		Allegro manual		   create_rgb_table(3)

NAME
       create_rgb_table	 - Generates an RGB mapping table with lookup data for
       a palette. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       void create_rgb_table(RGB_MAP *table, const PALETTE pal,	 void  (*call‐
       back)(int pos));

DESCRIPTION
       Fills  the  specified RGB mapping table with lookup data for the speci‐
       fied palette. If the callback function is not NULL, it will  be	called
       256  times  during  the calculation, allowing you to display a progress
       indicator. Example:

	  RGB_MAP rgb_table;

	  create_rgb_table(&rgb_table, palette, NULL);
	  rgb_map = &rgb_table;

SEE ALSO
       rgb_map(3), ex3d(3), excolmap(3), exrgbhsv(3), exshade(3), extrans(3)

Allegro				 version 4.4.2		   create_rgb_table(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