home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / tegltc.zip / SAMPROGS / SAMC0418.C < prev    next >
Text File  |  1990-05-13  |  460b  |  30 lines

  1. /* samc04018.c */
  2.  
  3. #include "teglsys.h"
  4.  
  5.  
  6. void main()
  7.   {
  8.     imagestkptr fs;
  9.  
  10.     easytegl();
  11.  
  12.     pushimage(1,1,100,100);
  13.     shadowbox(1,1,100,100);
  14.     fs = stackptr;
  15.  
  16.     pushimage(50,50,150,150);
  17.     shadowbox(50,50,150,150);
  18.  
  19.     showmouse();
  20.     while(mouse_buttons == 0);
  21.  
  22.     hideimage(fs);
  23.     unlinkfs(fs);
  24.     linkfs(fs,stackptr);
  25.     showimage(fs,fs->x,fs->y);
  26.  
  27.     while(mouse_buttons == 0);
  28.     abort_msg("");
  29.   }
  30.