%window#enterGameWindow title: Enter Game size: [236, 178] anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter onLoad: self:setLocked() %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 an account yet anchors.left: parent.left anchors.top: parent.top margin.left: 18 margin.top: 87 %button#createAccountButton text: Create Account anchors.left: parent.left anchors.top: parent.top margin.top: 94 margin.left: 132 onClick: displayErrorBox("Error", "Not implemented yet") %button#okButton text: Ok size: [43, 20] anchors.right: parent.right anchors.bottom: parent.bottom margin.bottom: 10 margin.right: 66 onClick: EnterGame_connectToLoginServer() %button#cancelButton text: Cancel size: [43, 20] anchors.right: parent.right anchors.bottom: parent.bottom margin.bottom: 10 margin.right: 13 onClick: self.parent:destroy() %textEdit#accountNameTextEdit anchors.right: parent.right anchors.top: parent.top margin.top: 32 margin.right: 18 %textEdit#passwordTextEdit anchors.right: parent.right anchors.top: parent.top margin.top: 61 margin.right: 18