fix some keyboard issues, chat tab, fix loadScript exception

This commit is contained in:
Eduardo Bart
2012-01-13 18:37:44 -02:00
parent f57d46de0e
commit aae784468b
11 changed files with 62 additions and 29 deletions

View File

@@ -18,9 +18,9 @@ function Game.createInterface()
CharacterList.destroyLoadBox()
Game.gameUi = displayUI('game.otui')
rootWidget:moveChildToIndex(Game.gameUi, 1)
Game.gameMapPanel = Game.gameUi:getChildById('mapPanel')
Game.gameRightPanel = Game.gameUi:getChildById('rightPanel')
Game.gameBottomPanel = Game.gameUi:getChildById('bottomPanel')
Game.gameMapPanel = Game.gameUi:getChildById('gameMapPanel')
Game.gameRightPanel = Game.gameUi:getChildById('gameRightPanel')
Game.gameBottomPanel = Game.gameUi:getChildById('gameBottomPanel')
Game.gameUi.onKeyPress = onGameKeyPress
end

View File

@@ -4,7 +4,7 @@ UIGame
anchors.top: topMenu.bottom
InterfacePanel
id: rightPanel
id: gameRightPanel
width: 200
layout: verticalBox
anchors.right: parent.right
@@ -12,16 +12,17 @@ UIGame
anchors.bottom: parent.bottom
InterfacePanel2
id: bottomPanel
id: gameBottomPanel
height: 170
anchors.left: parent.left
anchors.right: rightPanel.left
anchors.right: gameRightPanel.left
anchors.bottom: parent.bottom
Map
id: mapPanel
id: gameMapPanel
anchors.left: parent.left
anchors.right: rightPanel.left
anchors.right: gameRightPanel.left
anchors.top: parent.top
anchors.bottom: bottomPanel.top
anchors.bottom: gameBottomPanel.top
focusable: false