tibia-client/modules/mainmenu/ui/mainmenu.otml

48 lines
1.2 KiB
Plaintext
Raw Normal View History

2011-08-14 04:09:11 +02:00
Panel
2011-05-12 00:16:11 +02:00
skin: mainMenuBackground
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
anchors.bottom: parent.bottom
2011-05-01 20:47:35 +02:00
2011-08-14 04:09:11 +02:00
Panel
id: mainMenu
skin: roundedGridPanel
2011-08-14 04:09:11 +02:00
size: 144 162
anchors.left: parent.left
anchors.bottom: parent.bottom
margin.left: 60
margin.bottom: 70
2011-05-01 20:47:35 +02:00
2011-08-14 04:09:11 +02:00
Button
id: enterGameButton
text: Enter Game
anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter
margin.top: 18
2011-08-14 04:09:11 +02:00
onClick: rootWidget:addChild(loadUI("entergamewindow"))
2011-08-14 04:09:11 +02:00
Button
id: optionsButton
text: Options
anchors.top: prev.bottom
anchors.horizontalCenter: parent.horizontalCenter
margin.top: 10
2011-08-14 04:09:11 +02:00
onClick: rootWidget:addChild(loadUI("optionswindow"))
2011-08-14 04:09:11 +02:00
Button
id: infoButton
text: Info
anchors.top: prev.bottom
anchors.horizontalCenter: parent.horizontalCenter
margin.top: 10
2011-08-14 04:09:11 +02:00
onClick: rootWidget:addChild(loadUI("infowindow"))
2011-08-14 04:09:11 +02:00
Button
id: exitGameButton
text: Exit
anchors.top: prev.bottom
anchors.horizontalCenter: parent.horizontalCenter
margin.top: 10
2011-08-14 04:09:11 +02:00
onClick: exit()