- un-anchored pet health/mana text values to the bottom of the frame. now that vertical offsets are available, we can use them instead of anchoring/using setpoint

- bumped up the default position of the pet mana/health values to get them out of the way of nearby bars
- changed pet health/mana dogtags to display on the uppertext block instead of the lowertext block so it behaves and alphas like all other bars
This commit is contained in:
Parnic
2008-02-11 18:03:05 +00:00
parent 695abf1b34
commit 747bc0bc42
2 changed files with 10 additions and 6 deletions

View File

@ -24,14 +24,16 @@ function PetHealth.prototype:GetDefaultSettings()
settings["side"] = IceCore.Side.Left
settings["offset"] = -1
settings.scale = 0.7
settings["upperText"] = ""
settings["lowerText"] = "[PercentHP:Round]"
settings["textVerticalOffset"] = 4
settings["upperText"] = "[PercentHP:Round]"
settings["lowerText"] = ""
return settings
end
-- OVERRIDE
--[[
function PetHealth.prototype:CreateFrame()
PetHealth.super.prototype.CreateFrame(self)
@ -45,7 +47,7 @@ function PetHealth.prototype:CreateFrame()
self.frame.bottomUpperText:ClearAllPoints()
self.frame.bottomUpperText:SetPoint(point, relativeTo, relativePoint, 0, 0)
end
]]
function PetHealth.prototype:Enable(core)
PetHealth.super.prototype.Enable(self, core)