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

  1. /*  samc0201.c  */
  2. /*  the minimum requirements for a program */
  3. /*  using TEGL Windows Toolkit II */
  4.  
  5. #include <graphics.h>
  6. #include "teglsys.h"
  7.  
  8. void main()
  9.   {
  10.     easytegl();
  11.  
  12.     /* insert your code here */
  13.  
  14.     pushimage(100,100,200,120);
  15.     shadowbox(100,100,200,120);
  16.     setcolor(BLACK);
  17.     outtegltextxy(105,105,"Hello world");
  18.  
  19.     /* then turn control over to supervisor */
  20.  
  21.     teglsupervisor();
  22.   }
  23.