vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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  
3 <Frame name="GB_MiscOptions" parent="GB_Options" inherits="GB_BGTemplate" hidden="true">
4 <Size><AbsDimension x="545" y="540"/></Size>
5 <Anchors>
6 <Anchor point="TOPLEFT" relativeTo="GB_OptionsTitle" relativePoint="BOTTOMLEFT"/>
7 </Anchors>
8 <Frames>
9 <CheckButton name="$parent_DoNotAttack" inherits="GB_CheckBoxTemplate">
10 <Anchors>
11 <Anchor point="TOPLEFT">
12 <Offset><AbsDimension x="10" y="-10"/></Offset>
13 </Anchor>
14 </Anchors>
15 <Scripts>
16 <OnLoad>
17 this.index = "dontAttack";
18 GB_Set_Label(GB_TEXT.DoNotAttack);
19 </OnLoad>
20 </Scripts>
21 </CheckButton>
22 <CheckButton name="$parent_DisableTooltip" inherits="GB_CheckBoxTemplate">
23 <Anchors>
24 <Anchor point="TOP" relativeTo="$parent_DoNotAttack" relativePoint="BOTTOM"/>
25 </Anchors>
26 <Scripts>
27 <OnLoad>
28 this.index = "disableTooltip";
29 GB_Set_Label(GB_TEXT.DisableTooltip);
30 </OnLoad>
31 </Scripts>
32 </CheckButton>
33 <CheckButton name="$parent_DoNotTargetPet" inherits="GB_CheckBoxTemplate">
34 <Anchors>
35 <Anchor point="TOP" relativeTo="$parent_DisableTooltip" relativePoint="BOTTOM"/>
36 </Anchors>
37 <Scripts>
38 <OnLoad>
39 this.index = "dontTargetPet";
40 GB_Set_Label(GB_TEXT.DoNotTargetPet);
41 </OnLoad>
42 </Scripts>
43 </CheckButton>
44 <CheckButton name="$parent_IncludePets" inherits="GB_CheckBoxTemplate">
45 <Anchors>
46 <Anchor point="TOP" relativeTo="$parent_DoNotTargetPet" relativePoint="BOTTOM"/>
47 </Anchors>
48 <Scripts>
49 <OnLoad>
50 this.index = "includePets";
51 GB_Set_Label(GB_TEXT.IncludePets);
52 </OnLoad>
53 </Scripts>
54 </CheckButton>
55 <CheckButton name="$parent_IncludeRaid" inherits="GB_CheckBoxTemplate">
56 <Anchors>
57 <Anchor point="TOP" relativeTo="$parent_IncludePets" relativePoint="BOTTOM"/>
58 </Anchors>
59 <Scripts>
60 <OnLoad>
61 this.index = "includeRaid";
62 GB_Set_Label(GB_TEXT.IncludeRaid);
63 </OnLoad>
64 </Scripts>
65 </CheckButton>
66 <CheckButton name="$parent_HideBaseKeybindings" inherits="GB_CheckBoxTemplate">
67 <Anchors>
68 <Anchor point="TOP" relativeTo="$parent_IncludeRaid" relativePoint="BOTTOM"/>
69 </Anchors>
70 <Scripts>
71 <OnLoad>
72 this.index = "hideBaseBindings";
73 GB_Set_Label(GB_TEXT.HideBaseBindings);
74 </OnLoad>
75 </Scripts>
76 </CheckButton>
77 <CheckButton name="$parent_ModifyByUIScale" inherits="GB_CheckBoxTemplate">
78 <Anchors>
79 <Anchor point="LEFT" relativeTo="$parent_HideBaseKeybindings" relativePoint="RIGHT">
80 <Offset><AbsDimension x="300" y="0"/></Offset>
81 </Anchor>
82 </Anchors>
83 <Scripts>
84 <OnLoad>
85 this.index = "modifybyUIscale";
86 GB_Set_Label(GB_TEXT.ModifyByUIScale);
87 </OnLoad>
88 </Scripts>
89 </CheckButton>
90 <CheckButton name="$parent_HideDynamicKeybindings" inherits="GB_CheckBoxTemplate">
91 <Anchors>
92 <Anchor point="TOP" relativeTo="$parent_HideBaseKeybindings" relativePoint="BOTTOM"/>
93 </Anchors>
94 <Scripts>
95 <OnLoad>
96 this.index = "hideDynamicBindings";
97 GB_Set_Label(GB_TEXT.HideDynamicBindings);
98 </OnLoad>
99 </Scripts>
100 </CheckButton>
101 <CheckButton name="$parent_HideInRaid" inherits="GB_CheckBoxTemplate">
102 <Anchors>
103 <Anchor point="TOP" relativeTo="$parent_HideDynamicKeybindings" relativePoint="BOTTOM"/>
104 </Anchors>
105 <Scripts>
106 <OnLoad>
107 this.index = "hideInRaid";
108 GB_Set_Label(GB_TEXT.HideInRaid);
109 </OnLoad>
110 </Scripts>
111 </CheckButton>
112 <CheckButton name="$parent_AutoCancelForm" inherits="GB_CheckBoxTemplate">
113 <Anchors>
114 <Anchor point="LEFT" relativeTo="$parent_HideDynamicKeybindings" relativePoint="RIGHT">
115 <Offset><AbsDimension x="225" y="0"/></Offset>
116 </Anchor>
117 </Anchors>
118 <Scripts>
119 <OnLoad>
120 this.index = "autoleaveform";
121 GB_Set_Label(GB_TEXT.AutoCancel);
122 </OnLoad>
123 </Scripts>
124 </CheckButton>
125 <CheckButton name="$parent_LimitLHRange" inherits="GB_CheckBoxTemplate">
126 <Anchors>
127 <Anchor point="TOPLEFT" relativeTo="$parent_AutoCancelForm" relativePoint="BOTTOMLEFT">
128 <Offset><AbsDimension x="0" y="0"/></Offset>
129 </Anchor>
130 </Anchors>
131 <Scripts>
132 <OnLoad>
133 this.index = "limitlhrange";
134 GB_Set_Label(GB_TEXT.LimitLHRange);
135 </OnLoad>
136 </Scripts>
137 </CheckButton>
138 <CheckButton name="$parent_LimitAERange" inherits="GB_CheckBoxTemplate">
139 <Anchors>
140 <Anchor point="TOPLEFT" relativeTo="$parent_LimitLHRange" relativePoint="BOTTOMLEFT">
141 <Offset><AbsDimension x="0" y="0"/></Offset>
142 </Anchor>
143 </Anchors>
144 <Scripts>
145 <OnLoad>
146 this.index = "limitaerange";
147 GB_Set_Label(GB_TEXT.LimitAERange);
148 </OnLoad>
149 </Scripts>
150 </CheckButton>
151 <CheckButton name="$parent_ChangeTarget" inherits="GB_CheckBoxTemplate">
152 <Anchors>
153 <Anchor point="TOP" relativeTo="$parent_HideInRaid" relativePoint="BOTTOM"/>
154 </Anchors>
155 <Scripts>
156 <OnLoad>
157 this.index = "changeTarget";
158 GB_Set_Label(GB_TEXT.ChangeTarget);
159 </OnLoad>
160 </Scripts>
161 </CheckButton>
162 <CheckButton name="$parent_DisableGB" inherits="GB_CheckBoxTemplate">
163 <Anchors>
164 <Anchor point="TOP" relativeTo="$parent_ChangeTarget" relativePoint="BOTTOM"/>
165 </Anchors>
166 <Scripts>
167 <OnLoad>
168 this.index = "Disable";
169 this.func = DisableGB;
170 GB_Set_Label(GB_TEXT.DisableGB);
171 </OnLoad>
172 </Scripts>
173 </CheckButton>
174 <CheckButton name="$parent_DisablePartyRange" inherits="GB_CheckBoxTemplate">
175 <Anchors>
176 <Anchor point="TOP" relativeTo="$parent_DisableGB" relativePoint="BOTTOM"/>
177 </Anchors>
178 <Scripts>
179 <OnLoad>
180 this.index = "disablePartyRange";
181 GB_Set_Label(GB_TEXT.DisablePartyRange);
182 </OnLoad>
183 </Scripts>
184 </CheckButton>
185 <CheckButton name="$parent_ShowCooldown" inherits="GB_CheckBoxTemplate">
186 <Anchors>
187 <Anchor point="TOP" relativeTo="$parent_DisablePartyRange" relativePoint="BOTTOM"/>
188 </Anchors>
189 <Scripts>
190 <OnLoad>
191 this.index = "showCooldown";
192 GB_Set_Label(GB_TEXT.ShowCooldownCount);
193 </OnLoad>
194 </Scripts>
195 </CheckButton>
196 <CheckButton name="$parent_ApplyPOonCtrl" inherits="GB_CheckBoxTemplate">
197 <Anchors>
198 <Anchor point="TOP" relativeTo="$parent_ShowCooldown" relativePoint="BOTTOM"/>
199 </Anchors>
200 <Scripts>
201 <OnLoad>
202 this.index = "applyPOonCtrl";
203 GB_Set_Label(GB_TEXT.ApplyPOOnCtrl);
204 </OnLoad>
205 </Scripts>
206 </CheckButton>
207 <CheckButton name="$parent_DisableGroupButtonsSpam" inherits="GB_CheckBoxTemplate">
208 <Anchors>
209 <Anchor point="TOP" relativeTo="$parent_ApplyPOonCtrl" relativePoint="BOTTOM"/>
210 </Anchors>
211 <Scripts>
212 <OnLoad>
213 this.index = "disableGBSpam";
214 GB_Set_Label(GB_TEXT.DisableGBSpam);
215 </OnLoad>
216 </Scripts>
217 </CheckButton>
218 <CheckButton name="$parent_DisableCantDoYetSpam" inherits="GB_CheckBoxTemplate">
219 <Anchors>
220 <Anchor point="TOP" relativeTo="$parent_DisableGroupButtonsSpam" relativePoint="BOTTOM"/>
221 </Anchors>
222 <Scripts>
223 <OnLoad>
224 this.index = "disableCantDoYetSpam";
225 GB_Set_Label(GB_TEXT.DisableCantDoYetSpam);
226 </OnLoad>
227 </Scripts>
228 </CheckButton>
229 <CheckButton name="$parent_DisableActionInProgressSpam" inherits="GB_CheckBoxTemplate">
230 <Anchors>
231 <Anchor point="TOP" relativeTo="$parent_DisableCantDoYetSpam" relativePoint="BOTTOM"/>
232 </Anchors>
233 <Scripts>
234 <OnLoad>
235 this.index = "disableActionInProgressSpam";
236 GB_Set_Label(GB_TEXT.DisableActionInProgressSpam);
237 </OnLoad>
238 </Scripts>
239 </CheckButton>
240 <CheckButton name="$parent_DisableOutOfRangeSpam" inherits="GB_CheckBoxTemplate">
241 <Anchors>
242 <Anchor point="TOP" relativeTo="$parent_DisableActionInProgressSpam" relativePoint="BOTTOM"/>
243 </Anchors>
244 <Scripts>
245 <OnLoad>
246 this.index = "disableOutOfRangeSpam";
247 GB_Set_Label(GB_TEXT.DisableOutOfRangeSpam);
248 </OnLoad>
249 </Scripts>
250 </CheckButton>
251 <Frame name="$parent_ChooseClickbox" inherits="GB_MenuControlTemplate">
252 <Size><AbsDimension x="100" y="26"/></Size>
253 <Scripts>
254 <OnLoad>
255 this:SetBackdropColor(0.0, 0.0, 0.0);
256 this.menu = "GB_Menu_Clickboxes";
257 GB_Set_Label(GB_TEXT.AdjustClickbox);
258 GB_Set_Anchor("_DisableOutOfRangeSpam", 100, 0);
259 </OnLoad>
260 </Scripts>
261 </Frame>
262 <Slider name="$parent_ClickboxX1" inherits="GB_SliderTemplate" minValue="-50" maxValue="50" valueStep="1" id="555">
263 <Anchors>
264 <Anchor point="TOPLEFT" relativeTo="$parent_DisableOutOfRangeSpam" relativePoint="BOTTOMLEFT">
265 <Offset><AbsDimension x="0" y="-50"/></Offset>
266 </Anchor>
267 </Anchors>
268 <Scripts>
269 <OnLoad>
270 this.index = "x1";
271 this.func = GB_UnitFrames_Initialize;
272 GB_Set_Label(GB_TEXT.ClickboxLeftXOffset);
273 </OnLoad>
274 </Scripts>
275 </Slider>
276 <Slider name="$parent_ClickboxX2" inherits="GB_SliderTemplate" minValue="-50" maxValue="50" valueStep="1" id="555">
277 <Anchors>
278 <Anchor point="TOP" relativeTo="$parent_ClickboxX1" relativePoint="BOTTOM">
279 <Offset><AbsDimension x="0" y="-20"/></Offset>
280 </Anchor>
281 </Anchors>
282 <Scripts>
283 <OnLoad>
284 this.index = "x2";
285 this.func = GB_UnitFrames_Initialize;
286 GB_Set_Label(GB_TEXT.ClickboxRightXOffset);
287 </OnLoad>
288 </Scripts>
289 </Slider>
290 <Slider name="$parent_ClickboxY1" inherits="GB_SliderTemplate" minValue="-50" maxValue="50" valueStep="1" id="555">
291 <Anchors>
292 <Anchor point="LEFT" relativeTo="$parent_ClickboxX1" relativePoint="RIGHT">
293 <Offset><AbsDimension x="60" y="0"/></Offset>
294 </Anchor>
295 </Anchors>
296 <Scripts>
297 <OnLoad>
298 this.index = "y1";
299 this.func = GB_UnitFrames_Initialize;
300 GB_Set_Label(GB_TEXT.ClickboxTopYOffset);
301 </OnLoad>
302 </Scripts>
303 </Slider>
304 <Slider name="$parent_ClickboxY2" inherits="GB_SliderTemplate" minValue="-50" maxValue="50" valueStep="1" id="555">
305 <Anchors>
306 <Anchor point="TOP" relativeTo="$parent_ClickboxY1" relativePoint="BOTTOM">
307 <Offset><AbsDimension x="0" y="-20"/></Offset>
308 </Anchor>
309 </Anchors>
310 <Scripts>
311 <OnLoad>
312 this.index = "y2";
313 this.func = GB_UnitFrames_Initialize;
314 GB_Set_Label(GB_TEXT.ClickboxBottomYOffset);
315 </OnLoad>
316 </Scripts>
317 </Slider>
318 <Button name="$parent_OORColor" inherits="GB_ColorPickerTemplate">
319 <Anchors>
320 <Anchor point="LEFT" relativePoint="TOPRIGHT">
321 <Offset><AbsDimension x="-130" y="-40"/></Offset>
322 </Anchor>
323 </Anchors>
324 <Scripts>
325 <OnLoad>
326 this.index = "OORcolor";
327 GB_Set_Label(GB_TEXT.Range);
328 </OnLoad>
329 </Scripts>
330 </Button>
331 <Button name="$parent_OOMColor" inherits="GB_ColorPickerTemplate">
332 <Anchors>
333 <Anchor point="TOP" relativeTo="$parent_OORColor" relativePoint="BOTTOM"/>
334 </Anchors>
335 <Scripts>
336 <OnLoad>
337 this.index = "OOMcolor";
338 GB_Set_Label(GB_TEXT.Mana);
339 </OnLoad>
340 </Scripts>
341 </Button>
342 <Button name="$parent_GreyColor" inherits="GB_ColorPickerTemplate">
343 <Anchors>
344 <Anchor point="TOP" relativeTo="$parent_OOMColor" relativePoint="BOTTOM"/>
345 </Anchors>
346 <Scripts>
347 <OnLoad>
348 this.index = "greycolor";
349 GB_Set_Label(GB_TEXT.Grey);
350 </OnLoad>
351 </Scripts>
352 </Button>
353 <EditBox name="$parent_HealingBonus" letters="4" autoFocus="false" inherits="InputBoxTemplate">
354 <Size><AbsDimension x="70" y="16"/></Size>
355 <Anchors>
356 <Anchor point="TOPRIGHT">
357 <Offset><AbsDimension x="-50" y="-250"/></Offset>
358 </Anchor>
359 </Anchors>
360 <Layers>
361 <Layer level="BACKGROUND">
362 <FontString name="$parent_Label" inherits="GameFontNormal">
363 <Color r="1.0" g="1.0" b="1.0"/>
364 <Anchors>
365 <Anchor point="BOTTOM" relativePoint="TOP"/>
366 </Anchors>
367 </FontString>
368 </Layer>
369 </Layers>
370 <Scripts>
371 <OnLoad>
372 GB_MiscOptions_HealingBonus_Label:SetText(GB_TEXT.HealingBonus);
373 </OnLoad>
374 <OnEnterPressed>
375 this:ClearFocus();
376 GB_Set_HealingBonus();
377 </OnEnterPressed>
378 <OnEscapePressed>
379 this:ClearFocus();
380 this:SetText(GB_Settings[GB_INDEX].HealingBonus);
381 </OnEscapePressed>
382 </Scripts>
383 </EditBox>
384 </Frames>
385 <Layers>
386 <Layer level="ARTWORK">
387 <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="GB_COLORS">
388 <Color r="1.0" g="1.0" b="0"/>
389 <Anchors>
390 <Anchor point="LEFT" relativePoint="TOPRIGHT">
391 <Offset><AbsDimension x="-130" y="-20"/></Offset>
392 </Anchor>
393 </Anchors>
394 </FontString>
395 </Layer>
396 </Layers>
397 <Scripts>
398 <OnLoad>
399 this:SetBackdropColor(.2, .2, .2);
400 </OnLoad>
401 </Scripts>
402 </Frame>
403  
404 </Ui>