You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.5 KiB
71 lines
1.5 KiB
13 years ago
|
TopPanel
|
||
|
id: topMenu
|
||
|
anchors.top: parent.top
|
||
|
anchors.left: parent.left
|
||
|
anchors.right: parent.right
|
||
|
focusable: false
|
||
|
|
||
|
TopButton
|
||
13 years ago
|
id: settingsButton
|
||
13 years ago
|
anchors.top: parent.top
|
||
|
anchors.left: parent.left
|
||
13 years ago
|
margin-top: 4
|
||
|
margin-left: 6
|
||
13 years ago
|
tooltip: Options
|
||
13 years ago
|
icon: /core_styles/icons/settings.png
|
||
13 years ago
|
@onClick: Options.create()
|
||
13 years ago
|
|
||
|
|
||
|
TopButton
|
||
13 years ago
|
id: enterGameButton
|
||
13 years ago
|
anchors.top: prev.top
|
||
|
anchors.left: prev.right
|
||
13 years ago
|
margin-left: 6
|
||
13 years ago
|
tooltip: Enter game with a character
|
||
13 years ago
|
icon: /core_styles/icons/login.png
|
||
13 years ago
|
@onClick: |
|
||
13 years ago
|
if Game.isOnline() then
|
||
|
CharacterList.show()
|
||
|
else
|
||
|
EnterGame.show()
|
||
|
end
|
||
13 years ago
|
|
||
13 years ago
|
TopButton
|
||
|
id: motdButton
|
||
|
anchors.top: prev.top
|
||
|
anchors.left: prev.right
|
||
13 years ago
|
margin-left: 6
|
||
13 years ago
|
tooltip: Message of the day
|
||
13 years ago
|
icon: /core_styles/icons/motd.png
|
||
13 years ago
|
visible: false
|
||
|
@onClick: EnterGame.displayMotd()
|
||
13 years ago
|
|
||
13 years ago
|
TopButton
|
||
|
anchors.top: parent.top
|
||
|
anchors.right: parent.right
|
||
13 years ago
|
margin-top: 4
|
||
|
margin-right: 6
|
||
13 years ago
|
tooltip: Logout
|
||
13 years ago
|
icon: /core_styles/icons/logout.png
|
||
13 years ago
|
@onClick: |
|
||
13 years ago
|
if Game.isOnline() then
|
||
|
Game.logout(false)
|
||
|
else
|
||
|
exit()
|
||
|
end
|
||
13 years ago
|
|
||
13 years ago
|
TopButton
|
||
|
anchors.top: parent.top
|
||
|
anchors.right: prev.left
|
||
13 years ago
|
margin-top: 4
|
||
|
margin-right: 6
|
||
13 years ago
|
tooltip: About OTClient
|
||
13 years ago
|
icon: /core_styles/icons/about.png
|
||
13 years ago
|
@onClick: About.create()
|
||
13 years ago
|
|
||
13 years ago
|
FrameCounter
|
||
13 years ago
|
id: frameCounter
|
||
13 years ago
|
anchors.top: parent.top
|
||
|
anchors.right: prev.left
|
||
13 years ago
|
margin-top: 8
|
||
|
margin-right: 12
|