No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

combatcontrols.otui 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. CombatBox < UICheckBox
  2. size: 20 20
  3. image-clip: 0 0 20 20
  4. anchors.top: parent.top
  5. margin: 0 4
  6. $first:
  7. margin: 0 1
  8. $last:
  9. margin: 0 1
  10. $checked:
  11. image-clip: 0 20 20 20
  12. FightOffensiveBox < CombatBox
  13. image-source: /game_combatcontrols/icons/fightoffensive.png
  14. FightBalancedBox < CombatBox
  15. image-source: /game_combatcontrols/icons/fightbalanced.png
  16. FightDefensiveBox < CombatBox
  17. image-source: /game_combatcontrols/icons/fightdefensive.png
  18. ChaseModeBox < CombatBox
  19. image-source: /game_combatcontrols/icons/chasemode.png
  20. SafeFightBox < CombatBox
  21. image-source: /game_combatcontrols/icons/safefight.png
  22. MiniWindow
  23. id: combatControlsWindow
  24. !text: tr('Combat Controls')
  25. icon: combatcontrols.png
  26. height: 48
  27. @onClose: CombatControls.onMiniWindowClose()
  28. &save: true
  29. MiniWindowContents
  30. FightOffensiveBox
  31. id: fightOffensiveBox
  32. anchors.left: parent.left
  33. anchors.verticalCenter: parent.verticalCenter
  34. FightBalancedBox
  35. id: fightBalancedBox
  36. anchors.left: prev.right
  37. anchors.verticalCenter: parent.verticalCenter
  38. FightDefensiveBox
  39. id: fightDefensiveBox
  40. anchors.left: prev.right
  41. anchors.verticalCenter: parent.verticalCenter
  42. ChaseModeBox
  43. id: chaseModeBox
  44. anchors.right: next.left
  45. anchors.verticalCenter: parent.verticalCenter
  46. SafeFightBox
  47. id: safeFightBox
  48. anchors.right: parent.right
  49. anchors.verticalCenter: parent.verticalCenter