vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <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/
2 ..\FrameXML\UI.xsd">
3 <Script file="LootLinkAddDB.lua"/>
4 <Script file="NewLootLinkDB.lua"/>
5  
6 <Frame name="LootLinkAddDB_Frame" toplevel="true" frameStrata="DIALOG">
7 <Size>
8 <AbsDimension x="384" y="128"/>
9 </Size>
10 <Anchors>
11 <Anchor point="CENTER"/>
12 </Anchors>
13 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
14 <EdgeSize>
15 <AbsValue val="32"/>
16 </EdgeSize>
17 <TileSize>
18 <AbsValue val="32"/>
19 </TileSize>
20 <BackgroundInsets>
21 <AbsInset left="11" right="12" top="12" bottom="11"/>
22 </BackgroundInsets>
23 </Backdrop>
24 <Layers>
25 <Layer level="ARTWORK">
26 <FontString name="$parentText" inherits="GameFontWhite" justifyH="CENTER" justifyV="TOP" nonspacewrap="true">
27 <Size>
28 <AbsDimension x="360" y="0"/>
29 </Size>
30 <Anchors>
31 <Anchor point="TOP">
32 <Offset>
33 <AbsDimension x="0" y="-16"/>
34 </Offset>
35 </Anchor>
36 </Anchors>
37 </FontString>
38 </Layer>
39 </Layers>
40 <Frames>
41 <Button name="$parentGo">
42 <Size>
43 <AbsDimension x="128" y="32"/>
44 </Size>
45 <Anchors>
46 <Anchor point="BOTTOM">
47 <Offset>
48 <AbsDimension x="-80" y="16"/>
49 </Offset>
50 </Anchor>
51 </Anchors>
52 <Scripts>
53 <OnClick>
54 if ( not LootLinkAddDB_Saved or LootLinkAddDB_Saved ~= 1 ) then
55 DisableAddOn("LootLinkAddDB");
56 UpdateLootLinkDB();
57 end
58 this:GetParent():Hide();
59 </OnClick>
60 </Scripts>
61 <NormalTexture inherits="DialogButtonNormalTexture"/>
62 <PushedTexture inherits="DialogButtonPushedTexture"/>
63 <HighlightTexture inherits="DialogButtonHighlightTexture"/>
64 <NormalText inherits="DialogButtonNormalText" text="OKAY"/>
65 <HighlightText inherits="DialogButtonHighlightText" text="OKAY"/>
66 </Button>
67 <Button name="$parentCancel">
68 <Size>
69 <AbsDimension x="128" y="32"/>
70 </Size>
71 <Anchors>
72 <Anchor point="BOTTOM">
73 <Offset>
74 <AbsDimension x="80" y="16"/>
75 </Offset>
76 </Anchor>
77 </Anchors>
78 <Scripts>
79 <OnClick>
80 this:GetParent():Hide();
81 </OnClick>
82 </Scripts>
83 <NormalTexture inherits="DialogButtonNormalTexture"/>
84 <PushedTexture inherits="DialogButtonPushedTexture"/>
85 <HighlightTexture inherits="DialogButtonHighlightTexture"/>
86 <NormalText inherits="DialogButtonNormalText" text="CANCEL"/>
87 <HighlightText inherits="DialogButtonHighlightText" text="CANCEL"/>
88 </Button>
89 </Frames>
90 <Scripts>
91 <OnLoad>
92 this:RegisterEvent("VARIABLES_LOADED");
93 SlashCmdList["LOOTLINKADDDB"] = UpdateLootLinkDB;
94 SLASH_LOOTLINKADDDB1 = "/lootlinkadd";
95 </OnLoad>
96 <OnEvent>
97 if ( LootLinkAddDB_Saved == 1 ) then
98 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." );
99 else
100 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!!!" );
101 end
102 </OnEvent>
103 </Scripts>
104 </Frame>
105 </Ui>