2011-07-13 23:12:36 +02:00
|
|
|
%panel#background
|
2011-05-12 00:16:11 +02:00
|
|
|
skin: mainMenuBackground
|
2011-04-19 04:10:08 +02:00
|
|
|
anchors.left: parent.left
|
2011-04-22 15:49:46 +02:00
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: parent.top
|
2011-04-19 04:10:08 +02:00
|
|
|
anchors.bottom: parent.bottom
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%panel#mainMenu
|
2011-04-22 15:49:46 +02:00
|
|
|
skin: roundedGridPanel
|
|
|
|
size: [117, 171]
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
margin.left: 60
|
|
|
|
margin.bottom: 70
|
2011-05-01 20:47:35 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%button#enterGameButton
|
2011-04-22 15:49:46 +02:00
|
|
|
text: Enter Game
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
margin.top: 16
|
2011-07-17 08:56:57 +02:00
|
|
|
onClick: UI.load("entergamewindow")
|
2011-04-19 04:10:08 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%button#accessAccountButton
|
2011-04-22 15:49:46 +02:00
|
|
|
text: Access Account
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
margin.top: 46
|
2011-07-17 08:56:57 +02:00
|
|
|
onClick: displayErrorBox("Error", "Not implemented yet")
|
2011-04-19 04:10:08 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%button#optionsButton
|
2011-04-22 15:49:46 +02:00
|
|
|
text: Options
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
margin.top: 76
|
2011-07-17 08:56:57 +02:00
|
|
|
onClick: UI.load("optionswindow")
|
2011-04-19 04:10:08 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%button#infoButton
|
2011-04-22 15:49:46 +02:00
|
|
|
text: Info
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
margin.top: 106
|
2011-07-17 08:56:57 +02:00
|
|
|
onClick: UI.load("infowindow")
|
2011-04-19 04:10:08 +02:00
|
|
|
|
2011-07-13 23:12:36 +02:00
|
|
|
%button#exitGameButton
|
2011-04-22 15:49:46 +02:00
|
|
|
text: Exit
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
margin.top: 136
|
2011-07-17 08:56:57 +02:00
|
|
|
onClick: terminateApplication()
|