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
|
|
|
|
image-color: #ffffff22
|
|
|
|
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
|
|
|
|
|
|
|
|
TopPanel < Panel
|
|
|
|
height: 36
|
|
|
|
image-source: images/top_panel.png
|
|
|
|
image-repeated: true
|
|
|
|
focusable: false
|
|
|
|
|
2012-01-07 18:36:58 +01:00
|
|
|
|
|
|
|
TopPanel
|
|
|
|
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-01-15 16:13:22 +01:00
|
|
|
id: gameButtonsPanel
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.left: prev.right
|
2012-01-07 18:36:58 +01:00
|
|
|
anchors.right: next.left
|
2012-03-23 14:48:05 +01:00
|
|
|
visible: false
|
2012-01-07 18:36:58 +01:00
|
|
|
|
2012-02-20 03:27:08 +01:00
|
|
|
TopMenuButtonsPanel
|
2012-01-07 18:36:58 +01:00
|
|
|
id: rightButtonsPanel
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.right: parent.right
|
2011-11-03 10:59:11 +01:00
|
|
|
|
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
|
2012-02-20 03:27:08 +01:00
|
|
|
margin-right: 5
|