restore old modules

* partially restore vip, battle, healthbar, skills and inventory modules
* more fixes on UIWidgets
* implement UIMiniWindow close/minimize functionality
* allow drag and drop miniwindows beteween game panels
This commit is contained in:
Eduardo Bart
2012-03-28 11:10:21 -03:00
parent e2ea267703
commit 8d14d9bc99
34 changed files with 301 additions and 196 deletions

View File

@@ -10,9 +10,10 @@ ManaBar < ProgressBar
id: manaBar
height: 15
background-color: #4444ff
anchors.bottom: parent.bottom
anchors.top: prev.bottom
anchors.left: parent.left
anchors.right: parent.right
margin-top: 4
HealthLabel < GameLabel
id: healthLabel
@@ -32,16 +33,15 @@ ManaLabel < GameLabel
margin-top: 2
text: 0 / 0
BorderlessGameWindow
id: healthManaPanel
width: 192
height: 34
margin-top: 10
margin-left: 6
margin-right: 6
move-policy: free updated
MiniWindow
icon: healthbar.png
id: healthBarWindow
text: Health Bar
height: 64
@onClose: HealthBar.toggle()
HealthBar
HealthLabel
ManaBar
ManaLabel
MiniWindowContents
HealthBar
HealthLabel
ManaBar
ManaLabel