vanilla-wow-addons – Rev 1
?pathlinks?
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
<Script file="MetaMapBKP.lua"/>
<Frame name="MetaMapBKP_BackUpFrame" parent="MetaMap_DialogFrame">
<Size><AbsDimension x="480" y="280" /></Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="MetaMapBKP_InfoHeader" inherits="GameFontHighlight" text="METAMAPBKP_INFO_HEADER">
<Anchors>
<Anchor point="TOP">
<Offset><AbsDimension x="0" y="-40"/></Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="MetaMapBKP_Info" inherits="GameFontNormal" justifyH="LEFT" text="METAMAPBKP_INFO">
<Size><AbsDimension x="440" y="0" /></Size>
<Anchors>
<Anchor point="TOP">
<Offset><AbsDimension x="0" y="-100"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="MetaMapBKP_Backup" inherits="UIPanelButtonTemplate2" text="METAMAPBKP_BACKUP">
<Size><AbsDimension x="120" y="24"/></Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset><AbsDimension x="-100" y="30" /></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
MetaMapBKP_BackupData();
</OnClick>
</Scripts>
</Button>
<Button name="MetaMapBKP_Restore" inherits="UIPanelButtonTemplate2" text="METAMAPBKP_RESTORE">
<Size><AbsDimension x="120" y="24"/></Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset><AbsDimension x="100" y="30" /></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
MetaMapBKP_RestoreData();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
this:SetWidth(MetaMap_DialogFrame:GetWidth()-20);
this:SetHeight(MetaMap_DialogFrame:GetHeight()-20);
this:RegisterEvent("ADDON_LOADED");
</OnLoad>
<OnEvent>
MetaMapBKP_OnEvent(event);
</OnEvent>
</Scripts>
</Frame>
</Ui>