Thread: oUF_Phanx edit
View Single Post
05-14-13, 10:15 PM   #19
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
If you're just modifying the existing texture, you don't even need to replicate the CreateBorder function. Just change the texture in PostCreateAuraIcon, immediately after the call to CreateBorder:

Code:
ns.CreateBorder(button, 12)
for _, tex in pairs(button.BorderTextures) do
    tex:SetTexture([[Interface\AddOns\oUF_Phanx\media\BuffBorder]])
end
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote