home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / disks / disk433.lzh / Gwin / exsrc.lzh / request.c < prev    next >
C/C++ Source or Header  |  1991-01-12  |  399b  |  22 lines

  1. #include "gwin.user.h"
  2. main()
  3. {
  4. float x,y;
  5. long code;
  6.  
  7.    ustart("low1",50.,200.,50.,200.);
  8.    upset("colo",1.0);
  9.    uprint(10.,90.,"Press left");
  10.    uprint(10.,80.,"mouse button...");
  11.    upset("colo",3.0);
  12.    umove(10.0,10.0);
  13.    udraw(70.0,70.0);
  14.    ugrin(&x,&y);
  15.    while(1){
  16.       code = uyorn("Quit session?","WHY NOT?  (Its stuck!)","NO",95.,30.);
  17.       if(code != 0)break;
  18.    }
  19.    uend();
  20. }
  21.  
  22.