tibia-client/modules/game_healthbar/healthbar.otui

64 lines
1.2 KiB
Plaintext
Raw Normal View History

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
2011-11-17 22:41:02 +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
anchors.top: prev.bottom
2011-11-14 09:21:01 +01:00
anchors.left: parent.left
anchors.right: parent.right
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
ConditionWidget < UIWidget
size: 18 18
$!first:
margin-left: 5
MiniWindow
icon: healthbar.png
id: healthBarWindow
text: Health Bar
height: 86
@onClose: HealthBar.toggle()
2011-11-04 00:10:12 +01:00
MiniWindowContents
HealthBar
HealthLabel
ManaBar
ManaLabel
Panel
id: conditions_content
layout:
type: horizontalBox
fit-children: true
height: 18
margin-top: 5
anchors.top: prev.bottom
anchors.horizontalcenter: parent.horizontalcenter