/
local flat = [=[Interface\ChatFrame\ChatFrameBackground]=] |
local statbaralpha = 0.6 |
local smooth = mediaPath .. 'Ish14' |
local smooth = mediaPath .. 'oRA3' |
local gradient = mediaPath .. 'Ish14' |
ns.fonts = {} |
ns.fonts.silk = mediaPath.."slkscr.ttf" |
if unit ~= "targettarget" then |
local hp = CreateFrame"StatusBar" |
hp:SetStatusBarTexture(smooth) |
hp:SetStatusBarTexture(gradient) |
hp:SetParent(self) |
hp:SetAllPoints() |
local hpbg = hp:CreateTexture(nil, "BORDER") |
hpbg:SetAllPoints(hp) |
hpbg:SetTexture(smooth) |
hpbg:SetTexture(gradient) |
hpbg:SetAlpha(statbaralpha) |
hp.bg = hpbg |
self.HealCommBar = CreateFrame('StatusBar', nil, self.Health) |
self.HealCommBar:SetHeight(0) |
self.HealCommBar:SetWidth(0) |
self.HealCommBar:SetStatusBarTexture(smooth) |
self.HealCommBar:SetStatusBarTexture(gradient) |
self.HealCommBar:SetStatusBarColor(0, 1, .4, 0.25) |
self.HealCommBar:SetPoint'LEFT' |