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/..\FrameXML\UI.xsd"> |
2 | |||
3 | <Frame name="NecrosisButtonMenu" frameStrata="DIALOG" movable="false" enableMouse="true" parent="NecrosisGeneralFrame"> |
||
4 | <Size> |
||
5 | <AbsDimension x="350" y="452"/> |
||
6 | </Size> |
||
7 | <Anchors> |
||
8 | <Anchor point="BOTTOMLEFT" relativeTo="NecrosisGeneralFrame"/> |
||
9 | </Anchors> |
||
10 | <HitRectInsets> |
||
11 | <AbsInset left="0" right="35" top="0" bottom="75"/> |
||
12 | </HitRectInsets> |
||
13 | <Layers> |
||
14 | <Layer level="ARTWORK"> |
||
15 | <FontString name="NecrosisShowFirestone_Option" inherits="GameFontNormalSmall"> |
||
16 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
17 | <Anchors> |
||
18 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
19 | <Offset> |
||
20 | <AbsDimension x="60" y="-40"/> |
||
21 | </Offset> |
||
22 | </Anchor> |
||
23 | </Anchors> |
||
24 | </FontString> |
||
25 | <FontString name="NecrosisShowSpellstone_Option" inherits="GameFontNormalSmall"> |
||
26 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
27 | <Anchors> |
||
28 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
29 | <Offset> |
||
30 | <AbsDimension x="60" y="-60"/> |
||
31 | </Offset> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | </FontString> |
||
35 | <FontString name="NecrosisShowHealthStone_Option" inherits="GameFontNormalSmall"> |
||
36 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
37 | <Anchors> |
||
38 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
39 | <Offset> |
||
40 | <AbsDimension x="60" y="-80"/> |
||
41 | </Offset> |
||
42 | </Anchor> |
||
43 | </Anchors> |
||
44 | </FontString> |
||
45 | <FontString name="NecrosisShowSoulstone_Option" inherits="GameFontNormalSmall"> |
||
46 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
47 | <Anchors> |
||
48 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
49 | <Offset> |
||
50 | <AbsDimension x="60" y="-100"/> |
||
51 | </Offset> |
||
52 | </Anchor> |
||
53 | </Anchors> |
||
54 | </FontString> |
||
55 | <FontString name="NecrosisShowMount_Option" inherits="GameFontNormalSmall"> |
||
56 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
57 | <Anchors> |
||
58 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
59 | <Offset> |
||
60 | <AbsDimension x="60" y="-140"/> |
||
61 | </Offset> |
||
62 | </Anchor> |
||
63 | </Anchors> |
||
64 | </FontString> |
||
65 | <FontString name="NecrosisShowBuffMenu_Option" inherits="GameFontNormalSmall"> |
||
66 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
67 | <Anchors> |
||
68 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
69 | <Offset> |
||
70 | <AbsDimension x="60" y="-120"/> |
||
71 | </Offset> |
||
72 | </Anchor> |
||
73 | </Anchors> |
||
74 | </FontString> |
||
75 | <FontString name="NecrosisShowPetMenu_Option" inherits="GameFontNormalSmall"> |
||
76 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
77 | <Anchors> |
||
78 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
79 | <Offset> |
||
80 | <AbsDimension x="60" y="-160"/> |
||
81 | </Offset> |
||
82 | </Anchor> |
||
83 | </Anchors> |
||
84 | </FontString> |
||
85 | <FontString name="NecrosisShowCurseMenu_Option" inherits="GameFontNormalSmall"> |
||
86 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
87 | <Anchors> |
||
88 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
89 | <Offset> |
||
90 | <AbsDimension x="60" y="-180"/> |
||
91 | </Offset> |
||
92 | </Anchor> |
||
93 | </Anchors> |
||
94 | </FontString> |
||
95 | </Layer> |
||
96 | </Layers> |
||
97 | <Frames> |
||
98 | <Slider name="NecrosisBanishScale_Slider" inherits="OptionsSliderTemplate" minValue="100" maxValue="200" valueStep="5" virtual="true"> |
||
99 | <Size> |
||
100 | <AbsDimension x="150" y="16"/> |
||
101 | </Size> |
||
102 | <Anchors> |
||
103 | <Anchor point="CENTER" relativeTo="NecrosisButtonMenu" relativeFrom="TOP"> |
||
104 | <Offset> |
||
105 | <AbsDimension x="0" y="-70"/> |
||
106 | </Offset> |
||
107 | </Anchor> |
||
108 | </Anchors> |
||
109 | <Scripts> |
||
110 | <OnEnter> |
||
111 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
112 | GameTooltip:SetText(this:GetValue().." %"); |
||
113 | NecrosisBuffMenu9:Show(); |
||
114 | NecrosisBuffMenu9:ClearAllPoints(); |
||
115 | NecrosisBuffMenu9:SetPoint("CENTER", "UIParent", "CENTER", 0, 0); |
||
116 | </OnEnter> |
||
117 | <OnValueChanged> |
||
118 | if this:GetValue() ~= NecrosisConfig.BanishScale then |
||
119 | GameTooltip:SetText(this:GetValue().." %"); |
||
120 | NecrosisConfig.BanishScale = this:GetValue(); |
||
121 | NecrosisBuffMenu9:ClearAllPoints(); |
||
122 | NecrosisBuffMenu9:SetScale(NecrosisConfig.BanishScale / 100); |
||
123 | end |
||
124 | </OnValueChanged> |
||
125 | <OnLeave> |
||
126 | GameTooltip:Hide(); |
||
127 | Necrosis_CreateMenu(); |
||
128 | </OnLeave> |
||
129 | </Scripts> |
||
130 | </Slider> |
||
131 | <CheckButton name="NecrosisShowFirestone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
132 | <Size> |
||
133 | <AbsDimension x="24" y="24"/> |
||
134 | </Size> |
||
135 | <Anchors> |
||
136 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
137 | <Offset> |
||
138 | <AbsDimension x="30" y="-35"/> |
||
139 | </Offset> |
||
140 | </Anchor> |
||
141 | </Anchors> |
||
142 | <Scripts> |
||
143 | <OnClick> |
||
144 | if (this:GetChecked()) then |
||
145 | NecrosisConfig.StonePosition[1] = true; |
||
146 | ShowUIPanel(NecrosisFirestoneButton); |
||
147 | else |
||
148 | NecrosisConfig.StonePosition[1] = false; |
||
149 | end |
||
150 | Necrosis_UpdateButtonsScale(); |
||
151 | </OnClick> |
||
152 | </Scripts> |
||
153 | </CheckButton> |
||
154 | <CheckButton name="NecrosisShowSpellstone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
155 | <Size> |
||
156 | <AbsDimension x="24" y="24"/> |
||
157 | </Size> |
||
158 | <Anchors> |
||
159 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
160 | <Offset> |
||
161 | <AbsDimension x="30" y="-55"/> |
||
162 | </Offset> |
||
163 | </Anchor> |
||
164 | </Anchors> |
||
165 | <Scripts> |
||
166 | <OnClick> |
||
167 | if (this:GetChecked()) then |
||
168 | NecrosisConfig.StonePosition[2] = true; |
||
169 | ShowUIPanel(NecrosisSpellstoneButton); |
||
170 | else |
||
171 | NecrosisConfig.StonePosition[2] = false; |
||
172 | end |
||
173 | Necrosis_UpdateButtonsScale(); |
||
174 | </OnClick> |
||
175 | </Scripts> |
||
176 | </CheckButton> |
||
177 | <CheckButton name="NecrosisShowHealthStone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
178 | <Size> |
||
179 | <AbsDimension x="24" y="24"/> |
||
180 | </Size> |
||
181 | <Anchors> |
||
182 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
183 | <Offset> |
||
184 | <AbsDimension x="30" y="-75"/> |
||
185 | </Offset> |
||
186 | </Anchor> |
||
187 | </Anchors> |
||
188 | <Scripts> |
||
189 | <OnClick> |
||
190 | if (this:GetChecked()) then |
||
191 | NecrosisConfig.StonePosition[3] = true; |
||
192 | ShowUIPanel(NecrosisHealthstoneButton); |
||
193 | else |
||
194 | NecrosisConfig.StonePosition[3] = false; |
||
195 | end |
||
196 | Necrosis_UpdateButtonsScale(); |
||
197 | </OnClick> |
||
198 | </Scripts> |
||
199 | </CheckButton> |
||
200 | <CheckButton name="NecrosisShowSoulstone_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
201 | <Size> |
||
202 | <AbsDimension x="24" y="24"/> |
||
203 | </Size> |
||
204 | <Anchors> |
||
205 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
206 | <Offset> |
||
207 | <AbsDimension x="30" y="-95"/> |
||
208 | </Offset> |
||
209 | </Anchor> |
||
210 | </Anchors> |
||
211 | <Scripts> |
||
212 | <OnClick> |
||
213 | if (this:GetChecked()) then |
||
214 | NecrosisConfig.StonePosition[4] = true; |
||
215 | ShowUIPanel(NecrosisSoulstoneButton); |
||
216 | else |
||
217 | NecrosisConfig.StonePosition[4] = false; |
||
218 | end |
||
219 | Necrosis_UpdateButtonsScale(); |
||
220 | </OnClick> |
||
221 | </Scripts> |
||
222 | </CheckButton> |
||
223 | <CheckButton name="NecrosisShowBuffMenu_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
224 | <Size> |
||
225 | <AbsDimension x="24" y="24"/> |
||
226 | </Size> |
||
227 | <Anchors> |
||
228 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
229 | <Offset> |
||
230 | <AbsDimension x="30" y="-115"/> |
||
231 | </Offset> |
||
232 | </Anchor> |
||
233 | </Anchors> |
||
234 | <Scripts> |
||
235 | <OnClick> |
||
236 | if (this:GetChecked()) then |
||
237 | NecrosisConfig.StonePosition[5] = true; |
||
238 | ShowUIPanel(NecrosisBuffMenuButton); |
||
239 | else |
||
240 | NecrosisConfig.StonePosition[5] = false; |
||
241 | HideUIPanel(NecrosisBuffMenuButton); |
||
242 | end |
||
243 | Necrosis_UpdateButtonsScale(); |
||
244 | </OnClick> |
||
245 | </Scripts> |
||
246 | </CheckButton> |
||
247 | <CheckButton name="NecrosisShowMount_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
248 | <Size> |
||
249 | <AbsDimension x="24" y="24"/> |
||
250 | </Size> |
||
251 | <Anchors> |
||
252 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
253 | <Offset> |
||
254 | <AbsDimension x="30" y="-135"/> |
||
255 | </Offset> |
||
256 | </Anchor> |
||
257 | </Anchors> |
||
258 | <Scripts> |
||
259 | <OnClick> |
||
260 | if (this:GetChecked()) then |
||
261 | NecrosisConfig.StonePosition[6] = true; |
||
262 | ShowUIPanel(NecrosisMountButton); |
||
263 | else |
||
264 | NecrosisConfig.StonePosition[6] = false; |
||
265 | HideUIPanel(NecrosisMountButton); |
||
266 | end |
||
267 | Necrosis_UpdateButtonsScale(); |
||
268 | </OnClick> |
||
269 | </Scripts> |
||
270 | </CheckButton> |
||
271 | <CheckButton name="NecrosisShowPetMenu_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
272 | <Size> |
||
273 | <AbsDimension x="24" y="24"/> |
||
274 | </Size> |
||
275 | <Anchors> |
||
276 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
277 | <Offset> |
||
278 | <AbsDimension x="30" y="-155"/> |
||
279 | </Offset> |
||
280 | </Anchor> |
||
281 | </Anchors> |
||
282 | <Scripts> |
||
283 | <OnClick> |
||
284 | if (this:GetChecked()) then |
||
285 | NecrosisConfig.StonePosition[7] = true; |
||
286 | ShowUIPanel(NecrosisPetMenuButton); |
||
287 | else |
||
288 | NecrosisConfig.StonePosition[7] = false; |
||
289 | HideUIPanel(NecrosisPetMenuButton); |
||
290 | end |
||
291 | Necrosis_UpdateButtonsScale(); |
||
292 | </OnClick> |
||
293 | </Scripts> |
||
294 | </CheckButton> |
||
295 | <CheckButton name="NecrosisShowCurseMenu_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
296 | <Size> |
||
297 | <AbsDimension x="24" y="24"/> |
||
298 | </Size> |
||
299 | <Anchors> |
||
300 | <Anchor point="TOPLEFT" relativeTo="NecrosisButtonMenu" relativeFrom="TOPLEFT"> |
||
301 | <Offset> |
||
302 | <AbsDimension x="30" y="-175"/> |
||
303 | </Offset> |
||
304 | </Anchor> |
||
305 | </Anchors> |
||
306 | <Scripts> |
||
307 | <OnClick> |
||
308 | if (this:GetChecked()) then |
||
309 | NecrosisConfig.StonePosition[8] = true; |
||
310 | ShowUIPanel(NecrosisCurseButton); |
||
311 | else |
||
312 | NecrosisConfig.StonePosition[8] = false; |
||
313 | HideUIPanel(NecrosisCurseButton); |
||
314 | end |
||
315 | Necrosis_UpdateButtonsScale(); |
||
316 | </OnClick> |
||
317 | </Scripts> |
||
318 | </CheckButton> |
||
319 | </Frames> |
||
320 | <Scripts> |
||
321 | <OnLoad> |
||
322 | HideUIPanel(NecrosisButtonMenu); |
||
323 | </OnLoad> |
||
324 | </Scripts> |
||
325 | </Frame> |
||
326 | </Ui> |