2012-01-10 23:13:40 +01:00
|
|
|
HealthBar < ProgressBar
|
2012-01-03 16:17:52 +01:00
|
|
|
id: healthBar
|
2011-11-14 09:21:01 +01:00
|
|
|
height: 15
|
2012-01-14 20:31:20 +01:00
|
|
|
background-color: #ff4444
|
2011-11-14 09:21:01 +01:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
2012-04-30 18:40:12 +02:00
|
|
|
margin-top: 3
|
2011-11-17 22:41:02 +01:00
|
|
|
|
2012-01-10 23:13:40 +01:00
|
|
|
ManaBar < ProgressBar
|
2012-01-03 16:17:52 +01:00
|
|
|
id: manaBar
|
2011-11-14 09:21:01 +01:00
|
|
|
height: 15
|
2012-01-14 20:31:20 +01:00
|
|
|
background-color: #4444ff
|
2012-03-28 16:10:21 +02:00
|
|
|
anchors.top: prev.bottom
|
2011-11-14 09:21:01 +01:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
2012-03-28 16:10:21 +02:00
|
|
|
margin-top: 4
|
2011-11-14 09:21:01 +01:00
|
|
|
|
2012-01-03 02:52:26 +01:00
|
|
|
HealthLabel < GameLabel
|
2012-01-03 16:17:52 +01:00
|
|
|
id: healthLabel
|
2011-11-04 00:10:12 +01:00
|
|
|
color: white
|
2011-11-17 22:41:02 +01:00
|
|
|
text-align: center
|
2011-11-14 09:21:01 +01:00
|
|
|
font: verdana-11px-rounded
|
2012-01-03 16:17:52 +01:00
|
|
|
anchors.fill: healthBar
|
2011-11-17 22:41:02 +01:00
|
|
|
margin-top: 2
|
2012-01-03 16:17:52 +01:00
|
|
|
text: 0 / 0
|
2011-11-04 00:10:12 +01:00
|
|
|
|
2012-01-03 02:52:26 +01:00
|
|
|
ManaLabel < GameLabel
|
2012-01-03 16:17:52 +01:00
|
|
|
id: manaLabel
|
2011-11-04 00:10:12 +01:00
|
|
|
color: white
|
2011-11-17 22:41:02 +01:00
|
|
|
text-align: center
|
2011-11-14 09:21:01 +01:00
|
|
|
font: verdana-11px-rounded
|
2012-01-03 16:17:52 +01:00
|
|
|
anchors.fill: manaBar
|
|
|
|
margin-top: 2
|
|
|
|
text: 0 / 0
|
2011-11-04 00:10:12 +01:00
|
|
|
|
2012-03-29 23:46:21 +02:00
|
|
|
ConditionWidget < UIWidget
|
|
|
|
size: 18 18
|
|
|
|
|
|
|
|
$!first:
|
|
|
|
margin-left: 5
|
|
|
|
|
2012-03-28 16:10:21 +02:00
|
|
|
MiniWindow
|
|
|
|
icon: healthbar.png
|
|
|
|
id: healthBarWindow
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Health Bar')
|
2012-03-29 23:46:21 +02:00
|
|
|
height: 86
|
2012-03-28 16:10:21 +02:00
|
|
|
@onClose: HealthBar.toggle()
|
2011-11-04 00:10:12 +01:00
|
|
|
|
2012-03-28 16:10:21 +02:00
|
|
|
MiniWindowContents
|
|
|
|
HealthBar
|
|
|
|
HealthLabel
|
|
|
|
ManaBar
|
|
|
|
ManaLabel
|
2012-03-29 23:46:21 +02:00
|
|
|
Panel
|
|
|
|
id: conditions_content
|
|
|
|
layout:
|
|
|
|
type: horizontalBox
|
|
|
|
fit-children: true
|
|
|
|
height: 18
|
|
|
|
margin-top: 5
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalcenter: parent.horizontalcenter
|
|
|
|
|