View Single Post
01-24-10, 04:55 AM   #7
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by nehegeb View Post
...in general I need a Macro that tells me, what texturepath a visible texture on the UI has got, so that I can use exactly this texture for my addons.
Well, if you're trying to figure out which textures are used by default UI stuff, you could just look at Blizzard's code.

http://wowcompares.com/

Otherwise, you're going to run into tons of issues trying to use macros to find textures. Some textures are Backdrops, while others are StatusBarTextures, and others are Texture regions that are either unnamed or don't follow any consistent naming pattern. There's pretty much no way to write a macro that will catch all of those cases and correctly identify which of a frame's child Texture regions you want.
  Reply With Quote