Rechercher une page de manuel
set_color.3alleg
Langue: en
Version: version 4.2.2 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
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 synchronisation, so you should call vsync() before it to prevent snow problems. Example:RGB rgb; ... vsync(); set_color(192, &rgb);
SEE ALSO
set_palette(3alleg), get_color(3alleg), _set_color(3alleg), ex12bit(3alleg), exrgbhsv(3alleg), exscroll(3alleg)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre