Quantcast
WoWInterface - View Single Post - Overlapping NineSlice textures with ButtonFrameTemplate
View Single Post
03-28-20, 05:39 PM   #6
LudiusMaximus
A Cobalt Mageweaver
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 219
Originally Posted by Fizzlemizz View Post
For the most part, find the Blizzard XML file the frame/texture is defined in and check for its TexCoords tag.
Ah, thanks! I see that this is used quite a lot.

But when I try to find the textures and coordinates used by ButtonFrameTemplate, I seem to run into a dead end...

In BlizzardInterfaceCode\Interface\SharedXML\SharedUIPanelTemplates.xml I find the definition of ButtonFrameTemplate. But when I trace back the inheritances I end up here without any mention of Interface/FrameGeneral/UIFrameMetal or any of its Atlas equivalents:

Code:
  <Frame name="NineSlicePanelTemplate" mixin="NineSlicePanelMixin" frameLevel="500" setAllPoints="true" virtual="true">
    <Scripts>
      <OnLoad method="OnLoad"/>
    </Scripts>
  </Frame>
Is this a non-"for the most part" case, then?
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote