home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 9
/
FreshFishVol9-CD2.bin
/
bbs
/
util
/
gblanker-38.8.lha
/
GBlanker
/
GSource
/
Blankers
/
main.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-05
|
724b
|
24 lines
#ifndef MAIN_H
#define MAIN_H
#include <clib/dos_protos.h>
extern struct Library *GarshnelibBase, *SysBase, *DOSBase, *GfxBase, *IntuitionBase;
LONG MessageServer( LONG );
LONG HandleSignal( LONG );
LONG ContinueBlanking( VOID );
VOID Complain( STRPTR );
VOID Defaults( PrefObject * );
LONG Blank( PrefObject * );
#define Inc( Value, Amt, Max ) (( Value + Amt > Max )?( Value = Max ):( Value = Value + Amt ))
#define Dec( Value, Amt, Min ) (( Value - Amt < Min )?( Value = Min ):( Value = Value - Amt ))
#define CompX( x ) ((( FontX * x ) + 3 ) / 6 )
#define CompY( x ) ((( FontY * x ) + 4 ) / 9 )
#define ComputeX( x ) ((( FontX * x ) + 3 ) / 6 )
#define ComputeY( x ) ((( FontY * x ) + 4 ) / 9 )
#endif /* MAIN_H */