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

  1. /*  samc0202.c    */
  2.  
  3. #include <graphics.h>
  4. #include "teglsys.h"
  5.  
  6. optionmptr  om1, om2;
  7.  
  8. unsigned getmssense(imagestkptr ifs, msclickptr ms)
  9.   {
  10.     setmousesense(ifs->x,ifs->y);
  11.     return(1);
  12.   }
  13.  
  14. void main()
  15.   {
  16.     easytegl();
  17.  
  18.     om1 = createoptionmenu(font14);
  19.     defineoptions(om1," Info... ", TRUE, NULL);
  20.     defineoptions(om1,"--",     FALSE, NULL);
  21.     defineoptions(om1," Quit ", TRUE, quit);
  22.  
  23.     om2 = createoptionmenu(font14);
  24.     defineoptions(om2," Memory ",TRUE,showcoordinates);
  25.     defineoptions(om2," Mouse sensitivity ",TRUE,getmssense);
  26.  
  27.     createbarmenu(0,0,getmaxx());
  28.     outbaroption(" File ",om1);
  29.     outbaroption(" Utility ",om2);
  30.  
  31.  
  32.     teglsupervisor();
  33.   }
  34.