home *** CD-ROM | disk | FTP | other *** search
- /*
- * egargb.h -- ega rgb help file.
- *
- * 4 june 1989 Olle Olsson
- */
-
- #include <graphics.h> /* for struct palettetype */
-
- typedef struct /* a screen color */
- {
- int r, g, b; /* the components */
- } rgb;
-
-
- void initshow( void );
- void endshow( void );
- void box( int x0, int y0, int x1, int y1, int color );
- int mkegacolor( rgb *color );
- void randrgb( rgb *color );
- void rgbtopal( rgb colors[], int ncolors, struct palettetype *ret_pal );
- void r_incdec( rgb *color, int increment_flag );
- void g_incdec( rgb *color, int increment_flag );
- void b_incdec( rgb *color, int increment_flag );
-