tibia-client/modules/game_battle/battleButton.otui

55 lines
998 B
Plaintext
Raw Normal View History

BattleButton < UIButton
BattleButton
height: 20
margin-top: 5
fixed-size: true
&onHoverChange: Battle.onbattleButtonHoverChange
2012-02-09 08:26:52 +01:00
&onMouseRelease: Battle.onMouseRelease
&isBattleButton: true
UICreature
id: creature
size: 20 20
anchors.left: parent.left
anchors.top: parent.top
2012-02-09 08:26:52 +01:00
phantom: true
UIWidget
id: spacer
width: 5
anchors.left: creature.right
anchors.top: creature.top
2012-02-09 08:26:52 +01:00
phantom: true
UIWidget
id: skull
height: 11
anchors.left: spacer.right
anchors.top: spacer.top
2012-02-09 08:26:52 +01:00
phantom: true
UIWidget
id: emblem
height: 11
anchors.left: skull.right
anchors.top: creature.top
2012-02-09 08:26:52 +01:00
phantom: true
Label
id: label
anchors.left: emblem.right
anchors.top: creature.top
color: #888888
margin-left: 2
2012-02-09 08:26:52 +01:00
phantom: true
ProgressBar
id: lifeBar
height: 5
anchors.left: spacer.right
anchors.right: parent.right
anchors.top: label.bottom
margin-top: 2
phantom: true