tibia-client/modules/game_healthinfo/healthinfo.otui

93 lines
1.8 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
SoulLabel < GameLabel
id: soulLabel
text-align: right
color: white
font: verdana-11px-rounded
anchors.bottom: parent.bottom
anchors.right: parent.right
anchors.left: parent.horizontalCenter
margin-top: 5
2012-08-20 23:58:43 +02:00
margin-right: 3
text: Soul:
CapLabel < GameLabel
id: capLabel
color: white
font: verdana-11px-rounded
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.horizontalCenter
margin-top: 5
2012-08-20 23:58:43 +02:00
margin-left: 3
text: Cap:
ConditionWidget < UIWidget
size: 18 18
2012-06-22 07:26:22 +02:00
$!first:
margin-left: 2
2012-06-22 07:26:22 +02:00
MiniWindow
icon: healthinfo.png
id: healthInfoWindow
!text: tr('Health Info')
height: 102
2012-08-17 23:36:53 +02:00
@onClose: modules.game_healthinfo.onMiniWindowClose()
2012-06-24 14:41:39 +02:00
&save: true
2011-11-04 00:10:12 +01:00
MiniWindowContents
HealthBar
HealthLabel
ManaBar
ManaLabel
Panel
2012-06-22 07:26:22 +02:00
id: conditionPanel
layout:
type: horizontalBox
height: 22
margin-top: 4
padding: 2
anchors.top: prev.bottom
anchors.left: parent.left
anchors.right: parent.right
border-width: 1
border-color: #00000077
background-color: #ffffff11
SoulLabel
CapLabel