- framework update.

- using image format BLP instead of TGA.
This commit is contained in:
Tercio
2016-07-19 16:23:14 -03:00
parent 08117fcc15
commit 56b7980874
78 changed files with 12 additions and 11 deletions
+6 -5
View File
@@ -509,12 +509,12 @@ local BarMetaFunctions = _G [DF.GlobalWidgetControlNames ["normal_bar"]]
--> timer
function BarMetaFunctions:OnTimerEnd()
if (self.OnTimerEndHook) then
local interrupt = self.OnTimerEndHook (self)
if (interrupt) then
return
end
local capsule = self
local kill = capsule:RunHooksForWidget ("OnTimerEnd", self.widget, button, capsule)
if (kill) then
return
end
self.timer_texture:Hide()
self.timer_textureR:Hide()
self.div_timer:Hide()
@@ -720,6 +720,7 @@ function DF:NewBar (parent, container, name, member, w, h, value, texture_name)
OnShow = {},
OnMouseDown = {},
OnMouseUp = {},
OnTimerEnd = {},
}
BarObject.statusbar:SetScript ("OnEnter", OnEnter)