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="NecrosisMessageMenu" 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="NecrosisMessageSpell_Section" inherits="GameFontNormalSmall"> |
||
16 | <Color r="1.0" g="0.5" b="1.0" a="1"/> |
||
17 | <Anchors> |
||
18 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
19 | <Offset> |
||
20 | <AbsDimension x="30" y="-75"/> |
||
21 | </Offset> |
||
22 | </Anchor> |
||
23 | </Anchors> |
||
24 | </FontString> |
||
25 | <FontString name="NecrosisAntiFearAlert_Option" inherits="GameFontNormalSmall"> |
||
26 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
27 | <Anchors> |
||
28 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
29 | <Offset> |
||
30 | <AbsDimension x="60" y="-95"/> |
||
31 | </Offset> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | </FontString> |
||
35 | <FontString name="NecrosisShadowTranceAlert_Option" inherits="GameFontNormalSmall"> |
||
36 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
37 | <Anchors> |
||
38 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
39 | <Offset> |
||
40 | <AbsDimension x="60" y="-115"/> |
||
41 | </Offset> |
||
42 | </Anchor> |
||
43 | </Anchors> |
||
44 | </FontString> |
||
45 | <FontString name="NecrosisMessagePlayer_Section" inherits="GameFontNormalSmall"> |
||
46 | <Color r="1.0" g="0.5" b="1.0" a="1"/> |
||
47 | <Anchors> |
||
48 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
49 | <Offset> |
||
50 | <AbsDimension x="30" y="-160"/> |
||
51 | </Offset> |
||
52 | </Anchor> |
||
53 | </Anchors> |
||
54 | </FontString> |
||
55 | <FontString name="NecrosisShowTooltips_Option" inherits="GameFontNormalSmall"> |
||
56 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
57 | <Anchors> |
||
58 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
59 | <Offset> |
||
60 | <AbsDimension x="60" y="-180"/> |
||
61 | </Offset> |
||
62 | </Anchor> |
||
63 | </Anchors> |
||
64 | </FontString> |
||
65 | <FontString name="NecrosisSound_Option" inherits="GameFontNormalSmall"> |
||
66 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
67 | <Anchors> |
||
68 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
69 | <Offset> |
||
70 | <AbsDimension x="60" y="-200"/> |
||
71 | </Offset> |
||
72 | </Anchor> |
||
73 | </Anchors> |
||
74 | </FontString> |
||
75 | <FontString name="NecrosisChatType_Option" inherits="GameFontNormalSmall"> |
||
76 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
77 | <Anchors> |
||
78 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
79 | <Offset> |
||
80 | <AbsDimension x="60" y="-220"/> |
||
81 | </Offset> |
||
82 | </Anchor> |
||
83 | </Anchors> |
||
84 | </FontString> |
||
85 | <FontString name="NecrosisShowMessage_Option" inherits="GameFontNormalSmall"> |
||
86 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
87 | <Anchors> |
||
88 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
89 | <Offset> |
||
90 | <AbsDimension x="60" y="-260"/> |
||
91 | </Offset> |
||
92 | </Anchor> |
||
93 | </Anchors> |
||
94 | </FontString> |
||
95 | <FontString name="NecrosisShowDemonSummon_Option" inherits="GameFontNormalSmall"> |
||
96 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
97 | <Anchors> |
||
98 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
99 | <Offset> |
||
100 | <AbsDimension x="100" y="-280"/> |
||
101 | </Offset> |
||
102 | </Anchor> |
||
103 | </Anchors> |
||
104 | </FontString> |
||
105 | <FontString name="NecrosisShowSteedSummon_Option" inherits="GameFontNormalSmall"> |
||
106 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
107 | <Anchors> |
||
108 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
109 | <Offset> |
||
110 | <AbsDimension x="100" y="-300"/> |
||
111 | </Offset> |
||
112 | </Anchor> |
||
113 | </Anchors> |
||
114 | </FontString> |
||
115 | </Layer> |
||
116 | </Layers> |
||
117 | <Frames> |
||
118 | <Slider name="NecrosisLanguage_Slider" inherits="OptionsSliderTemplate" minValue="1" maxValue="3" valueStep="1" virtual="true"> |
||
119 | <Size> |
||
120 | <AbsDimension x="150" y="16"/> |
||
121 | </Size> |
||
122 | <Anchors> |
||
123 | <Anchor point="CENTER" relativeTo="NecrosisMessageMenu" relativeFrom="TOP"> |
||
124 | <Offset> |
||
125 | <AbsDimension x="0" y="180"/> |
||
126 | </Offset> |
||
127 | </Anchor> |
||
128 | </Anchors> |
||
129 | <Scripts> |
||
130 | <OnEnter> |
||
131 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
132 | if (this:GetValue() == 1) then |
||
133 | GameTooltip:SetText("Francais"); |
||
134 | elseif (this:GetValue() == 2) then |
||
135 | GameTooltip:SetText("English"); |
||
136 | else |
||
137 | GameTooltip:SetText("Deutsch"); |
||
138 | end |
||
139 | </OnEnter> |
||
140 | <OnValueChanged> |
||
141 | GameTooltip:SetText(this:GetValue()); |
||
142 | if (this:GetValue() == 1) then |
||
143 | GameTooltip:SetText("Francais"); |
||
144 | NecrosisConfig.NecrosisLanguage = "frFR"; |
||
145 | Necrosis_Localization_Dialog_Fr(); |
||
146 | elseif (this:GetValue() == 2) then |
||
147 | GameTooltip:SetText("English"); |
||
148 | NecrosisConfig.NecrosisLanguage = "enUS"; |
||
149 | Necrosis_Localization_Dialog_En(); |
||
150 | else |
||
151 | GameTooltip:SetText("Deutsch"); |
||
152 | NecrosisConfig.NecrosisLanguage = "deDE"; |
||
153 | Necrosis_Localization_Dialog_De(); |
||
154 | end |
||
155 | Necrosis_LanguageInitialize(); |
||
156 | </OnValueChanged> |
||
157 | <OnLeave> |
||
158 | GameTooltip:Hide(); |
||
159 | </OnLeave> |
||
160 | </Scripts> |
||
161 | </Slider> |
||
162 | |||
163 | <CheckButton name="NecrosisAntiFearAlert_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
164 | <Size> |
||
165 | <AbsDimension x="24" y="24"/> |
||
166 | </Size> |
||
167 | <Anchors> |
||
168 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
169 | <Offset> |
||
170 | <AbsDimension x="30" y="-90"/> |
||
171 | </Offset> |
||
172 | </Anchor> |
||
173 | </Anchors> |
||
174 | <Scripts> |
||
175 | <OnClick> |
||
176 | if (this:GetChecked()) then |
||
177 | NecrosisConfig.AntiFearAlert = true; |
||
178 | else |
||
179 | NecrosisConfig.AntiFearAlert = false; |
||
180 | end |
||
181 | </OnClick> |
||
182 | </Scripts> |
||
183 | </CheckButton> |
||
184 | <CheckButton name="NecrosisShadowTranceAlert_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
185 | <Size> |
||
186 | <AbsDimension x="24" y="24"/> |
||
187 | </Size> |
||
188 | <Anchors> |
||
189 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
190 | <Offset> |
||
191 | <AbsDimension x="30" y="-110"/> |
||
192 | </Offset> |
||
193 | </Anchor> |
||
194 | </Anchors> |
||
195 | <Scripts> |
||
196 | <OnClick> |
||
197 | if (this:GetChecked()) then |
||
198 | NecrosisConfig.ShadowTranceAlert = true; |
||
199 | else |
||
200 | NecrosisConfig.ShadowTranceAlert = false; |
||
201 | end |
||
202 | </OnClick> |
||
203 | </Scripts> |
||
204 | </CheckButton> |
||
205 | <CheckButton name="NecrosisShowTooltips_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
206 | <Size> |
||
207 | <AbsDimension x="24" y="24"/> |
||
208 | </Size> |
||
209 | <Color r="1.0" g="0.5" b="1.0" a="1"/> |
||
210 | <Anchors> |
||
211 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
212 | <Offset> |
||
213 | <AbsDimension x="30" y="-175"/> |
||
214 | </Offset> |
||
215 | </Anchor> |
||
216 | </Anchors> |
||
217 | <Scripts> |
||
218 | <OnClick> |
||
219 | if (this:GetChecked()) then |
||
220 | NecrosisConfig.NecrosisToolTip = true; |
||
221 | Necrosis_Msg(NECROSIS_MESSAGE.Interface.TooltipOn, "USER"); |
||
222 | else |
||
223 | NecrosisConfig.NecrosisToolTip = false; |
||
224 | Necrosis_Msg(NECROSIS_MESSAGE.Interface.TooltipOff, "USER"); |
||
225 | end |
||
226 | Necrosis_UpdateButtonsScale(); |
||
227 | </OnClick> |
||
228 | </Scripts> |
||
229 | </CheckButton> |
||
230 | <CheckButton name="NecrosisSound_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
231 | <Size> |
||
232 | <AbsDimension x="24" y="24"/> |
||
233 | </Size> |
||
234 | <Anchors> |
||
235 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
236 | <Offset> |
||
237 | <AbsDimension x="30" y="-195"/> |
||
238 | </Offset> |
||
239 | </Anchor> |
||
240 | </Anchors> |
||
241 | <Scripts> |
||
242 | <OnClick> |
||
243 | if (this:GetChecked()) then |
||
244 | NecrosisConfig.Sound = true; |
||
245 | else |
||
246 | NecrosisConfig.Sound = false; |
||
247 | end |
||
248 | </OnClick> |
||
249 | </Scripts> |
||
250 | </CheckButton> |
||
251 | <CheckButton name="NecrosisChatType_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
252 | <Size> |
||
253 | <AbsDimension x="24" y="24"/> |
||
254 | </Size> |
||
255 | <Anchors> |
||
256 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
257 | <Offset> |
||
258 | <AbsDimension x="30" y="-215"/> |
||
259 | </Offset> |
||
260 | </Anchor> |
||
261 | </Anchors> |
||
262 | <Scripts> |
||
263 | <OnClick> |
||
264 | if (this:GetChecked()) then |
||
265 | NecrosisConfig.ChatType = false; |
||
266 | else |
||
267 | NecrosisConfig.ChatType = true; |
||
268 | end |
||
269 | Necrosis_Msg(NECROSIS_MESSAGE.Interface.MessagePosition, "USER"); |
||
270 | </OnClick> |
||
271 | </Scripts> |
||
272 | </CheckButton> |
||
273 | <CheckButton name="NecrosisShowMessage_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
274 | <Size> |
||
275 | <AbsDimension x="24" y="24"/> |
||
276 | </Size> |
||
277 | <Anchors> |
||
278 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
279 | <Offset> |
||
280 | <AbsDimension x="30" y="-255"/> |
||
281 | </Offset> |
||
282 | </Anchor> |
||
283 | </Anchors> |
||
284 | <Scripts> |
||
285 | <OnClick> |
||
286 | if (this:GetChecked()) then |
||
287 | NecrosisConfig.ChatMsg = true; |
||
288 | else |
||
289 | NecrosisConfig.ChatMsg = false; |
||
290 | end |
||
291 | </OnClick> |
||
292 | </Scripts> |
||
293 | </CheckButton> |
||
294 | <CheckButton name="NecrosisShowDemonSummon_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
295 | <Size> |
||
296 | <AbsDimension x="24" y="24"/> |
||
297 | </Size> |
||
298 | <Anchors> |
||
299 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
300 | <Offset> |
||
301 | <AbsDimension x="70" y="-275"/> |
||
302 | </Offset> |
||
303 | </Anchor> |
||
304 | </Anchors> |
||
305 | <Scripts> |
||
306 | <OnClick> |
||
307 | if (this:GetChecked()) then |
||
308 | NecrosisConfig.DemonSummon = true; |
||
309 | else |
||
310 | NecrosisConfig.DemonSummon = false; |
||
311 | end |
||
312 | </OnClick> |
||
313 | </Scripts> |
||
314 | </CheckButton> |
||
315 | <CheckButton name="NecrosisShowSteedSummon_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
316 | <Size> |
||
317 | <AbsDimension x="24" y="24"/> |
||
318 | </Size> |
||
319 | <Anchors> |
||
320 | <Anchor point="TOPLEFT" relativeTo="NecrosisMessageMenu" relativeFrom="TOPLEFT"> |
||
321 | <Offset> |
||
322 | <AbsDimension x="70" y="-295"/> |
||
323 | </Offset> |
||
324 | </Anchor> |
||
325 | </Anchors> |
||
326 | <Scripts> |
||
327 | <OnClick> |
||
328 | if (this:GetChecked()) then |
||
329 | NecrosisConfig.SteedSummon = true; |
||
330 | else |
||
331 | NecrosisConfig.SteedSummon = false; |
||
332 | end |
||
333 | </OnClick> |
||
334 | </Scripts> |
||
335 | </CheckButton> |
||
336 | </Frames> |
||
337 | <Scripts> |
||
338 | <OnLoad> |
||
339 | HideUIPanel(NecrosisMessageMenu); |
||
340 | </OnLoad> |
||
341 | </Scripts> |
||
342 | </Frame> |
||
343 | </Ui> |