home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / tegltc.zip / SAMPROGS / CARDTST.C < prev    next >
Text File  |  1990-06-29  |  867b  |  35 lines

  1. /*---------------------------------------------------------------------------*
  2.  |               TEGL Windows ToolKit II                 |
  3.  |          Copyright (C) 1990, TEGL Systems Corporation             |
  4.  |                All Rights Reserved.                 |
  5.  *---------------------------------------------------------------------------*/
  6.  
  7. /*
  8. Before you can compile and run this program, you are required to generate
  9. the cardtst.con (constant) file from cardtst.def using the ICONEDIT program.
  10. */
  11.  
  12. #include <dos.h>
  13. #include <stdlib.h>
  14. #include <stdio.h>
  15. #include <string.h>
  16. #include <graphics.h>
  17. #include "teglsys.h"
  18. #include "cardtst.con"
  19.  
  20. void main()
  21. {
  22.    unsigned  x, y;
  23.  
  24.    setvideochoices(TG_VGA,FALSE);
  25.    easytegl();
  26.  
  27.    x = 100;
  28.    y = 100;
  29.    pushimage(x,y,x+92,y+102);
  30.    shadowbox(x,y,x+92,y+102);
  31.    putpict(x+1,y+1,imageCARDTST,BLACK);
  32.  
  33.    teglsupervisor();
  34. }
  35.