home *** CD-ROM | disk | FTP | other *** search
- /* test! */
-
- #include "SpinCursor.h"
-
- void main (void);
-
- void
- main (void)
- {
- short int i;
- CursErr err;
-
- InitGraf (&thePort);
- InitFonts ();
- FlushEvents (everyEvent, 0);
- InitWindows ();
- InitMenus ();
- TEInit ();
- InitDialogs (nil);
- InitCursor ();
-
- err = BeginResSpinning (128);
-
- FlushEvents (everyEvent, 0);
-
- while (!(Button ()))
- ;
-
- err = StopSpinning ();
- if (err) SysBeep (1);
- }