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

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