Thanks for the help with that.
How can I setup a custom border texture? This one is kinda nuts to me. Also really new...
This is what I have to work with...
Code:
<Layer level="BORDER">
<Texture name="$parentTopLeft" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
<Size x="64" y="64"/>
<Anchors><Anchor point="TOPLEFT"/></Anchors>
<TexCoords left="0.501953125" right="0.625" top="0" bottom="1"/>
</Texture>
<Texture name="$parentTopRight" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
<Size x="64" y="64"/>
<Anchors><Anchor point="TOPRIGHT"/></Anchors>
<TexCoords left="0.625" right="0.75" top="0" bottom="1"/>
</Texture>
<Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
<Size x="0" y="64"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="TOPRIGHT"/>
<Anchor point="TOPRIGHT" relativeTo="$parentTopRight" relativePoint="TOPLEFT"/>
</Anchors>
<TexCoords left="0.25" right="0.369140625" top="0" bottom="1"/>
</Texture>
<Texture name="$parentBottomLeft" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
<Size x="64" y="64"/>
<Anchors><Anchor point="BOTTOMLEFT"/></Anchors>
<TexCoords left="0.751953125" right="0.875" top="0" bottom="1"/>
</Texture>
<Texture name="$parentBottomRight" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
<Size x="64" y="64"/>
<Anchors><Anchor point="BOTTOMRIGHT"/></Anchors>
<TexCoords left="0.875" right="1" top="0" bottom="1"/>
</Texture>
<Texture name="$parentBottom" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
<Size x="0" y="64"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentBottomLeft" relativePoint="BOTTOMRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="BOTTOMLEFT"/>
</Anchors>
<TexCoords left="0.376953125" right="0.498046875" top="0" bottom="1"/>
</Texture>
<Texture name="$parentLeft" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
<Size x="64" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="BOTTOMLEFT"/>
<Anchor point="BOTTOMLEFT" relativeTo="$parentBottomLeft" relativePoint="TOPLEFT"/>
</Anchors>
<TexCoords left="0.001953125" right="0.125" top="0" bottom="1"/>
</Texture>
<Texture name="$parentRight" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
<Size x="64" y="0"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentTopRight" relativePoint="BOTTOMRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="TOPRIGHT"/>
</Anchors>
<TexCoords left="0.1171875" right="0.2421875" top="0" bottom="1"/>
</Texture>
</Layer>
This is what I have so far, but I think I'm doin it wrong... Am I on the right track???
Code:
-- Sets a Texture Frame for the window
-- Top Left
Local BorderTL = SK.Frame.Options:SetTexture([[Interface\PaperDollInfoFrame\UI-GearManager-Border]])
BorderTL:SetWidth(64)
BorderTL:SetHeight(64)
BorderTL:SetPoint("TOPLEFT", 0, 0)
BorderTL:SetCoords(.5, .625, 0, 1)
-- Top Right
Local BorderTR = SK.Frame.Options:SetTexture([[Interface\PaperDollInfoFrame\UI-GearManager-Border]])
BorderTR:SetWidth(64)
BorderTR:SetHeight(64)
BorderTR:SetPoint("TOPRIGHT", 0, 0)
BorderTR:SetCoords(.625, .75, 0, 1)
-- Top
Local BorderT = SK.Frame.Options:SetTexture([[Interface\PaperDollInfoFrame\UI-GearManager-Border]])
BorderT:SetWidth(0)
BorderT:SetHeight(64)
BorderT:SetPoint("TOPLEFT", 0, 0)
BorderT:SetCoords(.5, .625, 0, 1)
-- Bottom Left
Local BorderT = SK.Frame.Options:SetTexture([[Interface\PaperDollInfoFrame\UI-GearManager-Border]])
BorderT:SetWidth(0)
BorderT:SetHeight(64)
BorderT:SetPoint("TOPLEFT", 0, 0)
BorderT:SetCoords(.5, .625, 0, 1)
Does the
<Size x="0" y="64"/> attribute correspond to the Height Width? Or is in the SetPoint()?