add splitter widget

* add horizontal/vertical cursor
* possibildiade to resize game map with the new splitter widget
* fix reload warnings in textmessage
This commit is contained in:
Eduardo Bart
2012-03-22 22:52:31 -03:00
parent 33458a3e39
commit 79a1d66f3f
9 changed files with 99 additions and 2 deletions

View File

@@ -94,6 +94,10 @@ function TextMessage.terminate()
disconnect(g_game, { onDeath = TextMessage.displayDeadMessage,
onTextMessage = TextMessage.display,
onGameEnd = TextMessage.clearMessages })
removeEvent(GameInterface.getMapPanel():recursiveGetChildById('centerWarning').hideEvent)
removeEvent(GameInterface.getMapPanel():recursiveGetChildById('centerAdvance').hideEvent)
removeEvent(GameInterface.getMapPanel():recursiveGetChildById('centerInfo').hideEvent)
removeEvent(GameInterface.getMapPanel():recursiveGetChildById('bottomStatus').hideEvent)
centerTextMessagePanel:destroy()
centerTextMessagePanel = nil
bottomStatusLabel:destroy()