From b306315dd2c837e565c69a8a91875d7fc2f174c6 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 15 Nov 2005 00:09:30 +0000 Subject: Further updates for 1.12 --- simplegui.mod/simplegui.bmx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'simplegui.mod/simplegui.bmx') diff --git a/simplegui.mod/simplegui.bmx b/simplegui.mod/simplegui.bmx index f5d6394..f49c8dc 100644 --- a/simplegui.mod/simplegui.bmx +++ b/simplegui.mod/simplegui.bmx @@ -1164,8 +1164,8 @@ Type TGUIHandler Method EventLoop() Local x:Int=MouseX() Local y:Int=MouseY() - Local b:Int=KeyHit(MOUSE_LEFT)>0 - Local drag:Int=KeyDown(MOUSE_LEFT) + Local b:Int=MouseHit(1)>0 + Local drag:Int=MouseDown(1) Local w:TWidget=LocateWidget(x,y) @@ -1367,7 +1367,7 @@ Function GUIMenu(title:String, options:String[], x:Int, y:Int, i:TImage=Null) Local click:TWidget=Null - While click=Null And KeyHit(MOUSE_RIGHT)=0 + While click=Null And MouseHit(2)=0 Cls SetAlpha(0.5) DrawImage(back,0,0) -- cgit v1.2.3