home *** CD-ROM | disk | FTP | other *** search
- // Example: 133 from Library Reference
- #include "..\3D-Ware\dddware.h"
- short count;
- short main(void)
- {
- dddInitAll();
- dddSetDefaultMouseCursor(); // Set up for use, the normal default cursor shape.
- for (count=0; count<400; count++) // Loop a few times.
- {
- dddCls(); // Clear the screen.
- dddReadMousePosition(); // Read the current mouse position.
- dddDrawGraphicsMouse(); // Draw the mouse at the current position.
- dddScreenSwap(); // Swap the real and dummy screen areas.
- }
- dddRestoreAll();
- return 0;
- }
-