replace require with dofile, rename Hotkeys to Keyboard

This commit is contained in:
Eduardo Bart
2012-02-06 02:39:52 -02:00
parent 64c9e4f1d5
commit f97104f12e
41 changed files with 284 additions and 126 deletions

View File

@@ -8,7 +8,7 @@ function UIItem:onDragEnter(mousePos)
self.parsed = false
self.currentDragThing = item
setTargetCursor()
Mouse.setTargetCursor()
return true
end
@@ -19,7 +19,7 @@ function UIItem:onDragLeave(widget, mousePos)
self.currentDragThing = nil
end
restoreCursor()
Mouse.restoreCursor()
self:setBorderWidth(0)
return true
end