I'm trying to make a custom button for my add-on, but so far all I've been able to create is a green placeholder the size of the button. This is the code I have written for it:
Code:
<Button name="$parent_RestoreButton">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="-28" y="-20"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
RestoreButton_OnClick();
</OnClick>
</Scripts>
<NormalTexture file="Interface\AddOns\MyAddon\Art\ResButtonUp.blp"/>
<PushedTexture file="Interface\AddOns\MyAddon\Art\ResButtonDown.blp"/>
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
</Button>
I've looked all over and at this point I'm totally stumped as to why this won't work, so if someone could help me out it would be greatly appreciated.