vanilla-wow-addons – Rev 1
?pathlinks?
<Ui>
<Frame>
<Frames>
<Button name="mgames_minimap" movable="true" parent="Minimap">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<NormalTexture file="Interface\AddOns\MinigamesUI\minimap_normal"/>
<PushedTexture file="Interface\AddOns\MinigamesUI\minimap_unten"/>
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
</Button>
</Frames>
<Scripts>
<OnLoad>
this:RegisterEvent("ADDON_LOADED");
</OnLoad>
<OnEvent>
if ((event == "ADDON_LOADED") and (arg1 == "MinigamesUI")) then
this:UnregisterEvent("ADDON_LOADED");
mgames_OnLoad();
end
</OnEvent>
</Scripts>
</Frame>
</Ui>