home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CGAZV5N3.ZIP
/
PALETTE.H
< prev
next >
Wrap
Text File
|
1991-03-01
|
1KB
|
20 lines
/********* Listing 3 *************************** PALETTE.H **********
* *
* DESCRIPTION: Functions for manipulating EGA/VGA color palettes *
* COMPILER(s): Borland 2.0+, MS 5.0+, Zortech C/C++ 2.0+ *
* AUTHOR: Marv Luse, Autumn Hill Software, Inc. *
* COPYRIGHT: Use freely but acknowledge authorship. *
********************************************************************/
void far * get_save_ptr( void );
void set_save_ptr( void far * ptbl );
void init_save_area( int init_palette );
void restore_save_area( int reinit_palette );
int is_vga_color( void );
int is_ega_color( void );
int get_ega_pal_register( int reg_no );
void set_ega_pal_register( int reg_no, int reg_val );
int get_vga_pal_register( int reg_no );
void set_vga_pal_register( int reg_no, int reg_val );
void get_vga_dac_register( int reg_no, unsigned char rgb[] );
void set_vga_dac_register( int reg_no, unsigned char rgb[] );