/branches/cataclysm/Aloft/AloftThreat
-- ChatFrame7:AddMessage("AloftThreatBar:SetupThreatBar(): set backdrop " .. tostring(backdropTable.edgeFile)) |
threatBar:SetBackdrop(backdropTable) |
-- threatBar:SetBackdropBorderColor(0, 0, 0, 0) |
-- threatBar:SetBackdropColor(0, 0, 0, 0) |
-- threatBar:SetBackdropBorderColor(0, 0, 0, 0.1) |
-- threatBar:SetBackdropColor(0, 0, 0, 0.1) |
-- threatBar:SetBackdropColor(unpack(self.db.profile.backdropColor)) |
-- This manipulates the threat bar background to always display "below" the threat bar |
end |
-- the threat bar is constructed; show it, initially with bogus colors |
threatBar:SetBackdropColor(0, 0, 0, 0) |
threatBar:SetBackdropBorderColor(0, 0, 0, 0) |
threatBar:SetBackdropColor(0, 0, 0, 0.1) |
threatBar:SetBackdropBorderColor(0, 0, 0, 0.1) |
threatBar:Show() |
-- frame delay to flip the backdrop color(s); hopefully avoids the "malformed border" issue |