progress bar and skills improve

This commit is contained in:
Henrique
2011-11-14 00:40:18 -02:00
parent f46e5aae43
commit f3b3ecada1
9 changed files with 132 additions and 22 deletions

View File

@@ -48,5 +48,10 @@ function ToolTip.hide()
end
end
function UIWidget:setTooltip(text)
self:applyStyle({ tooltip = text })
end
-- hooks
connect(UIButton, { onHoverChange = onButtonHoverChange})
connect(UIProgressBar, { onHoverChange = onButtonHoverChange})