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

  1. /* samc0409.c */
  2.  
  3. #include <graphics.h>
  4. #include "teglsys.h"
  5.  
  6.  
  7. void main()
  8.   {
  9.     imagestkptr fs;
  10.  
  11.     easytegl();
  12.  
  13.     pushimage(1,1,100,100);
  14.     shadowbox(1,1,100,100);
  15.     fs = stackptr;
  16.  
  17.     pushimage(50,50,150,150);
  18.     shadowbox(50,50,150,150);
  19.     showmouse();
  20.  
  21.  
  22.     while( mouse_buttons == 0 );
  23.  
  24.     prepareforupdate(fs);
  25.     setcolor(BLUE);
  26.     circle(fs->x+48,fs->y+45,50);
  27.     commitupdate();
  28.  
  29.  
  30.     while( mouse_buttons == 0 );
  31.     abort_msg("");
  32.  
  33.   }
  34.