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="NecrosisShardMenu" 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="NecrosisShardsInventory_Section" inherits="GameFontNormalSmall"> |
||
16 | <Color r="1.0" g="0.5" b="1.0" a="1"/> |
||
17 | <Anchors> |
||
18 | <Anchor point="TOPLEFT" relativeTo="NecrosisShardMenu" relativeFrom="TOPLEFT"> |
||
19 | <Offset> |
||
20 | <AbsDimension x="30" y="-20"/> |
||
21 | </Offset> |
||
22 | </Anchor> |
||
23 | </Anchors> |
||
24 | </FontString> |
||
25 | <FontString name="NecrosisSoulshardSort_Option" inherits="GameFontNormalSmall"> |
||
26 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
27 | <Anchors> |
||
28 | <Anchor point="TOPLEFT" relativeTo="NecrosisShardMenu" relativeFrom="TOPLEFT"> |
||
29 | <Offset> |
||
30 | <AbsDimension x="60" y="-40"/> |
||
31 | </Offset> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | </FontString> |
||
35 | <FontString name="NecrosisSoulshardDestroy_Option" inherits="GameFontNormalSmall"> |
||
36 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
37 | <Anchors> |
||
38 | <Anchor point="TOPLEFT" relativeTo="NecrosisShardMenu" relativeFrom="TOPLEFT"> |
||
39 | <Offset> |
||
40 | <AbsDimension x="60" y="-60"/> |
||
41 | </Offset> |
||
42 | </Anchor> |
||
43 | </Anchors> |
||
44 | </FontString> |
||
45 | <FontString name="NecrosisShardsCount_Section" inherits="GameFontNormalSmall"> |
||
46 | <Color r="1.0" g="0.5" b="1.0" a="1"/> |
||
47 | <Anchors> |
||
48 | <Anchor point="TOPLEFT" relativeTo="NecrosisShardMenu" relativeFrom="TOPLEFT"> |
||
49 | <Offset> |
||
50 | <AbsDimension x="30" y="-145"/> |
||
51 | </Offset> |
||
52 | </Anchor> |
||
53 | </Anchors> |
||
54 | </FontString> |
||
55 | <FontString name="NecrosisShowCount_Option" inherits="GameFontNormalSmall"> |
||
56 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
57 | <Anchors> |
||
58 | <Anchor point="TOPLEFT" relativeTo="NecrosisShardMenu" relativeFrom="TOPLEFT"> |
||
59 | <Offset> |
||
60 | <AbsDimension x="60" y="-165"/> |
||
61 | </Offset> |
||
62 | </Anchor> |
||
63 | </Anchors> |
||
64 | </FontString> |
||
65 | </Layer> |
||
66 | </Layers> |
||
67 | <Frames> |
||
68 | <Slider name="NecrosisBag_Slider" inherits="OptionsSliderTemplate" minValue="0" maxValue="4" valueStep="1" virtual="true"> |
||
69 | <Size> |
||
70 | <AbsDimension x="150" y="16"/> |
||
71 | </Size> |
||
72 | <Anchors> |
||
73 | <Anchor point="CENTER" relativeTo="NecrosisShardMenu" relativeFrom="TOP"> |
||
74 | <Offset> |
||
75 | <AbsDimension x="0" y="120"/> |
||
76 | </Offset> |
||
77 | </Anchor> |
||
78 | </Anchors> |
||
79 | <Scripts> |
||
80 | <OnEnter> |
||
81 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
82 | GameTooltip:SetText(5-this:GetValue()); |
||
83 | </OnEnter> |
||
84 | <OnValueChanged> |
||
85 | GameTooltip:SetText(5-this:GetValue()); |
||
86 | </OnValueChanged> |
||
87 | <OnLeave> |
||
88 | GameTooltip:Hide(); |
||
89 | </OnLeave> |
||
90 | <OnMouseUp> |
||
91 | GameTooltip:SetText(5-this:GetValue()); |
||
92 | NecrosisConfig.SoulshardContainer = 4-this:GetValue(); |
||
93 | Necrosis_SoulshardSwitch("MOVE"); |
||
94 | </OnMouseUp> |
||
95 | </Scripts> |
||
96 | </Slider> |
||
97 | <Slider name="NecrosisCountType_Slider" inherits="OptionsSliderTemplate" minValue="1" maxValue="3" valueStep="1" virtual="true"> |
||
98 | <Size> |
||
99 | <AbsDimension x="150" y="16"/> |
||
100 | </Size> |
||
101 | <Anchors> |
||
102 | <Anchor point="CENTER" relativeTo="NecrosisShardMenu" relativeFrom="TOP"> |
||
103 | <Offset> |
||
104 | <AbsDimension x="0" y="15"/> |
||
105 | </Offset> |
||
106 | </Anchor> |
||
107 | </Anchors> |
||
108 | <Scripts> |
||
109 | <OnEnter> |
||
110 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
111 | if this:GetValue() == 1 then |
||
112 | GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Shard); |
||
113 | elseif this:GetValue() == 2 then |
||
114 | GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Inferno); |
||
115 | else |
||
116 | GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Rez); |
||
117 | end |
||
118 | </OnEnter> |
||
119 | <OnValueChanged> |
||
120 | if this:GetValue() == 1 then |
||
121 | GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Shard); |
||
122 | elseif this:GetValue() == 2 then |
||
123 | GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Inferno); |
||
124 | else |
||
125 | GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Rez); |
||
126 | end |
||
127 | </OnValueChanged> |
||
128 | <OnLeave> |
||
129 | GameTooltip:Hide(); |
||
130 | </OnLeave> |
||
131 | <OnMouseUp> |
||
132 | NecrosisConfig.CountType = this:GetValue(); |
||
133 | Necrosis_BagExplore(); |
||
134 | </OnMouseUp> |
||
135 | </Scripts> |
||
136 | </Slider> |
||
137 | <Slider name="NecrosisCircle_Slider" inherits="OptionsSliderTemplate" minValue="1" maxValue="2" valueStep="1" virtual="true"> |
||
138 | <Size> |
||
139 | <AbsDimension x="150" y="16"/> |
||
140 | </Size> |
||
141 | <Anchors> |
||
142 | <Anchor point="CENTER" relativeTo="NecrosisShardMenu" relativeFrom="TOP"> |
||
143 | <Offset> |
||
144 | <AbsDimension x="0" y="-30"/> |
||
145 | </Offset> |
||
146 | </Anchor> |
||
147 | </Anchors> |
||
148 | <Scripts> |
||
149 | <OnEnter> |
||
150 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
151 | if this:GetValue() == 1 then |
||
152 | GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Shard); |
||
153 | else |
||
154 | GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Rez); |
||
155 | end |
||
156 | </OnEnter> |
||
157 | <OnValueChanged> |
||
158 | if this:GetValue() == 1 then |
||
159 | GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Shard); |
||
160 | else |
||
161 | GameTooltip:SetText(NECROSIS_CONFIGURATION.Count.Rez); |
||
162 | end |
||
163 | </OnValueChanged> |
||
164 | <OnLeave> |
||
165 | GameTooltip:Hide(); |
||
166 | </OnLeave> |
||
167 | <OnMouseUp> |
||
168 | NecrosisConfig.Circle = this:GetValue(); |
||
169 | Necrosis_BagExplore(); |
||
170 | </OnMouseUp> |
||
171 | </Scripts> |
||
172 | </Slider> |
||
173 | <Slider name="NecrosisColor_Slider" inherits="OptionsSliderTemplate" minValue="1" maxValue="6" valueStep="1" virtual="true"> |
||
174 | <Size> |
||
175 | <AbsDimension x="150" y="16"/> |
||
176 | </Size> |
||
177 | <Anchors> |
||
178 | <Anchor point="CENTER" relativeTo="NecrosisShardMenu" relativeFrom="TOP"> |
||
179 | <Offset> |
||
180 | <AbsDimension x="0" y="-75"/> |
||
181 | </Offset> |
||
182 | </Anchor> |
||
183 | </Anchors> |
||
184 | <Scripts> |
||
185 | <OnEnter> |
||
186 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
187 | if (this:GetValue() == 1) then |
||
188 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Pink); |
||
189 | elseif (this:GetValue() == 2) then |
||
190 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Blue); |
||
191 | elseif (this:GetValue() == 3) then |
||
192 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Orange); |
||
193 | elseif (this:GetValue() == 4) then |
||
194 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Turquoise); |
||
195 | elseif (this:GetValue() == 5) then |
||
196 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Purple); |
||
197 | else |
||
198 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.X); |
||
199 | end |
||
200 | </OnEnter> |
||
201 | <OnValueChanged> |
||
202 | GameTooltip:SetText(this:GetValue()); |
||
203 | if (this:GetValue() == 1) then |
||
204 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Pink); |
||
205 | NecrosisConfig.NecrosisColor = "Rose"; |
||
206 | NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\Rose\\Shard16"); |
||
207 | elseif (this:GetValue() == 2) then |
||
208 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Blue); |
||
209 | NecrosisConfig.NecrosisColor = "Bleu"; |
||
210 | NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\Bleu\\Shard16"); |
||
211 | elseif (this:GetValue() == 3) then |
||
212 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Orange); |
||
213 | NecrosisConfig.NecrosisColor = "Orange"; |
||
214 | NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\Orange\\Shard16"); |
||
215 | elseif (this:GetValue() == 4) then |
||
216 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Turquoise); |
||
217 | NecrosisConfig.NecrosisColor = "Turquoise"; |
||
218 | NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\Turquoise\\Shard16"); |
||
219 | elseif (this:GetValue() == 5) then |
||
220 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.Purple); |
||
221 | NecrosisConfig.NecrosisColor = "Violet"; |
||
222 | NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\Violet\\Shard16"); |
||
223 | else |
||
224 | GameTooltip:SetText(NECROSIS_COLOR_TOOLTIP.X); |
||
225 | NecrosisConfig.NecrosisColor = "X"; |
||
226 | NecrosisButton:SetNormalTexture("Interface\\AddOns\\Necrosis\\UI\\X\\Shard16"); |
||
227 | end |
||
228 | </OnValueChanged> |
||
229 | <OnLeave> |
||
230 | GameTooltip:Hide(); |
||
231 | Necrosis_BagExplore(); |
||
232 | </OnLeave> |
||
233 | </Scripts> |
||
234 | </Slider> |
||
235 | <CheckButton name="NecrosisSoulshardSort_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
236 | <Size> |
||
237 | <AbsDimension x="24" y="24"/> |
||
238 | </Size> |
||
239 | <Anchors> |
||
240 | <Anchor point="TOPLEFT" relativeTo="NecrosisShardMenu" relativeFrom="TOPLEFT"> |
||
241 | <Offset> |
||
242 | <AbsDimension x="30" y="-35"/> |
||
243 | </Offset> |
||
244 | </Anchor> |
||
245 | </Anchors> |
||
246 | <Scripts> |
||
247 | <OnClick> |
||
248 | if (this:GetChecked()) then |
||
249 | NecrosisConfig.SoulshardSort = true; |
||
250 | else |
||
251 | NecrosisConfig.SoulshardSort = false; |
||
252 | end |
||
253 | </OnClick> |
||
254 | </Scripts> |
||
255 | </CheckButton> |
||
256 | <CheckButton name="NecrosisSoulshardDestroy_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
257 | <Size> |
||
258 | <AbsDimension x="24" y="24"/> |
||
259 | </Size> |
||
260 | <Anchors> |
||
261 | <Anchor point="TOPLEFT" relativeTo="NecrosisShardMenu" relativeFrom="TOPLEFT"> |
||
262 | <Offset> |
||
263 | <AbsDimension x="30" y="-55"/> |
||
264 | </Offset> |
||
265 | </Anchor> |
||
266 | </Anchors> |
||
267 | <Scripts> |
||
268 | <OnClick> |
||
269 | if (this:GetChecked()) then |
||
270 | NecrosisConfig.SoulshardDestroy = true; |
||
271 | else |
||
272 | NecrosisConfig.SoulshardDestroy = false; |
||
273 | end |
||
274 | </OnClick> |
||
275 | </Scripts> |
||
276 | </CheckButton> |
||
277 | <CheckButton name="NecrosisShowCount_Button" enableMouse="true" inherits="UICheckButtonTemplate" checked="false"> |
||
278 | <Size> |
||
279 | <AbsDimension x="24" y="24"/> |
||
280 | </Size> |
||
281 | <Anchors> |
||
282 | <Anchor point="TOPLEFT" relativeTo="NecrosisShardMenu" relativeFrom="TOPLEFT"> |
||
283 | <Offset> |
||
284 | <AbsDimension x="30" y="-160"/> |
||
285 | </Offset> |
||
286 | </Anchor> |
||
287 | </Anchors> |
||
288 | <Scripts> |
||
289 | <OnClick> |
||
290 | if (this:GetChecked()) then |
||
291 | NecrosisConfig.ShowCount = true; |
||
292 | else |
||
293 | NecrosisConfig.ShowCount = false; |
||
294 | end |
||
295 | Necrosis_BagExplore(); |
||
296 | </OnClick> |
||
297 | </Scripts> |
||
298 | </CheckButton> |
||
299 | </Frames> |
||
300 | <Scripts> |
||
301 | <OnLoad> |
||
302 | HideUIPanel(NecrosisShardMenu); |
||
303 | </OnLoad> |
||
304 | </Scripts> |
||
305 | </Frame> |
||
306 | </Ui> |