2012-10-09 02:46:23 +02:00
|
|
|
SpellGroupIcon < UIWidget
|
|
|
|
size: 22 22
|
|
|
|
image-size: 22 22
|
|
|
|
image-source: /game_cooldown/icons/cooldownIcons.png
|
|
|
|
focusable: false
|
2012-10-13 21:33:04 +02:00
|
|
|
margin-top: 3
|
2012-10-09 02:46:23 +02:00
|
|
|
|
|
|
|
SpellIcon < UIWidget
|
|
|
|
size: 22 22
|
|
|
|
image-size: 22 22
|
|
|
|
margin-left: 2
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
focusable: false
|
|
|
|
|
|
|
|
$first:
|
|
|
|
margin-top: 3
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
|
2012-10-09 03:43:52 +02:00
|
|
|
SpellProgressRect < UIProgressRect
|
2012-10-09 02:46:23 +02:00
|
|
|
background: #585858AA
|
|
|
|
percent: 100
|
|
|
|
focusable: false
|
|
|
|
|
2012-10-13 21:33:04 +02:00
|
|
|
MiniWindow
|
|
|
|
id: cooldownWindow
|
|
|
|
!text: tr('Spell Cooldowns')
|
|
|
|
height: 85
|
|
|
|
icon: cooldown.png
|
|
|
|
@onClose: modules.game_cooldown.onMiniWindowClose()
|
|
|
|
&save: true
|
|
|
|
|
|
|
|
MiniWindowContents
|
|
|
|
SpellGroupIcon
|
|
|
|
id: groupIconAttack
|
|
|
|
image-clip: 0 0 20 20
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
margin-left: 3
|
|
|
|
$on:
|
|
|
|
image-clip: 0 20 20 20
|
2012-10-09 02:46:23 +02:00
|
|
|
|
2012-10-13 21:33:04 +02:00
|
|
|
SpellProgressRect
|
|
|
|
id: progressRectAttack
|
|
|
|
anchors.fill: groupIconAttack
|
|
|
|
!tooltip: tr('Attack')
|
2012-10-09 02:46:23 +02:00
|
|
|
|
2012-10-13 21:33:04 +02:00
|
|
|
SpellGroupIcon
|
|
|
|
id: groupIconHealing
|
|
|
|
image-clip: 20 0 20 20
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: groupIconAttack.right
|
|
|
|
margin-left: 3
|
|
|
|
$on:
|
|
|
|
image-clip: 20 20 20 20
|
2012-10-09 02:46:23 +02:00
|
|
|
|
2012-10-13 21:33:04 +02:00
|
|
|
SpellProgressRect
|
|
|
|
id: progressRectHealing
|
|
|
|
anchors.fill: groupIconHealing
|
|
|
|
!tooltip: tr('Healing')
|
2012-10-09 02:46:23 +02:00
|
|
|
|
2012-10-13 21:33:04 +02:00
|
|
|
SpellGroupIcon
|
|
|
|
id: groupIconSupport
|
|
|
|
image-clip: 40 0 20 20
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: groupIconHealing.right
|
|
|
|
margin-left: 3
|
|
|
|
$on:
|
|
|
|
image-clip: 40 20 20 20
|
2012-10-09 02:46:23 +02:00
|
|
|
|
2012-10-13 21:33:04 +02:00
|
|
|
SpellProgressRect
|
|
|
|
id: progressRectSupport
|
|
|
|
anchors.fill: groupIconSupport
|
|
|
|
!tooltip: tr('Support')
|
2012-10-09 02:46:23 +02:00
|
|
|
|
2012-10-13 21:33:04 +02:00
|
|
|
SpellGroupIcon
|
|
|
|
id: groupIconSpecial
|
|
|
|
image-clip: 60 0 20 20
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: groupIconSupport.right
|
|
|
|
margin-left: 3
|
|
|
|
$on:
|
|
|
|
image-clip: 60 20 20 20
|
2012-10-09 02:46:23 +02:00
|
|
|
|
2012-10-13 21:33:04 +02:00
|
|
|
SpellProgressRect
|
|
|
|
id: progressRectSpecial
|
|
|
|
anchors.fill: groupIconSpecial
|
|
|
|
!tooltip: tr('Special')
|
2012-10-09 02:46:23 +02:00
|
|
|
|
2012-10-13 21:33:04 +02:00
|
|
|
Panel
|
|
|
|
id: spellCooldownPanel
|
|
|
|
margin-top: 5
|
|
|
|
anchors.top: groupIconSpecial.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
height: 30
|
|
|
|
padding: 1
|
|
|
|
margin-left: 2
|
|
|
|
margin-right: 2
|
|
|
|
border: 1 #444444
|
|
|
|
|