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="LootLinkAddDB.lua"/>
<Script file="NewLootLinkDB.lua"/>
<Frame name="LootLinkAddDB_Frame" toplevel="true" frameStrata="DIALOG">
<Size>
<AbsDimension x="384" y="128"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="GameFontWhite" justifyH="CENTER" justifyV="TOP" nonspacewrap="true">
<Size>
<AbsDimension x="360" y="0"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-16"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentGo">
<Size>
<AbsDimension x="128" y="32"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="-80" y="16"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
if ( not LootLinkAddDB_Saved or LootLinkAddDB_Saved ~= 1 ) then
DisableAddOn("LootLinkAddDB");
UpdateLootLinkDB();
end
this:GetParent():Hide();
</OnClick>
</Scripts>
<NormalTexture inherits="DialogButtonNormalTexture"/>
<PushedTexture inherits="DialogButtonPushedTexture"/>
<HighlightTexture inherits="DialogButtonHighlightTexture"/>
<NormalText inherits="DialogButtonNormalText" text="OKAY"/>
<HighlightText inherits="DialogButtonHighlightText" text="OKAY"/>
</Button>
<Button name="$parentCancel">
<Size>
<AbsDimension x="128" y="32"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="80" y="16"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
this:GetParent():Hide();
</OnClick>
</Scripts>
<NormalTexture inherits="DialogButtonNormalTexture"/>
<PushedTexture inherits="DialogButtonPushedTexture"/>
<HighlightTexture inherits="DialogButtonHighlightTexture"/>
<NormalText inherits="DialogButtonNormalText" text="CANCEL"/>
<HighlightText inherits="DialogButtonHighlightText" text="CANCEL"/>
</Button>
</Frames>
<Scripts>
<OnLoad>
this:RegisterEvent("VARIABLES_LOADED");
SlashCmdList["LOOTLINKADDDB"] = UpdateLootLinkDB;
SLASH_LOOTLINKADDDB1 = "/lootlinkadd";
</OnLoad>
<OnEvent>
if ( LootLinkAddDB_Saved == 1 ) then
getglobal(this:GetName().."Text"):SetText( "|cffff0000LootLink Database Adder has already run and probably should be disabled or removed. If you really want to run it again, type\n|r/lootlinkadd." );
else
getglobal(this:GetName().."Text"):SetText( "Press OKAY to add any new items to your LootLink database.\nYou may need to increase your Addons Script Memory setting in the Addons window before running!!!" );
end
</OnEvent>
</Scripts>
</Frame>
</Ui>
Generated by GNU Enscript 1.6.5.90.