home *** CD-ROM | disk | FTP | other *** search
- #include <exec/types.h>
- #include <intuition/intuition.h>
- #include <dos/dos.h>
-
- #include <clib/exec_protos.h>
-
- #include "Fade.h"
- #include "/utility.h"
-
- struct fPrefObject { LONG Delay; };
-
- extern struct fPrefObject nP;
- extern UBYTE *prefData;
-
- VOID blank( VOID )
- {
- struct fPrefObject *fP;
- struct Screen *FScr;
-
- if( FadeWnd ) fP = &nP;
- else fP = ( struct fPrefObject * )prefData;
-
- if( FScr = cloneTopScreen() ) {
- BlankMousePointer();
- if( fadeScreen( FScr, fP->Delay )) Wait( SIGBREAKF_CTRL_C );
- SetSignal( 0L, SIGBREAKF_CTRL_C );
- UnblankMousePointer();
- closeTopScreen( FScr );
- }
- }
-