PT
Developer Forums
Register
Login
Code Snippets
->
button function
<
1
>
C
Chenak
Joined:
13th Sep 2002
Location:
United Kingdom
Posted:
22nd Dec 2002 23:33
d'oh! heres the full thing
function button(x1,x2,y1,y2,mode)
qx=mousex()
qy=mousey()
if qx>x1 and qxy1 and qy
C
Chenak
Joined:
13th Sep 2002
Location:
United Kingdom
Posted:
22nd Dec 2002 23:35
function menubutton(x1,x2,y1,y2,mode)
qx=mousex()
qy=mousey()
if qx>x1 and qx<x2
if qy>y1 and qy<y2
if mouseclick()=1
endif
endif
endif
endfunction