new shortcuts

* Ctrl+Q logout from game
* Ctrl+Shift+R reload scripts, instead of Ctrl+R that is now reserved for rule report
* Ctrl+A clean the chat text box
* Ctrl+F toggles fullscreen mode
This commit is contained in:
Eduardo Bart
2012-04-24 09:14:03 -03:00
parent efd17361f8
commit 7526315d12
4 changed files with 8 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ function GameInterface.init()
Keyboard.bindKeyPress('Escape', function() g_game.cancelAttackAndFollow() end, gameRootPanel, WALK_AUTO_REPEAT_DELAY)
Keyboard.bindKeyPress('Ctrl+=', function() gameMapPanel:zoomIn() end, gameRootPanel, 250)
Keyboard.bindKeyPress('Ctrl+-', function() gameMapPanel:zoomOut() end, gameRootPanel, 250)
Keyboard.bindKeyDown('Ctrl+Q', GameInterface.tryLogout, gameRootPanel)
if g_game.isOnline() then
GameInterface.show()