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="MetaMapZSM.lua"/> |
||
4 | |||
5 | <Button name="MetaMapZSM_ZoneShiftButtonTemplate" inherits="UIPanelButtonTemplate2" hidden="true" virtual="true"> |
||
6 | <Size><AbsDimension x="220" y="24"/></Size> |
||
7 | <Layers> |
||
8 | <Layer level="ARTWORK"> |
||
9 | <FontString name="$parentVersion" inherits="GameFontNormal" hidden="true" text=""/> |
||
10 | <FontString name="$parentSkipShift" inherits="GameFontDisableSmall" text="METAMAPZSM_SKIP_SHIFT"> |
||
11 | <Anchors> |
||
12 | <Anchor point="TOP"> |
||
13 | <Offset><AbsDimension x="0" y="10"/></Offset> |
||
14 | </Anchor> |
||
15 | </Anchors> |
||
16 | </FontString> |
||
17 | </Layer> |
||
18 | </Layers> |
||
19 | <Scripts> |
||
20 | <OnClick> |
||
21 | MetaMapZSM_OnClick(tonumber(getglobal(this:GetName().."Version"):GetText()), this:GetID()); |
||
22 | </OnClick> |
||
23 | </Scripts> |
||
24 | </Button> |
||
25 | |||
26 | <Frame name="MetaMap_ZoneShiftFrame" parent="MetaMap_ZoneShiftDialog"> |
||
27 | <Size><AbsDimension x="480" y="280" /></Size> |
||
28 | <Anchors> |
||
29 | <Anchor point="CENTER"/> |
||
30 | </Anchors> |
||
31 | <Layers> |
||
32 | <Layer level="ARTWORK"> |
||
33 | <FontString name="MetaMapZSM_InfoHeader" inherits="GameFontHighlight" text=""> |
||
34 | <Anchors> |
||
35 | <Anchor point="TOP"> |
||
36 | <Offset><AbsDimension x="0" y="-25"/></Offset> |
||
37 | </Anchor> |
||
38 | </Anchors> |
||
39 | </FontString> |
||
40 | <FontString name="MetaMapZSM_InfoFooter" inherits="GameFontDisableSmall" text="METAMAPZSM_UPDATE_INFO"> |
||
41 | <Anchors> |
||
42 | <Anchor point="BOTTOM"> |
||
43 | <Offset><AbsDimension x="0" y="10"/></Offset> |
||
44 | </Anchor> |
||
45 | </Anchors> |
||
46 | </FontString> |
||
47 | </Layer> |
||
48 | </Layers> |
||
49 | <Frames> |
||
50 | <Button name="MetaMapZSM_ZoneShiftButton1" inherits="MetaMapZSM_ZoneShiftButtonTemplate" id="1"> |
||
51 | <Anchors> |
||
52 | <Anchor point="TOPLEFT"> |
||
53 | <Offset><AbsDimension x="50" y="-60" /></Offset> |
||
54 | </Anchor> |
||
55 | </Anchors> |
||
56 | </Button> |
||
57 | <Button name="MetaMapZSM_ZoneShiftButton2" inherits="MetaMapZSM_ZoneShiftButtonTemplate" id="2"> |
||
58 | <Anchors> |
||
59 | <Anchor point="LEFT" relativePoint="LEFT" relativeTo="MetaMapZSM_ZoneShiftButton1"> |
||
60 | <Offset><AbsDimension x="0" y="-40" /></Offset> |
||
61 | </Anchor> |
||
62 | </Anchors> |
||
63 | </Button> |
||
64 | <Button name="MetaMapZSM_ZoneShiftButton3" inherits="MetaMapZSM_ZoneShiftButtonTemplate" id="3"> |
||
65 | <Anchors> |
||
66 | <Anchor point="LEFT" relativePoint="LEFT" relativeTo="MetaMapZSM_ZoneShiftButton2"> |
||
67 | <Offset><AbsDimension x="0" y="-40" /></Offset> |
||
68 | </Anchor> |
||
69 | </Anchors> |
||
70 | </Button> |
||
71 | <Button name="MetaMapZSM_ZoneShiftButton4" inherits="MetaMapZSM_ZoneShiftButtonTemplate" id="4"> |
||
72 | <Anchors> |
||
73 | <Anchor point="LEFT" relativePoint="LEFT" relativeTo="MetaMapZSM_ZoneShiftButton3"> |
||
74 | <Offset><AbsDimension x="0" y="-40" /></Offset> |
||
75 | </Anchor> |
||
76 | </Anchors> |
||
77 | </Button> |
||
78 | <Button name="MetaMapZSM_ZoneShiftButton5" inherits="MetaMapZSM_ZoneShiftButtonTemplate" id="5"> |
||
79 | <Anchors> |
||
80 | <Anchor point="LEFT" relativePoint="LEFT" relativeTo="MetaMapZSM_ZoneShiftButton4"> |
||
81 | <Offset><AbsDimension x="0" y="-40" /></Offset> |
||
82 | </Anchor> |
||
83 | </Anchors> |
||
84 | </Button> |
||
85 | <Button name="MetaMapZSM_Update" inherits="UIPanelButtonTemplate2" text="METAMAPZSM_UPDATE_VERSION"> |
||
86 | <Size><AbsDimension x="120" y="24"/></Size> |
||
87 | <Anchors> |
||
88 | <Anchor point="BOTTOM"> |
||
89 | <Offset><AbsDimension x="0" y="30" /></Offset> |
||
90 | </Anchor> |
||
91 | </Anchors> |
||
92 | <Scripts> |
||
93 | <OnClick> |
||
94 | MetaMapOptions.ZoneShiftVersion = MetaMapZSM_CurrentVersion; |
||
95 | MetaMapZSM_Init(); |
||
96 | </OnClick> |
||
97 | </Scripts> |
||
98 | </Button> |
||
99 | </Frames> |
||
100 | <Scripts> |
||
101 | <OnLoad> |
||
102 | this:SetWidth(MetaMap_DialogFrame:GetWidth()-20); |
||
103 | this:SetHeight(MetaMap_DialogFrame:GetHeight()-20); |
||
104 | </OnLoad> |
||
105 | <OnShow> |
||
106 | MetaMapZSM_Init(); |
||
107 | </OnShow> |
||
108 | </Scripts> |
||
109 | </Frame> |
||
110 | </Ui> |