home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
graphic
/
dwb
/
convert
/
display2.h
< prev
next >
Wrap
Text File
|
1990-05-29
|
916b
|
34 lines
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE !FALSE
#endif
#define BPP 4 /* Bits per pixel */
#define MAXROW 600 /* Rows run 0-199 */
#define MAXCOL 800 /* Cols run 0-319 */
#define COLORS 256
#define BITS 8 /* 2^BITS == COLORS */
#define TMPCOLORS 4096 /* colors in TMP file, 0..4095 */
#define MAXBYTE 100 /* MAXCOL / 8 */
#define DEPTH 6
#define MAXGRAY (1 << BPP)
#define PPW (sizeof( int ) * 8 / BPP)
#define WPSL (MAXCOL/PPW)
#define ABS(x) ((x) < 0 ? -(x) : (x))
typedef int scanlinetype[3][WPSL];
typedef unsigned char byte;
#define RED 0 /* color indices into 'line' */
#define GREEN 1
#define BLUE 2
int gifPixel( short );
int gifFlush( void );