summaryrefslogtreecommitdiff
path: root/menu.bmx
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2007-10-13 00:02:13 +0000
committerIan C <ianc@noddybox.co.uk>2007-10-13 00:02:13 +0000
commit1a78945c445dd03f10de7edad944c486653c56b8 (patch)
tree5adc664c7fdd54ea2fc94dba11380b6a4655d7f4 /menu.bmx
parent5a8cc026cb6fc591795b8b8e0abec245771889bb (diff)
Added strict modeHEADmaster
Diffstat (limited to 'menu.bmx')
-rw-r--r--menu.bmx4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.bmx b/menu.bmx
index b441a0f..68e1c98 100644
--- a/menu.bmx
+++ b/menu.bmx
@@ -3,6 +3,8 @@
'
' $Id$
'
+Strict
+
Import noddybox.bitmapfont
Type TMenu
@@ -47,7 +49,7 @@ Type TMenu
For Local s:String=EachIn list
If (mx>xpos And mx<xpos+w And my>y And my<y+h)
- If KeyDown(KEY_MOUSELEFT)
+ If MouseDown(1)
mbdown=True
DrawImage(img,xpos,y+2)
font.Centre(s,y+yoff+2,255,255,0)