View Single Post
01-14-13, 07:17 PM   #12
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Such a method would just be an alias for what Blizzard is already doing, similar to how frame:SetHighlightTexture(path) is basically just an alias for:
Code:
local highlight = frame:CreateTexture(nil, "HIGHLIGHT")
highlight:SetAllPoints(true)
highlight:SetTexture(path)
It would also be far less flexible than just slicing up the texture yourself.
__________________
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