2012-01-07 18:36:58 +01:00
|
|
|
TopButton < UIButton
|
|
|
|
size: 26 26
|
2012-02-20 03:27:08 +01:00
|
|
|
image-source: images/top_button.png
|
2012-01-10 23:13:40 +01:00
|
|
|
image-clip: 0 0 26 26
|
|
|
|
image-border: 3
|
2012-01-15 16:13:22 +01:00
|
|
|
image-color: #ffffffff
|
|
|
|
icon-color: #ffffffff
|
2012-01-07 18:36:58 +01:00
|
|
|
|
2012-02-06 02:44:47 +01:00
|
|
|
$hover !disabled:
|
2012-01-15 16:13:22 +01:00
|
|
|
image-color: #ffffff99
|
2012-01-10 23:13:40 +01:00
|
|
|
image-clip: 26 0 26 26
|
2012-01-07 18:36:58 +01:00
|
|
|
|
|
|
|
$pressed:
|
2012-01-10 23:13:40 +01:00
|
|
|
image-clip: 52 0 26 26
|
2011-11-01 17:41:15 +01:00
|
|
|
|
2012-01-07 18:36:58 +01:00
|
|
|
$disabled:
|
2012-01-15 16:13:22 +01:00
|
|
|
image-color: #ffffff44
|
|
|
|
icon-color: #ffffff44
|
|
|
|
|
2012-03-23 14:48:05 +01:00
|
|
|
TopToggleButton < UIButton
|
2012-01-15 16:13:22 +01:00
|
|
|
size: 26 26
|
2012-02-20 03:27:08 +01:00
|
|
|
image-source: images/top_game_button.png
|
2012-01-15 16:13:22 +01:00
|
|
|
image-clip: 26 0 26 26
|
2012-08-06 22:19:32 +02:00
|
|
|
image-color: #ffffffff
|
2012-01-15 16:13:22 +01:00
|
|
|
image-border: 3
|
2012-02-20 03:27:08 +01:00
|
|
|
icon-color: #ffffffff
|
2012-01-15 16:13:22 +01:00
|
|
|
|
2012-03-23 14:48:05 +01:00
|
|
|
$on:
|
2012-01-15 16:13:22 +01:00
|
|
|
image-clip: 0 0 26 26
|
|
|
|
image-color: #ffffffff
|
|
|
|
icon-color: #ffffffff
|
|
|
|
|
2012-02-20 03:27:08 +01:00
|
|
|
TopMenuButtonsPanel < Panel
|
|
|
|
layout:
|
|
|
|
type: horizontalBox
|
|
|
|
spacing: 4
|
|
|
|
fit-children: true
|
|
|
|
padding: 6 4
|
|
|
|
|
2012-08-24 10:18:15 +02:00
|
|
|
TopMenuPanel < Panel
|
2012-02-20 03:27:08 +01:00
|
|
|
height: 36
|
|
|
|
image-source: images/top_panel.png
|
|
|
|
image-repeated: true
|
|
|
|
focusable: false
|
|
|
|
|
2012-08-24 10:18:15 +02:00
|
|
|
TopMenuFrameCounterLabel < FrameCounterLabel
|
|
|
|
color: white
|
|
|
|
margin-top: 10
|
|
|
|
margin-right: 5
|
|
|
|
|
|
|
|
TopMenuPanel
|
2012-01-07 18:36:58 +01:00
|
|
|
id: topMenu
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
|
2012-02-20 03:27:08 +01:00
|
|
|
TopMenuButtonsPanel
|
2012-01-07 18:36:58 +01:00
|
|
|
id: leftButtonsPanel
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.left: parent.left
|
2012-01-15 16:13:22 +01:00
|
|
|
|
2012-02-20 03:27:08 +01:00
|
|
|
TopMenuButtonsPanel
|
2012-07-12 18:45:22 +02:00
|
|
|
id: leftGameButtonsPanel
|
2012-01-15 16:13:22 +01:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.left: prev.right
|
2012-03-23 14:48:05 +01:00
|
|
|
visible: false
|
2012-07-28 05:54:47 +02:00
|
|
|
|
2012-08-24 10:18:15 +02:00
|
|
|
TopMenuFrameCounterLabel
|
2012-06-04 02:28:19 +02:00
|
|
|
id: frameCounter
|
2012-06-02 20:58:30 +02:00
|
|
|
text-auto-resize: true
|
2011-11-12 01:33:03 +01:00
|
|
|
anchors.top: parent.top
|
2012-07-12 18:45:22 +02:00
|
|
|
anchors.left: prev.right
|
|
|
|
|
|
|
|
TopMenuButtonsPanel
|
|
|
|
id: rightButtonsPanel
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.right: parent.right
|
|
|
|
|
|
|
|
TopMenuButtonsPanel
|
|
|
|
id: rightGameButtonsPanel
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.right: prev.left
|
|
|
|
visible: false
|