tibia-client/modules/game_battle/battle.otui

109 lines
2.4 KiB
Plaintext
Raw Normal View History

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: /images/game/battle/battle_players
BattleNPCs < BattleIcon
image-source: /images/game/battle/battle_npcs
BattleMonsters < BattleIcon
image-source: /images/game/battle/battle_monsters
BattleSkulls < BattleIcon
image-source: /images/game/battle/battle_skulls
BattleParty < BattleIcon
image-source: /images/game/battle/battle_party
MiniWindow
id: battleWindow
!text: tr('Battle')
height: 166
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-08-24 10:18:15 +02:00
Panel
margin-top: 26
anchors.top: parent.top
2012-08-24 10:18:15 +02:00
anchors.left: parent.left
anchors.right: miniwindowScrollBar.left
height: 20
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()
HorizontalSeparator
anchors.top: prev.bottom
anchors.left: parent.left
2012-08-24 10:18:15 +02:00
anchors.right: miniwindowScrollBar.left
margin-right: 1
margin-top: 4
MiniWindowContents
2012-08-24 10:18:15 +02:00
anchors.top: prev.bottom
margin-top: 0
Panel
id: battlePanel
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
margin-top: 5
2012-08-20 23:58:43 +02:00
padding-right: 5
layout:
type: verticalBox
fit-children: true