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.

healthinfo.otui 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. HealthBar < ProgressBar
  2. id: healthBar
  3. background-color: #ff4444
  4. anchors.top: parent.top
  5. anchors.left: parent.left
  6. anchors.right: parent.right
  7. margin: 1
  8. ManaBar < ProgressBar
  9. id: manaBar
  10. background-color: #4444ff
  11. anchors.top: prev.bottom
  12. anchors.left: parent.left
  13. anchors.right: parent.right
  14. margin: 1
  15. margin-top: 3
  16. ExperienceBar < ProgressBar
  17. id: experienceBar
  18. background-color: #B6E866
  19. anchors.top: prev.bottom
  20. anchors.left: parent.left
  21. anchors.right: parent.right
  22. margin: 1
  23. margin-top: 3
  24. SoulLabel < GameLabel
  25. id: soulLabel
  26. text-align: right
  27. color: white
  28. font: verdana-11px-rounded
  29. anchors.bottom: parent.bottom
  30. anchors.right: parent.right
  31. anchors.left: parent.horizontalCenter
  32. margin-top: 5
  33. margin-right: 3
  34. on: true
  35. $!on:
  36. visible: false
  37. margin-top: 0
  38. height: 0
  39. CapLabel < GameLabel
  40. id: capLabel
  41. color: white
  42. font: verdana-11px-rounded
  43. anchors.bottom: parent.bottom
  44. anchors.left: parent.left
  45. anchors.right: parent.horizontalCenter
  46. margin-top: 5
  47. margin-left: 3
  48. on: true
  49. $!on:
  50. visible: false
  51. margin-top: 0
  52. height: 0
  53. ConditionWidget < UIWidget
  54. size: 18 18
  55. $!first:
  56. margin-left: 2
  57. MiniWindow
  58. icon: /images/topbuttons/healthinfo
  59. id: healthInfoWindow
  60. !text: tr('Health Info')
  61. height: 123
  62. @onClose: modules.game_healthinfo.onMiniWindowClose()
  63. &save: true
  64. MiniWindowContents
  65. HealthBar
  66. ManaBar
  67. ExperienceBar
  68. Panel
  69. id: conditionPanel
  70. layout:
  71. type: horizontalBox
  72. height: 22
  73. margin-top: 4
  74. padding: 2
  75. anchors.top: prev.bottom
  76. anchors.left: parent.left
  77. anchors.right: parent.right
  78. border-width: 1
  79. border-color: #00000077
  80. background-color: #ffffff11
  81. SoulLabel
  82. CapLabel