debian man page for set_color

Query: set_color

OS: debian

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

set_color(3alleg4)						  Allegro manual						set_color(3alleg4)

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(3alleg4), get_color(3alleg4), _set_color(3alleg4), ex12bit(3alleg4), exrgbhsv(3alleg4), exscroll(3alleg4) Allegro version 4.4.2 set_color(3alleg4)
Related Man Pages
rgb(3alleg4) - centos
exscroll(3alleg4) - redhat
exscroll(3alleg4) - php
exscroll(3alleg4) - plan9
exscroll(3alleg4) - osx
Similar Topics in the Unix Linux Community
How to set color in the xterm
Problems with set ColorDepth 8bit in solaris10X86
How to set colorscheme for a shell while/after logging in?