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

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