40 lines
762 B
Plaintext
40 lines
762 B
Plaintext
MenuButton < Button
|
|
margin.bottom: 11
|
|
margin.left: 20
|
|
margin.right: 20
|
|
|
|
|
|
Panel
|
|
id: mainMenuBackground
|
|
image:
|
|
source: /mainmenu/ui/background.png
|
|
smooth: true
|
|
anchors.fill: parent
|
|
focusable: false
|
|
|
|
RoundedPanel
|
|
id: mainMenu
|
|
size: 144 162
|
|
anchors.left: parent.left
|
|
anchors.bottom: parent.bottom
|
|
margin.left: 60
|
|
margin.bottom: 70
|
|
layout: verticalBox
|
|
|
|
MenuButton
|
|
text: Enter Game
|
|
margin.top: 18
|
|
onClick: EnterGame.create()
|
|
|
|
MenuButton
|
|
text: Options
|
|
onClick: UI.loadAndDisplayLocked("/mainmenu/ui/optionswindow.otui")
|
|
|
|
MenuButton
|
|
text: Info
|
|
onClick: UI.loadAndDisplayLocked("/mainmenu/ui/infowindow.otui")
|
|
|
|
MenuButton
|
|
text: Exit
|
|
onClick: exit()
|