home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1995 September / PCPRO2_995.ISO / virtek / dos / libex / libex133.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-16  |  675 b   |  18 lines

  1.                                         // Example: 133 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. short    count;
  4. short  main(void)
  5. {
  6.   dddInitAll();
  7.   dddSetDefaultMouseCursor();           // Set up for use, the normal default cursor shape.
  8.   for  (count=0; count<400; count++)    // Loop a few times.
  9.   {
  10.     dddCls();                           // Clear the screen.
  11.     dddReadMousePosition();             // Read the current mouse position.
  12.     dddDrawGraphicsMouse();             // Draw the mouse at the current position.
  13.     dddScreenSwap();                    // Swap the real and dummy screen areas.
  14.   }
  15.   dddRestoreAll();
  16.   return 0;
  17. }
  18.