home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex154.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
617b
|
23 lines
// 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();
}