Quantcast WoWInterface - View Single Post - Coloring standard buttons
View Single Post
01-14-13, 07:17 PM   #12
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,616
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:
local highlight = frame:CreateTexture(nil, "HIGHLIGHT")
It would also be far less flexible than just slicing up the texture yourself.
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote