tibia-client/modules/client_topmenu/topmenu.otui

76 lines
1.4 KiB
Plaintext
Raw Normal View History

2012-01-07 18:36:58 +01:00
TopButton < UIButton
background-color: white
size: 26 26
text-translate: 0 0
border-image:
source: /core_styles/images/top_button.png
clip: 0 0 26 26
border: 3
$hover:
border-image:
source: /core_styles/images/top_button.png
clip: 26 0 26 26
border: 3
$pressed:
text-translate: 1 1
border-image:
source: /core_styles/images/top_button.png
clip: 52 0 26 26
border: 3
2011-11-01 17:41:15 +01:00
2012-01-07 18:36:58 +01:00
$disabled:
background-color: #ffffff66
TopLeftButton < TopButton
$first:
2011-11-01 17:41:15 +01:00
anchors.top: parent.top
anchors.left: parent.left
2011-11-17 22:41:02 +01:00
margin-top: 4
margin-left: 6
2011-11-01 17:41:15 +01:00
2012-01-07 18:36:58 +01:00
$!first:
2011-11-01 17:41:15 +01:00
anchors.top: prev.top
anchors.left: prev.right
2011-11-17 22:41:02 +01:00
margin-left: 6
2011-11-01 17:41:15 +01:00
2012-01-07 18:36:58 +01:00
TopRightButton < TopButton
$first:
2011-11-01 17:41:15 +01:00
anchors.top: parent.top
anchors.right: parent.right
2011-11-17 22:41:02 +01:00
margin-top: 4
margin-right: 6
2011-11-01 17:41:15 +01:00
2012-01-07 18:36:58 +01:00
$!first:
anchors.top: prev.top
anchors.right: prev.left
2011-11-17 22:41:02 +01:00
margin-right: 6
2012-01-07 18:36:58 +01:00
TopPanel
id: topMenu
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
focusable: false
Panel
id: leftButtonsPanel
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: next.left
Panel
id: rightButtonsPanel
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.right: parent.right
width: 60
2011-11-12 01:33:03 +01:00
FrameCounter
2011-11-17 01:12:11 +01:00
id: frameCounter
2011-11-12 01:33:03 +01:00
anchors.top: parent.top
anchors.right: prev.left
2011-11-17 22:41:02 +01:00
margin-top: 8
margin-right: 12