vanilla-wow-addons – Blame information for rev 1
?pathlinks?
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="MetaMapBKP.lua"/> |
||
4 | |||
5 | <Frame name="MetaMapBKP_BackUpFrame" parent="MetaMap_DialogFrame"> |
||
6 | <Size><AbsDimension x="480" y="280" /></Size> |
||
7 | <Anchors> |
||
8 | <Anchor point="CENTER"/> |
||
9 | </Anchors> |
||
10 | <Layers> |
||
11 | <Layer level="ARTWORK"> |
||
12 | <FontString name="MetaMapBKP_InfoHeader" inherits="GameFontHighlight" text="METAMAPBKP_INFO_HEADER"> |
||
13 | <Anchors> |
||
14 | <Anchor point="TOP"> |
||
15 | <Offset><AbsDimension x="0" y="-40"/></Offset> |
||
16 | </Anchor> |
||
17 | </Anchors> |
||
18 | </FontString> |
||
19 | <FontString name="MetaMapBKP_Info" inherits="GameFontNormal" justifyH="LEFT" text="METAMAPBKP_INFO"> |
||
20 | <Size><AbsDimension x="440" y="0" /></Size> |
||
21 | <Anchors> |
||
22 | <Anchor point="TOP"> |
||
23 | <Offset><AbsDimension x="0" y="-100"/></Offset> |
||
24 | </Anchor> |
||
25 | </Anchors> |
||
26 | </FontString> |
||
27 | </Layer> |
||
28 | </Layers> |
||
29 | <Frames> |
||
30 | <Button name="MetaMapBKP_Backup" inherits="UIPanelButtonTemplate2" text="METAMAPBKP_BACKUP"> |
||
31 | <Size><AbsDimension x="120" y="24"/></Size> |
||
32 | <Anchors> |
||
33 | <Anchor point="BOTTOM"> |
||
34 | <Offset><AbsDimension x="-100" y="30" /></Offset> |
||
35 | </Anchor> |
||
36 | </Anchors> |
||
37 | <Scripts> |
||
38 | <OnClick> |
||
39 | MetaMapBKP_BackupData(); |
||
40 | </OnClick> |
||
41 | </Scripts> |
||
42 | </Button> |
||
43 | <Button name="MetaMapBKP_Restore" inherits="UIPanelButtonTemplate2" text="METAMAPBKP_RESTORE"> |
||
44 | <Size><AbsDimension x="120" y="24"/></Size> |
||
45 | <Anchors> |
||
46 | <Anchor point="BOTTOM"> |
||
47 | <Offset><AbsDimension x="100" y="30" /></Offset> |
||
48 | </Anchor> |
||
49 | </Anchors> |
||
50 | <Scripts> |
||
51 | <OnClick> |
||
52 | MetaMapBKP_RestoreData(); |
||
53 | </OnClick> |
||
54 | </Scripts> |
||
55 | </Button> |
||
56 | </Frames> |
||
57 | <Scripts> |
||
58 | <OnLoad> |
||
59 | this:SetWidth(MetaMap_DialogFrame:GetWidth()-20); |
||
60 | this:SetHeight(MetaMap_DialogFrame:GetHeight()-20); |
||
61 | this:RegisterEvent("ADDON_LOADED"); |
||
62 | </OnLoad> |
||
63 | <OnEvent> |
||
64 | MetaMapBKP_OnEvent(event); |
||
65 | </OnEvent> |
||
66 | </Scripts> |
||
67 | </Frame> |
||
68 | </Ui> |