home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex060.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
639b
|
23 lines
// Example: 060 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(); // Replace the saved background.
dddReadMousePosition();
dddShowGraphicsMouse(); // Draw the mouse cursor.
dddVsync();
}
dddRestoreAll();
}