home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progc
/
teglc.arj
/
SAMC0419.C
< prev
next >
Wrap
Text File
|
1990-05-13
|
493b
|
31 lines
/* samc04019.c */
#include "teglsys.h"
void main()
{
imagestkptr fs1,fs2;
easytegl();
pushimage(1,1,100,100);
shadowbox(1,1,100,100);
fs1 = stackptr;
pushimage(50,50,150,150);
shadowbox(50,50,150,150);
fs2 = stackptr;
showmouse();
while(mouse_buttons == 0);
hideimage(fs2);
unlinkfs(fs2);
linkunderfs(fs2,fs1);
showimage(fs2,fs2->x,fs2->y);
while(mouse_buttons == 0);
abort_msg("");
}