Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

set_color(3alleg4) [debian man page]

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)

Check Out this Related Man Page

exscroll(3alleg4)						  Allegro manual						 exscroll(3alleg4)

NAME
exscroll - Mode-X hardware scrolling and split screens. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exscroll DESCRIPTION
This program demonstrates how to use hardware scrolling. The scrolling should work on anything that supports virtual screens larger than the physical screen. SEE ALSO
BITMAP(3alleg4), END_OF_MAIN(3alleg4), RGB(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_bitmap(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), clear_keybuf(3alleg4), create_sub_bitmap(3alleg4), desktop_palette(3alleg4), destroy_bitmap(3alleg4), install_keyboard(3alleg4), keypressed(3alleg4), rectfill(3alleg4), release_bitmap(3alleg4), screen(3alleg4), scroll_screen(3alleg4), set_color(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), vline(3alleg4) Allegro version 4.4.2 exscroll(3alleg4)
Man Page