home *** CD-ROM | disk | FTP | other *** search
- // Example: 154 from Library Reference
- #include "..\3D-Ware\dddware.h"
- void main(void)
- {
- dddInitAll();
- dddSetDefaultMouseCursor();
- dddCls();
- dddBox(2,10,10,310,190);
- dddBox(3,20,20,300,180);
- dddBox(4,30,30,290,170);
- dddPrint7(11,60,97,"PRESS ANY KEY TO EXIT");
- dddScreenSwap();
- dddSetLogbase2CurrentDisplay(); // Draw to the viewable screen.
- while (!dddkeycode)
- {
- dddHideGraphicsMouse();
- dddReadMousePosition();
- dddShowGraphicsMouse(); // Show the graphics mouse on the screen.
- dddVsync();
- }
- dddRestoreAll();
- }
-