1ExperienceBar < ProgressBar
2 id: experienceBar
3 background-color: #B6E866
4 anchors.top: prev.bottom
5 anchors.left: parent.left
6 anchors.right: parent.right
7 margin: 1
8 margin-top: 3
9
10SoulLabel < GameLabel
11 id: soulLabel
12 text-align: right
13 color: white
14 font: verdana-11px-rounded
15 anchors.bottom: parent.bottom
16 anchors.right: parent.right
17 anchors.left: parent.horizontalCenter
18 margin-top: 5
19 margin-right: 3
20 on: true
21
22 $!on:
23 visible: false
24 margin-top: 0
25 height: 0
26
27CapLabel < GameLabel
28 id: capLabel
29 color: white
30 font: verdana-11px-rounded
31 anchors.bottom: parent.bottom
32 anchors.left: parent.left
33 anchors.right: parent.horizontalCenter
34 margin-top: 5
35 margin-left: 3
36 on: true
37
38 $!on:
39 visible: false
40 margin-top: 0
41 height: 0
42
43ConditionWidget < UIWidget
44 size: 18 18
45
46 $!first:
47 margin-left: 2
48
49HealthOverlay < UIWidget
50 id: healthOverlay
51 anchors.fill: parent
52 phantom: true
53
54 HealthBar
55 id: topHealthBar
56 anchors.top: parent.top
57 anchors.left: parent.left
58 anchors.right: parent.horizontalCenter
59 phantom: true
60
61 ManaBar
62 id: topManaBar
63 anchors.top: parent.top
64 anchors.right: parent.right
65 anchors.left: parent.horizontalCenter
66 phantom: true
67
68 UIProgressBar
69 id: healthCircle
70 anchors.horizontalCenter: parent.horizontalCenter
71 anchors.verticalCenter: parent.verticalCenter
72 image-source: /images/game/circle/1left_empty
73 margin-right: 169
74 margin-bottom: 16
75 opacity: 0.5
76 phantom: true
77
78 UIProgressBar
79 id: healthCircleFront
80 anchors.horizontalCenter: parent.horizontalCenter
81 anchors.verticalCenter: parent.verticalCenter
82 image-source: /images/game/circle/left_full
83 margin-right: 169
84 margin-bottom: 16
85 opacity: 0.5
86 phantom: true
87
88 UIProgressBar
89 id: manaCircle
90 anchors.horizontalCenter: parent.horizontalCenter
91 anchors.verticalCenter: parent.verticalCenter
92 image-source: /images/game/circle/1right_empty
93 image-auto-resize: true
94 margin-left: 130
95 margin-bottom: 16
96 opacity: 0.5
97 phantom: true
98
99 UIProgressBar
100 id: manaCircleFront
101 anchors.horizontalCenter: parent.horizontalCenter
102 anchors.verticalCenter: parent.verticalCenter
103 image-source: /images/game/circle/right_full
104 margin-left: 130
105 margin-bottom: 16
106 opacity: 0.4
107 image-color: #0000FFFF
108 phantom: true
109
110HealthInfoWindow < MiniWindow
111 icon: /images/topbuttons/healthinfo
112 !text: tr('Health Info')
113 height: 123
114
115 MiniWindowContents
116 HealthBar
117 id: healthBar
118 anchors.top: parent.top
119 anchors.left: parent.left
120 anchors.right: parent.right
121 margin: 2
122 margin-top: 1
123
124 ManaBar
125 id: manaBar
126 anchors.top: prev.bottom
127 anchors.left: parent.left
128 anchors.right: parent.right
129 margin: 2
130
131 ExperienceBar
132 Panel
133 id: conditionPanel
134 layout:
135 type: horizontalBox
136 height: 22
137 margin-top: 4
138 padding: 2
139 anchors.top: prev.bottom
140 anchors.left: parent.left
141 anchors.right: parent.right
142 border-width: 1
143 border-color: #00000077
144 background-color: #ffffff11
145 SoulLabel
146 CapLabel
147
148