Exp bar on healthinfo module

This commit is contained in:
Ricardo Ianelli
2013-02-10 03:31:12 -02:00
parent b08d0ff157
commit 9c0c19b5b2
2 changed files with 42 additions and 4 deletions

View File

@@ -14,6 +14,15 @@ ManaBar < ProgressBar
anchors.left: parent.left
anchors.right: parent.right
margin-top: 4
ExperienceBar < ProgressBar
id: experienceBar
height: 15
background-color: yellow
anchors.top: prev.bottom
anchors.left: parent.left
anchors.right: parent.right
margin-top: 4
HealthLabel < GameLabel
id: healthLabel
@@ -32,6 +41,15 @@ ManaLabel < GameLabel
anchors.fill: manaBar
margin-top: 2
text: 0 / 0
ExperienceLabel < GameLabel
id: experienceLabel
color: white
text-align: center
font: verdana-11px-rounded
anchors.fill: experienceBar
margin-top: 2
text: 0 / 0
SoulLabel < GameLabel
id: soulLabel
@@ -66,7 +84,7 @@ MiniWindow
icon: /images/topbuttons/healthinfo
id: healthInfoWindow
!text: tr('Health Info')
height: 102
height: 117
@onClose: modules.game_healthinfo.onMiniWindowClose()
&save: true
@@ -75,6 +93,8 @@ MiniWindow
HealthLabel
ManaBar
ManaLabel
ExperienceBar
ExperienceLabel
Panel
id: conditionPanel
layout:
@@ -89,4 +109,4 @@ MiniWindow
border-color: #00000077
background-color: #ffffff11
SoulLabel
CapLabel
CapLabel