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 | <Script file="Menu.lua"/> |
||
4 | |||
5 | <!-- General Slider --> |
||
6 | <CheckButton name="BagnonOptionsAtEventButton" virtual="true"> |
||
7 | <Size x="32" y="32"/> |
||
8 | |||
9 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> |
||
10 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> |
||
11 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> |
||
12 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> |
||
13 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/> |
||
14 | </CheckButton> |
||
15 | |||
16 | <CheckButton name="BagnonOptionsCheckButton" virtual="true"> |
||
17 | <Size x="32" y="32"/> |
||
18 | |||
19 | <Anchors> |
||
20 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
21 | <Offset x="18" y="-36"/> |
||
22 | </Anchor> |
||
23 | </Anchors> |
||
24 | |||
25 | <ButtonText name="$parentText" inherits="GameFontNormal"> |
||
26 | <Anchors> |
||
27 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
28 | <Offset x="-2" y="0"/> |
||
29 | </Anchor> |
||
30 | </Anchors> |
||
31 | </ButtonText> |
||
32 | <NormalFont font="GameFontNormal"/> |
||
33 | |||
34 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> |
||
35 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> |
||
36 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> |
||
37 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> |
||
38 | </CheckButton> |
||
39 | |||
40 | <!-- Bagnon Options Menu --> |
||
41 | <Frame name="BagnonOptions" movable="true" clampedToScreen="true" enableMouse="true" frameStrata="DIALOG" hidden="true" parent="UIParent"> |
||
42 | <Size x="254" y="362"/> |
||
43 | |||
44 | <Anchors> |
||
45 | <Anchor point="LEFT"/> |
||
46 | </Anchors> |
||
47 | |||
48 | <Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
49 | <BackgroundInsets> |
||
50 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
51 | </BackgroundInsets> |
||
52 | <TileSize> |
||
53 | <AbsValue val="32"/> |
||
54 | </TileSize> |
||
55 | <EdgeSize> |
||
56 | <AbsValue val="32"/> |
||
57 | </EdgeSize> |
||
58 | </Backdrop> |
||
59 | |||
60 | <Layers> |
||
61 | <Layer level="ARTWORK"> |
||
62 | <FontString name="$parentTitle" font="GameFontHighlightLarge" text="BAGNON_MAINOPTIONS_TITLE"> |
||
63 | <Anchors> |
||
64 | <Anchor point="TOP"> |
||
65 | <Offset x="0" y="-16"/> |
||
66 | </Anchor> |
||
67 | </Anchors> |
||
68 | </FontString> |
||
69 | |||
70 | <FontString name="$parentShowWhen" font="GameFontNormal" text="BAGNON_MAINOPTIONS_SHOW"> |
||
71 | <Anchors> |
||
72 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
73 | <Offset x="16" y="-118"/> |
||
74 | </Anchor> |
||
75 | </Anchors> |
||
76 | </FontString> |
||
77 | |||
78 | <FontString name="$parentBanknonDiv" font="GameFontNormal" text="Banknon"> |
||
79 | <Anchors> |
||
80 | <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
81 | <Offset x="-16" y="-118"/> |
||
82 | </Anchor> |
||
83 | </Anchors> |
||
84 | </FontString> |
||
85 | |||
86 | <FontString name="$parentBagnonDiv" font="GameFontNormal" text="Bagnon"> |
||
87 | <Anchors> |
||
88 | <Anchor point="RIGHT" relativeTo="$parentBanknonDiv" relativePoint="LEFT"> |
||
89 | <Offset x="-8" y="0"/> |
||
90 | </Anchor> |
||
91 | </Anchors> |
||
92 | </FontString> |
||
93 | |||
94 | <FontString name="$parentAtBank" font="GameFontNormal" text="BAGNON_MAINOPTIONS_SHOW_BANK"> |
||
95 | <Anchors> |
||
96 | <Anchor point="TOPLEFT" relativeTo="$parentShowWhen" relativePoint="BOTTOMLEFT"> |
||
97 | <Offset x="0" y="-22"/> |
||
98 | </Anchor> |
||
99 | </Anchors> |
||
100 | </FontString> |
||
101 | |||
102 | <FontString name="$parentAtVendor" font="GameFontNormal" text="BAGNON_MAINOPTIONS_SHOW_VENDOR"> |
||
103 | <Anchors> |
||
104 | <Anchor point="TOPLEFT" relativeTo="$parentAtBank" relativePoint="BOTTOMLEFT"> |
||
105 | <Offset x="0" y="-22"/> |
||
106 | </Anchor> |
||
107 | </Anchors> |
||
108 | </FontString> |
||
109 | |||
110 | <FontString name="$parentAtAH" font="GameFontNormal" text="BAGNON_MAINOPTIONS_SHOW_AH"> |
||
111 | <Anchors> |
||
112 | <Anchor point="TOPLEFT" relativeTo="$parentAtVendor" relativePoint="BOTTOMLEFT"> |
||
113 | <Offset x="0" y="-22"/> |
||
114 | </Anchor> |
||
115 | </Anchors> |
||
116 | </FontString> |
||
117 | |||
118 | <FontString name="$parentAtMail" font="GameFontNormal" text="BAGNON_MAINOPTIONS_SHOW_MAILBOX"> |
||
119 | <Anchors> |
||
120 | <Anchor point="TOPLEFT" relativeTo="$parentAtAH" relativePoint="BOTTOMLEFT"> |
||
121 | <Offset x="0" y="-22"/> |
||
122 | </Anchor> |
||
123 | </Anchors> |
||
124 | </FontString> |
||
125 | |||
126 | <FontString name="$parentTrading" font="GameFontNormal" text="BAGNON_MAINOPTIONS_SHOW_TRADING"> |
||
127 | <Anchors> |
||
128 | <Anchor point="TOPLEFT" relativeTo="$parentAtMail" relativePoint="BOTTOMLEFT"> |
||
129 | <Offset x="0" y="-22"/> |
||
130 | </Anchor> |
||
131 | </Anchors> |
||
132 | </FontString> |
||
133 | |||
134 | <FontString name="$parentCrafting" font="GameFontNormal" text="BAGNON_MAINOPTIONS_SHOW_CRAFTING"> |
||
135 | <Anchors> |
||
136 | <Anchor point="TOPLEFT" relativeTo="$parentTrading" relativePoint="BOTTOMLEFT"> |
||
137 | <Offset x="0" y="-22"/> |
||
138 | </Anchor> |
||
139 | </Anchors> |
||
140 | </FontString> |
||
141 | </Layer> |
||
142 | </Layers> |
||
143 | |||
144 | <Frames> |
||
145 | <Button name="$parentCloseButton" inherits="UIPanelCloseButton"> |
||
146 | <Anchors> |
||
147 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"> |
||
148 | <Offset x="-8" y="-8"/> |
||
149 | </Anchor> |
||
150 | </Anchors> |
||
151 | </Button> |
||
152 | |||
153 | <!-- General Options Checkboxes --> |
||
154 | <CheckButton name="$parentTooltips" inherits="BagnonOptionsCheckButton" text="BAGNON_MAINOPTIONS_SHOW_TOOLTIPS"> |
||
155 | <Anchors> |
||
156 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
157 | <Offset x="14" y="-42"/> |
||
158 | </Anchor> |
||
159 | </Anchors> |
||
160 | |||
161 | <Scripts> |
||
162 | <OnClick> |
||
163 | BagnonOptions_ShowTooltips(this:GetChecked()); |
||
164 | </OnClick> |
||
165 | </Scripts> |
||
166 | </CheckButton> |
||
167 | |||
168 | <CheckButton name="$parentQuality" inherits="BagnonOptionsCheckButton" text="BAGNON_MAINOPTIONS_SHOW_BORDERS"> |
||
169 | <Anchors> |
||
170 | <Anchor point="TOPLEFT" relativeTo="$parentTooltips" relativePoint="BOTTOMLEFT"> |
||
171 | <Offset x="0" y="0"/> |
||
172 | </Anchor> |
||
173 | </Anchors> |
||
174 | |||
175 | <Scripts> |
||
176 | <OnClick> |
||
177 | BagnonOptions_ShowQualityBorders(this:GetChecked()); |
||
178 | </OnClick> |
||
179 | </Scripts> |
||
180 | </CheckButton> |
||
181 | |||
182 | <!-- |
||
183 | Show at Event Checkboxes |
||
184 | --> |
||
185 | <!-- bagnon --> |
||
186 | <CheckButton name="$parentShowBagnon1" inherits="BagnonOptionsAtEventButton"> |
||
187 | <Anchors> |
||
188 | <Anchor point="TOP" relativeTo="$parentBagnonDiv" relativePoint="BOTTOM"> |
||
189 | <Offset x="0" y="-12"/> |
||
190 | </Anchor> |
||
191 | </Anchors> |
||
192 | |||
193 | <Scripts> |
||
194 | <OnClick> |
||
195 | BagnonOptions_ShowAtBank(this:GetChecked()); |
||
196 | </OnClick> |
||
197 | </Scripts> |
||
198 | </CheckButton> |
||
199 | |||
200 | <CheckButton name="$parentShowBagnon2" inherits="BagnonOptionsAtEventButton" checked="true"> |
||
201 | <Anchors> |
||
202 | <Anchor point="TOP" relativeTo="$parentShowBagnon1" relativePoint="BOTTOM"> |
||
203 | <Offset x="0" y="-2"/> |
||
204 | </Anchor> |
||
205 | </Anchors> |
||
206 | |||
207 | <Scripts> |
||
208 | <OnLoad> |
||
209 | this:Disable(); |
||
210 | </OnLoad> |
||
211 | </Scripts> |
||
212 | </CheckButton> |
||
213 | |||
214 | <CheckButton name="$parentShowBagnon3" inherits="BagnonOptionsAtEventButton"> |
||
215 | <Anchors> |
||
216 | <Anchor point="TOP" relativeTo="$parentShowBagnon2" relativePoint="BOTTOM"> |
||
217 | <Offset x="0" y="-2"/> |
||
218 | </Anchor> |
||
219 | </Anchors> |
||
220 | |||
221 | <Scripts> |
||
222 | <OnClick> |
||
223 | BagnonOptions_ShowAtAH(this:GetChecked()); |
||
224 | </OnClick> |
||
225 | </Scripts> |
||
226 | </CheckButton> |
||
227 | |||
228 | <CheckButton name="$parentShowBagnon4" inherits="BagnonOptionsAtEventButton" checked="true"> |
||
229 | <Anchors> |
||
230 | <Anchor point="TOP" relativeTo="$parentShowBagnon3" relativePoint="BOTTOM"> |
||
231 | <Offset x="0" y="-2"/> |
||
232 | </Anchor> |
||
233 | </Anchors> |
||
234 | |||
235 | <Scripts> |
||
236 | <OnLoad> |
||
237 | this:Disable(); |
||
238 | </OnLoad> |
||
239 | </Scripts> |
||
240 | </CheckButton> |
||
241 | |||
242 | <CheckButton name="$parentShowBagnon5" inherits="BagnonOptionsAtEventButton"> |
||
243 | <Anchors> |
||
244 | <Anchor point="TOP" relativeTo="$parentShowBagnon4" relativePoint="BOTTOM"> |
||
245 | <Offset x="0" y="-2"/> |
||
246 | </Anchor> |
||
247 | </Anchors> |
||
248 | |||
249 | <Scripts> |
||
250 | <OnClick> |
||
251 | BagnonOptions_ShowAtTrade(this:GetChecked()); |
||
252 | </OnClick> |
||
253 | </Scripts> |
||
254 | </CheckButton> |
||
255 | |||
256 | <CheckButton name="$parentShowBagnon6" inherits="BagnonOptionsAtEventButton"> |
||
257 | <Anchors> |
||
258 | <Anchor point="TOP" relativeTo="$parentShowBagnon5" relativePoint="BOTTOM"> |
||
259 | <Offset x="0" y="-2"/> |
||
260 | </Anchor> |
||
261 | </Anchors> |
||
262 | |||
263 | <Scripts> |
||
264 | <OnClick> |
||
265 | BagnonOptions_ShowAtCrafting(this:GetChecked()); |
||
266 | </OnClick> |
||
267 | </Scripts> |
||
268 | </CheckButton> |
||
269 | |||
270 | <!-- banknon --> |
||
271 | <CheckButton name="$parentShowBanknon1" inherits="BagnonOptionsAtEventButton"> |
||
272 | <Anchors> |
||
273 | <Anchor point="TOP" relativeTo="$parentBanknonDiv" relativePoint="BOTTOM"> |
||
274 | <Offset x="0" y="-12"/> |
||
275 | </Anchor> |
||
276 | </Anchors> |
||
277 | |||
278 | <Scripts> |
||
279 | <OnClick> |
||
280 | BagnonOptions_ShowAtBank(this:GetChecked(), 1); |
||
281 | </OnClick> |
||
282 | </Scripts> |
||
283 | </CheckButton> |
||
284 | |||
285 | <CheckButton name="$parentShowBanknon2" inherits="BagnonOptionsAtEventButton"> |
||
286 | <Anchors> |
||
287 | <Anchor point="TOP" relativeTo="$parentShowBanknon1" relativePoint="BOTTOM"> |
||
288 | <Offset x="0" y="-2"/> |
||
289 | </Anchor> |
||
290 | </Anchors> |
||
291 | |||
292 | <Scripts> |
||
293 | <OnClick> |
||
294 | BagnonOptions_ShowAtVendor(this:GetChecked(), 1); |
||
295 | </OnClick> |
||
296 | </Scripts> |
||
297 | </CheckButton> |
||
298 | |||
299 | <CheckButton name="$parentShowBanknon3" inherits="BagnonOptionsAtEventButton"> |
||
300 | <Anchors> |
||
301 | <Anchor point="TOP" relativeTo="$parentShowBanknon2" relativePoint="BOTTOM"> |
||
302 | <Offset x="0" y="-2"/> |
||
303 | </Anchor> |
||
304 | </Anchors> |
||
305 | |||
306 | <Scripts> |
||
307 | <OnClick> |
||
308 | BagnonOptions_ShowAtAH(this:GetChecked(), 1); |
||
309 | </OnClick> |
||
310 | </Scripts> |
||
311 | </CheckButton> |
||
312 | |||
313 | <CheckButton name="$parentShowBanknon4" inherits="BagnonOptionsAtEventButton"> |
||
314 | <Anchors> |
||
315 | <Anchor point="TOP" relativeTo="$parentShowBanknon3" relativePoint="BOTTOM"> |
||
316 | <Offset x="0" y="-2"/> |
||
317 | </Anchor> |
||
318 | </Anchors> |
||
319 | |||
320 | <Scripts> |
||
321 | <OnClick> |
||
322 | BagnonOptions_ShowAtMail(this:GetChecked(), 1); |
||
323 | </OnClick> |
||
324 | </Scripts> |
||
325 | </CheckButton> |
||
326 | |||
327 | <CheckButton name="$parentShowBanknon5" inherits="BagnonOptionsAtEventButton"> |
||
328 | <Anchors> |
||
329 | <Anchor point="TOP" relativeTo="$parentShowBanknon4" relativePoint="BOTTOM"> |
||
330 | <Offset x="0" y="-2"/> |
||
331 | </Anchor> |
||
332 | </Anchors> |
||
333 | |||
334 | <Scripts> |
||
335 | <OnClick> |
||
336 | BagnonOptions_ShowAtTrade(this:GetChecked(), 1); |
||
337 | </OnClick> |
||
338 | </Scripts> |
||
339 | </CheckButton> |
||
340 | |||
341 | <CheckButton name="$parentShowBanknon6" inherits="BagnonOptionsAtEventButton"> |
||
342 | <Anchors> |
||
343 | <Anchor point="TOP" relativeTo="$parentShowBanknon5" relativePoint="BOTTOM"> |
||
344 | <Offset x="0" y="-2"/> |
||
345 | </Anchor> |
||
346 | </Anchors> |
||
347 | |||
348 | <Scripts> |
||
349 | <OnClick> |
||
350 | BagnonOptions_ShowAtCrafting(this:GetChecked(), 1); |
||
351 | </OnClick> |
||
352 | </Scripts> |
||
353 | </CheckButton> |
||
354 | </Frames> |
||
355 | |||
356 | <Scripts> |
||
357 | <OnShow> |
||
358 | BagnonOptions_OnShow(); |
||
359 | </OnShow> |
||
360 | <OnMouseDown> |
||
361 | this:StartMoving(); |
||
362 | </OnMouseDown> |
||
363 | <OnMouseUp> |
||
364 | this:StopMovingOrSizing(); |
||
365 | </OnMouseUp> |
||
366 | </Scripts> |
||
367 | </Frame> |
||
368 | </Ui> |