home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d5xx
/
d571
/
gwin.lha
/
Gwin
/
Examples
/
request.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-12-22
|
436b
|
22 lines
#include "gwin.user.h"
main()
{
float x,y;
long code;
USTART("low1",50.,200.,50.,200.);
upset(G,"colo",1.0);
uprint(G,10.,90.,"Press left");
uprint(G,10.,80.,"mouse button...");
upset(G,"colo",3.0);
umove(G,10.0,10.0);
udraw(G,70.0,70.0);
if(ugrin(G,&x,&y)){UEND();exit(0);};
while(1){
code = uyorn(G,"Quit session?","WHY NOT? (Its stuck!)","NO",95.,30.);
if(code != 0)break;
}
UEND();
}