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
|
2012-07-15 13:49:28 +02:00
|
|
|
image-source: /game_battle/images/battle_players.png
|
2012-02-09 06:27:29 +01:00
|
|
|
|
|
|
|
BattleNPCs < BattleIcon
|
2012-07-15 13:49:28 +02:00
|
|
|
image-source: /game_battle/images/battle_npcs.png
|
2012-03-28 16:10:21 +02:00
|
|
|
|
2012-02-09 06:27:29 +01:00
|
|
|
BattleMonsters < BattleIcon
|
2012-07-15 13:49:28 +02:00
|
|
|
image-source: /game_battle/images/battle_monsters.png
|
2012-02-09 06:27:29 +01:00
|
|
|
|
|
|
|
BattleSkulls < BattleIcon
|
2012-07-15 13:49:28 +02:00
|
|
|
image-source: /game_battle/images/battle_skulls.png
|
2012-03-28 16:10:21 +02:00
|
|
|
|
2012-02-09 06:27:29 +01:00
|
|
|
BattleParty < BattleIcon
|
2012-07-15 13:49:28 +02:00
|
|
|
image-source: /game_battle/images/battle_party.png
|
2012-03-28 16:10:21 +02:00
|
|
|
|
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-08-17 23:36:53 +02:00
|
|
|
@onClose: modules.game_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-08-03 07:58:48 +02:00
|
|
|
@onCheckChange: modules.game_battle.checkCreatures()
|
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-08-03 07:58:48 +02:00
|
|
|
@onCheckChange: modules.game_battle.checkCreatures()
|
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-08-03 07:58:48 +02:00
|
|
|
@onCheckChange: modules.game_battle.checkCreatures()
|
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
|
2012-08-03 07:58:48 +02:00
|
|
|
@onCheckChange: modules.game_battle.checkCreatures()
|
2012-03-28 16:10:21 +02:00
|
|
|
|
|
|
|
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
|
2012-08-03 07:58:48 +02:00
|
|
|
@onCheckChange: modules.game_battle.checkCreatures()
|
2012-03-28 16:10:21 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|