2012-02-08 00:06:52 +01:00
|
|
|
CombatBox < UICheckBox
|
|
|
|
size: 20 20
|
|
|
|
image-clip: 0 0 20 20
|
|
|
|
anchors.top: parent.top
|
|
|
|
margin-left: 5
|
|
|
|
margin-right: 5
|
|
|
|
|
|
|
|
$checked:
|
|
|
|
image-clip: 0 20 20 20
|
|
|
|
|
|
|
|
FightOffensiveBox < CombatBox
|
|
|
|
image-source: /game_combatcontrols/icons/fightoffensive.png
|
|
|
|
FightBalancedBox < CombatBox
|
|
|
|
image-source: /game_combatcontrols/icons/fightbalanced.png
|
|
|
|
FightDefensiveBox < CombatBox
|
|
|
|
image-source: /game_combatcontrols/icons/fightdefensive.png
|
|
|
|
ChaseModeBox < CombatBox
|
|
|
|
image-source: /game_combatcontrols/icons/chasemode.png
|
|
|
|
SafeFightBox < CombatBox
|
|
|
|
image-source: /game_combatcontrols/icons/safefight.png
|
|
|
|
|
2012-03-28 16:10:21 +02:00
|
|
|
MiniWindow
|
2012-06-21 21:31:22 +02:00
|
|
|
id: combatControlsWindow
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Combat Controls')
|
2012-03-28 16:10:21 +02:00
|
|
|
icon: combatcontrols.png
|
|
|
|
height: 64
|
2012-06-21 21:31:22 +02:00
|
|
|
@onClose: CombatControls.onMiniWindowClose()
|
2012-06-24 14:41:39 +02:00
|
|
|
&save: true
|
2012-02-08 00:06:52 +01:00
|
|
|
|
2012-03-28 16:10:21 +02:00
|
|
|
MiniWindowContents
|
|
|
|
FightOffensiveBox
|
|
|
|
id: fightOffensiveBox
|
|
|
|
anchors.right: next.left
|
|
|
|
anchors.top: next.top
|
|
|
|
FightBalancedBox
|
|
|
|
id: fightBalancedBox
|
|
|
|
anchors.right: next.left
|
|
|
|
anchors.top: next.top
|
|
|
|
FightDefensiveBox
|
|
|
|
id: fightDefensiveBox
|
|
|
|
anchors.centerIn: parent
|
|
|
|
ChaseModeBox
|
|
|
|
id: chaseModeBox
|
|
|
|
anchors.left: prev.right
|
|
|
|
anchors.top: prev.top
|
|
|
|
SafeFightBox
|
|
|
|
id: safeFightBox
|
|
|
|
anchors.left: prev.right
|
|
|
|
anchors.top: prev.top
|