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
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/battle/battle_players
|
2012-02-09 06:27:29 +01:00
|
|
|
|
|
|
|
BattleNPCs < BattleIcon
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/battle/battle_npcs
|
2012-03-28 16:10:21 +02:00
|
|
|
|
2012-02-09 06:27:29 +01:00
|
|
|
BattleMonsters < BattleIcon
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/battle/battle_monsters
|
2012-02-09 06:27:29 +01:00
|
|
|
|
|
|
|
BattleSkulls < BattleIcon
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/battle/battle_skulls
|
2012-03-28 16:10:21 +02:00
|
|
|
|
2012-02-09 06:27:29 +01:00
|
|
|
BattleParty < BattleIcon
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/battle/battle_party
|
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
|
2013-01-18 23:39:11 +01:00
|
|
|
icon: /images/topbuttons/battle
|
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
|
|
|
|
2012-08-24 10:18:15 +02:00
|
|
|
Panel
|
2013-07-02 22:43:52 +02:00
|
|
|
id: filterPanel
|
2012-08-21 08:13:16 +02:00
|
|
|
margin-top: 26
|
|
|
|
anchors.top: parent.top
|
2012-08-24 10:18:15 +02:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: miniwindowScrollBar.left
|
2013-07-02 22:43:52 +02:00
|
|
|
height: 45
|
2012-08-21 08:13:16 +02:00
|
|
|
|
2012-08-24 10:18:15 +02:00
|
|
|
Panel
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
height: 20
|
|
|
|
width: 120
|
|
|
|
layout:
|
|
|
|
type: horizontalBox
|
|
|
|
spacing: 5
|
|
|
|
|
|
|
|
BattlePlayers
|
|
|
|
id: hidePlayers
|
|
|
|
!tooltip: tr('Hide players')
|
|
|
|
@onCheckChange: modules.game_battle.checkCreatures()
|
|
|
|
|
|
|
|
BattleNPCs
|
|
|
|
id: hideNPCs
|
|
|
|
!tooltip: tr('Hide Npcs')
|
|
|
|
@onCheckChange: modules.game_battle.checkCreatures()
|
|
|
|
|
|
|
|
BattleMonsters
|
|
|
|
id: hideMonsters
|
|
|
|
!tooltip: tr('Hide monsters')
|
|
|
|
@onCheckChange: modules.game_battle.checkCreatures()
|
|
|
|
|
|
|
|
BattleSkulls
|
|
|
|
id: hideSkulls
|
|
|
|
!tooltip: tr('Hide non-skull players')
|
|
|
|
@onCheckChange: modules.game_battle.checkCreatures()
|
|
|
|
|
|
|
|
BattleParty
|
|
|
|
id: hideParty
|
|
|
|
!tooltip: tr('Hide party members')
|
|
|
|
@onCheckChange: modules.game_battle.checkCreatures()
|
2012-08-21 08:13:16 +02:00
|
|
|
|
2013-07-02 22:43:52 +02:00
|
|
|
Panel
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
height: 20
|
|
|
|
width: 128
|
|
|
|
margin-top: 6
|
|
|
|
|
|
|
|
ComboBox
|
|
|
|
id: sortTypeBox
|
|
|
|
width: 74
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 5
|
|
|
|
|
|
|
|
ComboBox
|
|
|
|
id: sortOrderBox
|
|
|
|
width: 54
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 4
|
|
|
|
|
|
|
|
Panel
|
|
|
|
height: 18
|
2012-08-21 08:13:16 +02:00
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: parent.left
|
2012-08-24 10:18:15 +02:00
|
|
|
anchors.right: miniwindowScrollBar.left
|
2013-07-02 22:43:52 +02:00
|
|
|
margin-top: 5
|
2012-08-21 08:13:16 +02:00
|
|
|
|
2013-07-02 22:43:52 +02:00
|
|
|
UIWidget
|
|
|
|
id: toggleFilterButton
|
|
|
|
anchors.top: prev.top
|
|
|
|
width: 21
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
image-source: /images/ui/arrow_vertical
|
|
|
|
image-rect: 0 0 21 12
|
|
|
|
image-clip: 21 0 21 12
|
|
|
|
@onClick: modules.game_battle.toggleFilterPanel()
|
|
|
|
phantom: false
|
|
|
|
|
|
|
|
HorizontalSeparator
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: miniwindowScrollBar.left
|
|
|
|
margin-right: 1
|
|
|
|
margin-top: 11
|
|
|
|
|
2012-03-28 16:10:21 +02:00
|
|
|
MiniWindowContents
|
2012-08-24 10:18:15 +02:00
|
|
|
anchors.top: prev.bottom
|
2013-07-02 22:43:52 +02:00
|
|
|
margin-top: 2
|
2012-03-28 16:10:21 +02:00
|
|
|
|
|
|
|
Panel
|
|
|
|
id: battlePanel
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
2012-08-21 08:13:16 +02:00
|
|
|
anchors.top: parent.top
|
2012-03-28 16:10:21 +02:00
|
|
|
margin-top: 5
|
2012-08-20 23:58:43 +02:00
|
|
|
padding-right: 5
|
2012-03-28 16:10:21 +02:00
|
|
|
layout:
|
|
|
|
type: verticalBox
|
|
|
|
fit-children: true
|