set_color man page on DragonFly

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

set_color(3)			Allegro manual			  set_color(3)

NAME
       set_color  -  Sets  the	specified  palette  entry to the specified RGB
       triplet. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       void set_color(int index, const RGB *p);

DESCRIPTION
       Sets the specified palette entry to the specified RGB  triplet.	Unlike
       the  other  palette  functions this doesn't do any retrace synchronisa‐
       tion, so you should call vsync() before it to  prevent  snow  problems.
       Example:

	  RGB rgb;
	  ...
	  vsync();
	  set_color(192, &rgb);

SEE ALSO
       set_palette(3),	get_color(3),  _set_color(3), ex12bit(3), exrgbhsv(3),
       exscroll(3)

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