Make sure you have it identified on the top of your lua layout, in the local area:
Code:
local glow = "Interface\\AddOns\\what ever your media folder is\\glow"
make sure you have a glow texture in your media folder
then you place your glow texture in the style area under player, target, etc, which ever ones you want to have the glow texture, mine looks like this:
Code:
if unit=="player" then
self:SetWidth(190)
self:SetHeight(20)
self.Name:Hide()
self.Health.value:SetPoint("RIGHT", self.Health, 0, 0)
self.Power.value:Show()
self.Power.value:SetPoint("LEFT", self.Health, 0, 5)
self.Level:Hide()
self.Health:SetWidth(190)
self.Health.value:Show()
self.Health.value:SetFont(font, 14, "OUTLINE")
self.Power.value:SetFont(font, 14, "OUTLINE")
self:SetBackdrop {
edgeFile = glowtex, edgeSize = 5,
insets = {left = 3, right = 3, top = 3, bottom = 3}
}
self:SetBackdropColor(0,0,0,.6)
And my target looks like this:
Code:
if unit=="target" then
self:SetWidth(190)
self:SetHeight(20)
self.Power.value:Hide()
self.Health.value:SetPoint("TOPRIGHT", self.Health, -2, 10)
self.Name:SetPoint("TOPLEFT", self.Level, 10, 3)
self.Name:SetWidth(150)
self.Name:SetHeight(fontsize)
self.Health.value:SetHeight(fontsize)
self.Health:SetHeight(20)
self.Name:SetTextColor(class) --.35, .35, .35
self.Level:Hide()
self.Name:SetFont(font, 16, "OUTLINE")
self.Health.value:SetFont(font, 14,"OUTLINE")
self:SetBackdrop{
bgFile = "Interface\\ChatFrame\\ChatFrameBackground", tile = true, tileSize = 16,
insets = {left = -1, right = -1, top = -1, bottom = -1},
}
self:SetBackdropColor(0,0,0,1)