mirror of
https://github.com/edubart/otclient.git
synced 2025-05-23 20:24:28 +02:00

* rework client modules * hide main window when loading * remake top menu functions * rework modules autoload * improve path resolving for otml and lua * move core_widgets to core_lib * fix tooltip issues * split some styles * add bit32 lua library * fix assert issues * fix compilation on linux 32 systems * rework gcc compile options * renable and fix some warnings * remove unused constants * speedup sprite cache * move UIGame to lua (not funcional yet) * fix a lot of issues in x11 window * fix crash handler * add some warnings do uiwidget and much more...
48 lines
842 B
Plaintext
48 lines
842 B
Plaintext
HealthBar < ProgressBar
|
|
id: healthBar
|
|
height: 15
|
|
background-color: #ff4444
|
|
anchors.top: parent.top
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
|
|
ManaBar < ProgressBar
|
|
id: manaBar
|
|
height: 15
|
|
background-color: #4444ff
|
|
anchors.bottom: parent.bottom
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
|
|
HealthLabel < GameLabel
|
|
id: healthLabel
|
|
color: white
|
|
text-align: center
|
|
font: verdana-11px-rounded
|
|
anchors.fill: healthBar
|
|
margin-top: 2
|
|
text: 0 / 0
|
|
|
|
ManaLabel < GameLabel
|
|
id: manaLabel
|
|
color: white
|
|
text-align: center
|
|
font: verdana-11px-rounded
|
|
anchors.fill: manaBar
|
|
margin-top: 2
|
|
text: 0 / 0
|
|
|
|
UIWindow
|
|
id: healthManaPanel
|
|
width: 192
|
|
height: 34
|
|
margin-top: 10
|
|
margin-left: 6
|
|
margin-right: 6
|
|
move-policy: free updated
|
|
|
|
HealthBar
|
|
HealthLabel
|
|
ManaBar
|
|
ManaLabel
|