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.7KB

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