#include "gwin.user.h"
main()
{
float x, y;
int event;
char key;

   USTART("high2",30.,600.,100.,300.);
   upset(G,"colo",1.0);
   uprint(G,5.,80.,"Place cursor in yellow area");
   uprint(G,5.,75.,"and press left mouse button.");
   udarea(G,50.,80.,50.,100.);
   uwindo(G,0.,50.,0.,50.);
   upset(G,"colo",5.0);
   uset(G,"fill");
   uoutln(G);
   uset(G,"nofi");
   upset(G,"colo",4.0);
   while (1){
      if(ugrin(G,&x,&y)) {UEND();exit(0);};
      umove(G,x-5.0,y);
      udraw(G,x+5.0,y);
      umove(G,x,y-5.0);
      udraw(G,x,y+5.0);
      uset(G,"fill");
      uplygn(G,x,y,4.0,4.0);
      uset(G,"nofi");
   }
}

