2012-02-09 06:27:29 +01:00
|
|
|
BattleIcon < UICheckBox
|
|
|
|
size: 20 20
|
|
|
|
image-color: white
|
|
|
|
image-rect: 0 0 20 20
|
|
|
|
|
|
|
|
$hover !disabled:
|
|
|
|
color: #cccccc
|
|
|
|
|
|
|
|
$!checked:
|
|
|
|
image-clip: 0 0 20 20
|
|
|
|
|
|
|
|
$hover !checked:
|
|
|
|
image-clip: 0 40 20 20
|
|
|
|
|
|
|
|
$checked:
|
|
|
|
image-clip: 0 20 20 20
|
|
|
|
|
|
|
|
$hover checked:
|
|
|
|
image-clip: 0 60 20 20
|
|
|
|
|
|
|
|
$disabled:
|
|
|
|
image-color: #ffffff88
|
|
|
|
|
|
|
|
BattlePlayers < BattleIcon
|
|
|
|
image-source: /game_battle/battle_players.png
|
|
|
|
|
|
|
|
BattleNPCs < BattleIcon
|
|
|
|
image-source: /game_battle/battle_npcs.png
|
2012-03-28 16:10:21 +02:00
|
|
|
|
2012-02-09 06:27:29 +01:00
|
|
|
BattleMonsters < BattleIcon
|
|
|
|
image-source: /game_battle/battle_monsters.png
|
|
|
|
|
|
|
|
BattleSkulls < BattleIcon
|
|
|
|
image-source: /game_battle/battle_skulls.png
|
2012-03-28 16:10:21 +02:00
|
|
|
|
2012-02-09 06:27:29 +01:00
|
|
|
BattleParty < BattleIcon
|
2012-03-28 16:10:21 +02:00
|
|
|
image-source: /game_battle/battle_party.png
|
|
|
|
|
2012-02-09 06:27:29 +01:00
|
|
|
MiniWindow
|
|
|
|
id: battleWindow
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Battle')
|
2012-03-29 15:45:40 +02:00
|
|
|
height: 166
|
2012-03-28 16:10:21 +02:00
|
|
|
icon: battle.png
|
2012-06-21 21:31:22 +02:00
|
|
|
@onClose: Battle.onMiniWindowClose()
|
2012-06-24 14:41:39 +02:00
|
|
|
&save: true
|
2012-03-28 16:10:21 +02:00
|
|
|
|
|
|
|
MiniWindowContents
|
|
|
|
BattlePlayers
|
|
|
|
id: hidePlayers
|
2012-04-26 21:54:16 +02:00
|
|
|
!tooltip: tr('Hide players')
|
2012-03-28 16:10:21 +02:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: next.left
|
|
|
|
margin-right: 5
|
2012-04-30 18:40:12 +02:00
|
|
|
margin-top: 3
|
2012-03-28 16:10:21 +02:00
|
|
|
|
|
|
|
BattleNPCs
|
|
|
|
id: hideNPCs
|
2012-04-26 21:54:16 +02:00
|
|
|
!tooltip: tr('Hide Npcs')
|
2012-03-28 16:10:21 +02:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: next.left
|
|
|
|
margin-right: 5
|
2012-04-30 18:40:12 +02:00
|
|
|
margin-top: 3
|
2012-03-28 16:10:21 +02:00
|
|
|
|
|
|
|
BattleMonsters
|
|
|
|
id: hideMonsters
|
2012-04-26 21:54:16 +02:00
|
|
|
!tooltip: tr('Hide monsters')
|
2012-03-28 16:10:21 +02:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
2012-04-30 18:40:12 +02:00
|
|
|
margin-top: 3
|
2012-03-28 16:10:21 +02:00
|
|
|
|
|
|
|
BattleSkulls
|
|
|
|
id: hideSkulls
|
2012-04-26 21:54:16 +02:00
|
|
|
!tooltip: tr('Hide non-skull players')
|
2012-03-28 16:10:21 +02:00
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 5
|
|
|
|
|
|
|
|
BattleParty
|
|
|
|
id: hideParty
|
2012-04-26 21:54:16 +02:00
|
|
|
!tooltip: tr('Hide party members')
|
2012-03-28 16:10:21 +02:00
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 5
|
|
|
|
|
|
|
|
HorizontalSeparator
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
margin-top: 5
|
|
|
|
|
|
|
|
Panel
|
|
|
|
id: battlePanel
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 5
|
|
|
|
layout:
|
|
|
|
type: verticalBox
|
|
|
|
fit-children: true
|
|
|
|
|
|
|
|
|