scripting and UI improvements

This commit is contained in:
Eduardo Bart
2011-05-01 15:47:35 -03:00
parent 3960240b8e
commit 32a8ed3871
23 changed files with 424 additions and 293 deletions

View File

@@ -4,22 +4,22 @@ window#enterGameWindow:
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
onLoad: self:getParent():lock(self)
onDestroy: self:getParent():unlock()
onDestroy: self:getParent():unlock(self)
label#accountNameLabel:
text: Account name
anchors.left: parent.left
anchors.top: parent.top
margin.left: 18
margin.top: 33
label#passwordLabel:
text: "Password:"
anchors.left: parent.left
anchors.top: parent.top
margin.left: 18
margin.top: 62
label#createAccountLabel:
text: |
If you don't have
@@ -35,6 +35,7 @@ window#enterGameWindow:
anchors.top: parent.top
margin.top: 94
margin.left: 132
onClick: messageBox("Error", "Not implemented yet")
button#okButton:
text: Ok
@@ -52,7 +53,7 @@ window#enterGameWindow:
margin.bottom: 10
margin.right: 13
onClick: self:getParent():destroy()
textEdit#accountNameTextEdit:
anchors.right: parent.right
anchors.top: parent.top
@@ -63,4 +64,4 @@ window#enterGameWindow:
anchors.right: parent.right
anchors.top: parent.top
margin.top: 61
margin.right: 18
margin.right: 18