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 | <Script file="QuestItemConfig.lua" /> |
||
3 | |||
4 | <!-- QUESTNAME INPUT FRAME --> |
||
5 | <Frame name="QuestItemInputFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="QuestItemConfigFrame" enableKeyboard="true"> |
||
6 | <Size> |
||
7 | <AbsDimension x="300" y="125"/> |
||
8 | </Size> |
||
9 | <Anchors> |
||
10 | <Anchor point="CENTER"> |
||
11 | <Offset> |
||
12 | <AbsDimension x="-20" y="0"/> |
||
13 | </Offset> |
||
14 | </Anchor> |
||
15 | </Anchors> |
||
16 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
17 | <BackgroundInsets> |
||
18 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
19 | </BackgroundInsets> |
||
20 | <TileSize> |
||
21 | <AbsValue val="32"/> |
||
22 | </TileSize> |
||
23 | <EdgeSize> |
||
24 | <AbsValue val="32"/> |
||
25 | </EdgeSize> |
||
26 | </Backdrop> |
||
27 | <Layers> |
||
28 | <Layer level="ARTWORK"> |
||
29 | <Texture name="QuestItemInputFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
30 | <Size> |
||
31 | <AbsDimension x="350" y="64"/> |
||
32 | </Size> |
||
33 | <Anchors> |
||
34 | <Anchor point="TOP"> |
||
35 | <Offset> |
||
36 | <AbsDimension x="0" y="12"/> |
||
37 | </Offset> |
||
38 | </Anchor> |
||
39 | </Anchors> |
||
40 | </Texture> |
||
41 | <FontString name="$parentHeaderTitle" inherits="GameFontNormal"> |
||
42 | <Anchors> |
||
43 | <Anchor point="TOP" relativeTo="QuestItemInputFrameHeader"> |
||
44 | <Offset> |
||
45 | <AbsDimension x="0" y="-14"/> |
||
46 | </Offset> |
||
47 | </Anchor> |
||
48 | </Anchors> |
||
49 | </FontString> |
||
50 | <FontString name="$parentHeaderDescription" inherits="GameFontNormal" text="Enter the name of the quest:"> |
||
51 | <Anchors> |
||
52 | <Anchor point="TOP"> |
||
53 | <Offset> |
||
54 | <AbsDimension x="-20" y="-30"/> |
||
55 | </Offset> |
||
56 | </Anchor> |
||
57 | </Anchors> |
||
58 | </FontString> |
||
59 | </Layer> |
||
60 | </Layers> |
||
61 | <Frames> |
||
62 | <EditBox name="QuestItemInputEditBox" historyLines="0"> |
||
63 | <Size> |
||
64 | <AbsDimension x="200" y="16"/> |
||
65 | </Size> |
||
66 | <Anchors> |
||
67 | <Anchor point="TOP"> |
||
68 | <Offset> |
||
69 | <AbsDimension x="0" y="-50" /> |
||
70 | </Offset> |
||
71 | </Anchor> |
||
72 | </Anchors> |
||
73 | <Layers> |
||
74 | <Layer level="BACKGROUND"> |
||
75 | <Texture name="$parentLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left"> |
||
76 | <Size> |
||
77 | <AbsDimension x="65" y="32"/> |
||
78 | </Size> |
||
79 | <Anchors> |
||
80 | <Anchor point="LEFT"> |
||
81 | <Offset> |
||
82 | <AbsDimension x="-10" y="0"/> |
||
83 | </Offset> |
||
84 | </Anchor> |
||
85 | </Anchors> |
||
86 | <TexCoords left="0" right="0.2539" top="0" bottom="1.0"/> |
||
87 | </Texture> |
||
88 | <Texture name="$parentRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right"> |
||
89 | <Size> |
||
90 | <AbsDimension x="25" y="32"/> |
||
91 | </Size> |
||
92 | <Anchors> |
||
93 | <Anchor point="RIGHT"> |
||
94 | <Offset> |
||
95 | <AbsDimension x="10" y="0"/> |
||
96 | </Offset> |
||
97 | </Anchor> |
||
98 | </Anchors> |
||
99 | <TexCoords left="0.9" right="1.0" top="0" bottom="1.0"/> |
||
100 | </Texture> |
||
101 | <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left"> |
||
102 | <Size> |
||
103 | <AbsDimension x="5" y="32"/> |
||
104 | </Size> |
||
105 | <Anchors> |
||
106 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"> |
||
107 | <Offset> |
||
108 | <AbsDimension x="0" y="0"/> |
||
109 | </Offset> |
||
110 | </Anchor> |
||
111 | <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"> |
||
112 | <Offset> |
||
113 | <AbsDimension x="0" y="0"/> |
||
114 | </Offset> |
||
115 | </Anchor> |
||
116 | </Anchors> |
||
117 | <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/> |
||
118 | </Texture> |
||
119 | </Layer> |
||
120 | </Layers> |
||
121 | <FontString inherits="ChatFontNormal"/> |
||
122 | <Scripts> |
||
123 | <OnEnterPressed > |
||
124 | QuestItem_InputFrame_Save(); |
||
125 | </OnEnterPressed > |
||
126 | <OnEscapePressed> |
||
127 | this:GetParent():Hide(); |
||
128 | </OnEscapePressed> |
||
129 | </Scripts> |
||
130 | </EditBox> |
||
131 | <Button name="QuestItemInputButtonSave" inherits="OptionsButtonTemplate"> |
||
132 | <Anchors> |
||
133 | <Anchor point="BOTTOMLEFT"> |
||
134 | <Offset> |
||
135 | <AbsDimension x="35" y="20"/> |
||
136 | </Offset> |
||
137 | </Anchor> |
||
138 | </Anchors> |
||
139 | <Scripts> |
||
140 | <OnClick> |
||
141 | QuestItem_InputFrame_Save(); |
||
142 | </OnClick> |
||
143 | <OnShow> |
||
144 | this:SetText(QUESTITEM_SAVE); |
||
145 | </OnShow> |
||
146 | </Scripts> |
||
147 | </Button> |
||
148 | <Button name="QuestItemInputButtonCancel" inherits="OptionsButtonTemplate"> |
||
149 | <Anchors> |
||
150 | <Anchor point="BOTTOMRIGHT"> |
||
151 | <Offset> |
||
152 | <AbsDimension x="-35" y="20"/> |
||
153 | </Offset> |
||
154 | </Anchor> |
||
155 | </Anchors> |
||
156 | <Scripts> |
||
157 | <OnClick> |
||
158 | QuestItemInputFrame:Hide(); |
||
159 | </OnClick> |
||
160 | <OnShow> |
||
161 | this:SetText(QUESTITEM_CANCEL); |
||
162 | </OnShow> |
||
163 | </Scripts> |
||
164 | </Button> |
||
165 | </Frames> |
||
166 | <Scripts> |
||
167 | <!-- |
||
168 | <OnMouseUp> |
||
169 | if ( this.isMoving ) then |
||
170 | this:StopMovingOrSizing(); |
||
171 | this.isMoving = false; |
||
172 | end |
||
173 | </OnMouseUp> |
||
174 | <OnMouseDown> |
||
175 | if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then |
||
176 | this:StartMoving(); |
||
177 | this.isMoving = true; |
||
178 | end |
||
179 | </OnMouseDown> |
||
180 | <OnHide> |
||
181 | if ( this.isMoving ) then |
||
182 | this:StopMovingOrSizing(); |
||
183 | this.isMoving = false; |
||
184 | end |
||
185 | </OnHide> |
||
186 | --> |
||
187 | <OnLoad> |
||
188 | QuestItemInputFrameHeaderTitle:SetText(QUESTITEM_INP_TITLE); |
||
189 | </OnLoad> |
||
190 | <OnEscapePressed> |
||
191 | this:Hide(); |
||
192 | </OnEscapePressed> |
||
193 | </Scripts> |
||
194 | </Frame> |
||
195 | |||
196 | <!-- TEMPLATES --> |
||
197 | <CheckButton name="QuestItemCheckboxTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
||
198 | <Anchors> |
||
199 | <Anchor> |
||
200 | <Offset> |
||
201 | <AbsDimension x="0" y="0" /> |
||
202 | </Offset> |
||
203 | </Anchor> |
||
204 | </Anchors> |
||
205 | <Size> |
||
206 | <AbsDimension x="32" y="32" /> |
||
207 | </Size> |
||
208 | </CheckButton> |
||
209 | |||
210 | <Button name="QuestItemTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true"> |
||
211 | <Scripts> |
||
212 | <OnClick> |
||
213 | QuestItem_Config_Tab_OnClick(this:GetID()); |
||
214 | </OnClick> |
||
215 | </Scripts> |
||
216 | </Button> |
||
217 | |||
218 | <Button name="ItemFrameButtonTemplate" hidden="false" virtual="true"> |
||
219 | <Size> |
||
220 | <AbsDimension x="340" y="31"/> |
||
221 | </Size> |
||
222 | <Frames> |
||
223 | <!-- |
||
224 | <Button name="$parentItemIcon"> |
||
225 | <Size> |
||
226 | <AbsDimension x="32" y="32"/> |
||
227 | </Size> |
||
228 | <Anchors> |
||
229 | <Anchor point="TOPLEFT"> |
||
230 | <Offset> |
||
231 | <AbsDimension x="0" y="0"/> |
||
232 | </Offset> |
||
233 | </Anchor> |
||
234 | </Anchors> |
||
235 | <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2"> |
||
236 | <Size> |
||
237 | <AbsDimension x="32" y="32"/> |
||
238 | </Size> |
||
239 | <Anchors> |
||
240 | <Anchor point="CENTER"> |
||
241 | <Offset> |
||
242 | <AbsDimension x="0" y="0"/> |
||
243 | </Offset> |
||
244 | </Anchor> |
||
245 | </Anchors> |
||
246 | </NormalTexture> |
||
247 | <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/> |
||
248 | </Button> |
||
249 | --> |
||
250 | <Frame name="$parentButtonText" setAllPoints="true"> |
||
251 | <Layers> |
||
252 | <Layer level="BORDER"> |
||
253 | <FontString name="$parentName" inherits="GameFontGreen"> |
||
254 | <Anchors> |
||
255 | <Anchor point="TOPLEFT"> |
||
256 | <Offset> |
||
257 | <AbsDimension x="10" y="-3"/> |
||
258 | </Offset> |
||
259 | </Anchor> |
||
260 | </Anchors> |
||
261 | </FontString> |
||
262 | <FontString name="$parentQuest" inherits="GameFontHighlightSmall" justifyH="LEFT"> |
||
263 | <FontHeight> |
||
264 | <AbsValue val="14"/> |
||
265 | </FontHeight> |
||
266 | <Anchors> |
||
267 | <Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT"> |
||
268 | <Offset> |
||
269 | <AbsDimension x="0" y="0"/> |
||
270 | </Offset> |
||
271 | </Anchor> |
||
272 | </Anchors> |
||
273 | <Color r="0.4" g="0.5" b="0.8" /> |
||
274 | </FontString> |
||
275 | </Layer> |
||
276 | </Layers> |
||
277 | </Frame> |
||
278 | </Frames> |
||
279 | <Scripts> |
||
280 | <OnLoad> |
||
281 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
282 | </OnLoad> |
||
283 | <OnClick> |
||
284 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
285 | QuestItem_InputFrame_Open(this:GetName() .. "ButtonTextName"); |
||
286 | </OnClick> |
||
287 | <OnEnter> |
||
288 | if ( this.tooltipText ) then |
||
289 | GameTooltip:SetOwner(this, "ANCHOR_TOPLEFT"); |
||
290 | GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1); |
||
291 | end |
||
292 | if ( this.tooltipRequirement ) then |
||
293 | GameTooltip:AddLine(this.tooltipRequirement, "", 1.0, 1.0, 1.0); |
||
294 | GameTooltip:Show(); |
||
295 | end |
||
296 | </OnEnter> |
||
297 | <OnLeave> |
||
298 | GameTooltip:Hide(); |
||
299 | </OnLeave> |
||
300 | </Scripts> |
||
301 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/> |
||
302 | </Button> |
||
303 | |||
304 | |||
305 | <Frame name="QuestItemSubFrameTemplate" hidden="true" virtual="true"> |
||
306 | <Size> |
||
307 | <AbsDimension x="384" y="400" /> |
||
308 | </Size> |
||
309 | </Frame> |
||
310 | |||
311 | <Frame name="QuestItemFrameTemplate" frameStrata="DIALOG" hidden="true" virtual="true"> |
||
312 | <Size> |
||
313 | <AbsDimension x="384" y="444" /> |
||
314 | </Size> |
||
315 | <Layers> |
||
316 | <Layer level="BACKGROUND"> |
||
317 | <Texture file="Interface\HelpFrame\HelpFrame-TopLeft"> |
||
318 | <Size> |
||
319 | <AbsDimension x="256" y="188"/> |
||
320 | </Size> |
||
321 | <Anchors> |
||
322 | <Anchor point="TOPLEFT"/> |
||
323 | </Anchors> |
||
324 | </Texture> |
||
325 | <Texture file="Interface\HelpFrame\HelpFrame-TopRight"> |
||
326 | <Size> |
||
327 | <AbsDimension x="128" y="188"/> |
||
328 | </Size> |
||
329 | <Anchors> |
||
330 | <Anchor point="TOPRIGHT"/> |
||
331 | </Anchors> |
||
332 | </Texture> |
||
333 | <Texture file="Interface\HelpFrame\HelpFrame-BotLeft"> |
||
334 | <Size> |
||
335 | <AbsDimension x="256" y="256"/> |
||
336 | </Size> |
||
337 | <Anchors> |
||
338 | <Anchor point="BOTTOMLEFT"/> |
||
339 | </Anchors> |
||
340 | </Texture> |
||
341 | <Texture file="Interface\HelpFrame\HelpFrame-BotRight"> |
||
342 | <Size> |
||
343 | <AbsDimension x="128" y="256"/> |
||
344 | </Size> |
||
345 | <Anchors> |
||
346 | <Anchor point="BOTTOMRIGHT"/> |
||
347 | </Anchors> |
||
348 | </Texture> |
||
349 | </Layer> |
||
350 | <Layer level="ARTWORK"> |
||
351 | <Texture name="QuestItemConfigHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
352 | <Size> |
||
353 | <AbsDimension x="330" y="64" /> |
||
354 | </Size> |
||
355 | <Anchors> |
||
356 | <Anchor point="TOP"> |
||
357 | <Offset> |
||
358 | <AbsDimension x="-10" y="12" /> |
||
359 | </Offset> |
||
360 | </Anchor> |
||
361 | </Anchors> |
||
362 | </Texture> |
||
363 | <FontString name="$parentHeaderTitle" inherits="GameFontNormal"> |
||
364 | <Anchors> |
||
365 | <Anchor point="TOP" relativeTo="QuestItemConfigHeader"> |
||
366 | <Offset> |
||
367 | <AbsDimension x="0" y="-14" /> |
||
368 | </Offset> |
||
369 | </Anchor> |
||
370 | </Anchors> |
||
371 | </FontString> |
||
372 | </Layer> |
||
373 | </Layers> |
||
374 | <Frames> |
||
375 | <Button name="QuestItemCloseButton" inherits="UIPanelCloseButton"> |
||
376 | <Size> |
||
377 | <AbsDimension x="30" y="25" /> |
||
378 | </Size> |
||
379 | <Anchors> |
||
380 | <Anchor point="TOPRIGHT"> |
||
381 | <Offset> |
||
382 | <AbsDimension x="-42" y="-1"/> |
||
383 | </Offset> |
||
384 | </Anchor> |
||
385 | </Anchors> |
||
386 | </Button> |
||
387 | </Frames> |
||
388 | </Frame> |
||
389 | |||
390 | <Frame name="QuestItemConfigFrame" toplevel="true" enableMouse="true" movable="true" inherits="QuestItemFrameTemplate" parent="UIParent" hidden="true"> |
||
391 | <Anchors> |
||
392 | <Anchor point="CENTER"> |
||
393 | <Offset> |
||
394 | <AbsDimension x="0" y="0" /> |
||
395 | </Offset> |
||
396 | </Anchor> |
||
397 | </Anchors> |
||
398 | <Scripts> |
||
399 | <OnLoad> |
||
400 | QuestItem_Config_OnLoad(); |
||
401 | </OnLoad> |
||
402 | <OnShow> |
||
403 | QuestItem_Config_UpdateCheckboxes(); |
||
404 | </OnShow> |
||
405 | </Scripts> |
||
406 | |||
407 | <!-- Frames start --> |
||
408 | <Frames> |
||
409 | <!-- Tab buttons --> |
||
410 | <Button name="QuestItemConfigFrameTab1" inherits="QuestItemTabTemplate" id="1" text="Settings"> |
||
411 | <Anchors> |
||
412 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
413 | <Offset> |
||
414 | <AbsDimension x="15" y="11"/> |
||
415 | </Offset> |
||
416 | </Anchor> |
||
417 | </Anchors> |
||
418 | </Button> |
||
419 | <Button name="QuestItemConfigFrameTab2" inherits="QuestItemTabTemplate" id="2" text="Unidentified"> |
||
420 | <Anchors> |
||
421 | <Anchor point="TOPLEFT" relativeTo="QuestItemConfigFrameTab1" relativePoint="TOPRIGHT"> |
||
422 | <Offset> |
||
423 | <AbsDimension x="-8" y="0"/> |
||
424 | </Offset> |
||
425 | </Anchor> |
||
426 | </Anchors> |
||
427 | </Button> |
||
428 | |||
429 | <Frame name="ConfigFrame" setAllPoints="true" hidden="true" inherits="QuestItemSubFrameTemplate"> |
||
430 | <Anchors> |
||
431 | <Anchor point="TOPRIGHT" relativeTo="QuestItemConfigFrame" > |
||
432 | <Offset> |
||
433 | <AbsDimension x="0" y="0"/> |
||
434 | </Offset> |
||
435 | </Anchor> |
||
436 | </Anchors> |
||
437 | <Frames> |
||
438 | <!-- Enable checkbox --> |
||
439 | <CheckButton name="QuestItem_Config_Checkbox1" inherits="QuestItemCheckboxTemplate" id="1"> |
||
440 | <Anchors> |
||
441 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
442 | <Offset> |
||
443 | <AbsDimension x="25" y="-70" /> |
||
444 | </Offset> |
||
445 | </Anchor> |
||
446 | </Anchors> |
||
447 | </CheckButton> |
||
448 | <!-- Mapping failed checkbox --> |
||
449 | <CheckButton name="QuestItem_Config_Checkbox2" inherits="QuestItemCheckboxTemplate" id="2"> |
||
450 | <Anchors> |
||
451 | <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeTo="QuestItem_Config_Checkbox1"> |
||
452 | <Offset> |
||
453 | <AbsDimension x="0" y="-20" /> |
||
454 | </Offset> |
||
455 | </Anchor> |
||
456 | </Anchors> |
||
457 | </CheckButton> |
||
458 | <!-- Display tooltip for item list --> |
||
459 | <CheckButton name="QuestItem_Config_Checkbox3" inherits="QuestItemCheckboxTemplate" id="3"> |
||
460 | <Anchors> |
||
461 | <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeTo="QuestItem_Config_Checkbox2"> |
||
462 | <Offset> |
||
463 | <AbsDimension x="0" y="-20" /> |
||
464 | </Offset> |
||
465 | </Anchor> |
||
466 | </Anchors> |
||
467 | </CheckButton> |
||
468 | <!-- Alt click to open questlog --> |
||
469 | <CheckButton name="QuestItem_Config_Checkbox4" inherits="QuestItemCheckboxTemplate" id="4"> |
||
470 | <Anchors> |
||
471 | <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeTo="QuestItem_Config_Checkbox3"> |
||
472 | <Offset> |
||
473 | <AbsDimension x="0" y="-20" /> |
||
474 | </Offset> |
||
475 | </Anchor> |
||
476 | </Anchors> |
||
477 | </CheckButton> |
||
478 | |||
479 | <!-- Shift click to open questlog --> |
||
480 | <CheckButton name="QuestItem_Config_Checkbox5" inherits="QuestItemCheckboxTemplate" id="5" hidden="true"> |
||
481 | <Anchors> |
||
482 | <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeTo="QuestItem_Config_Checkbox4"> |
||
483 | <Offset> |
||
484 | <AbsDimension x="0" y="-20" /> |
||
485 | </Offset> |
||
486 | </Anchor> |
||
487 | </Anchors> |
||
488 | </CheckButton> |
||
489 | |||
490 | <!-- Display request menu --> |
||
491 | <CheckButton name="QuestItem_Config_Checkbox6" inherits="QuestItemCheckboxTemplate" id="6" hidden="true"> |
||
492 | <Anchors> |
||
493 | <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeTo="QuestItem_Config_Checkbox5"> |
||
494 | <Offset> |
||
495 | <AbsDimension x="0" y="-20" /> |
||
496 | </Offset> |
||
497 | </Anchor> |
||
498 | </Anchors> |
||
499 | </CheckButton> |
||
500 | <!-- Save and cancel buttons --> |
||
501 | <Button name="QuestItemConfigSave" inherits="GameMenuButtonTemplate" text="Save"> |
||
502 | <Anchors> |
||
503 | <Anchor point="BOTTOMLEFT" relativeTo="ConfigFrame"> |
||
504 | <Offset> |
||
505 | <AbsDimension x="25" y="-22" /> |
||
506 | </Offset> |
||
507 | </Anchor> |
||
508 | </Anchors> |
||
509 | <Scripts> |
||
510 | <OnLoad> |
||
511 | this:SetText(QUESTITEM_SAVE); |
||
512 | </OnLoad> |
||
513 | <OnClick> |
||
514 | QuestItem_Config_Save(); |
||
515 | </OnClick> |
||
516 | </Scripts> |
||
517 | </Button> |
||
518 | <Button name="QuestItemConfigCancel" inherits="GameMenuButtonTemplate" text="CANCEL"> |
||
519 | <Anchors> |
||
520 | <Anchor point="RIGHT" relativeTo="QuestItemConfigSave"> |
||
521 | <Offset> |
||
522 | <AbsDimension x="150" y="0" /> |
||
523 | </Offset> |
||
524 | </Anchor> |
||
525 | </Anchors> |
||
526 | <Scripts> |
||
527 | <OnLoad> |
||
528 | this:SetText(QUESTITEM_CANCEL); |
||
529 | </OnLoad> |
||
530 | <OnClick> |
||
531 | QuestItem_Config_Close(); |
||
532 | </OnClick> |
||
533 | </Scripts> |
||
534 | </Button> |
||
535 | <!-- End of Save and cancel buttons --> |
||
536 | </Frames> |
||
537 | </Frame> |
||
538 | |||
539 | |||
540 | <!-- ITEM LIST FRAME --> |
||
541 | <Frame name="ItemFrame" setAllPoints="true" hidden="true" inherits="QuestItemSubFrameTemplate"> |
||
542 | <Scripts> |
||
543 | <OnShow> |
||
544 | QuestItem_Config_ItemFrame_OnShow(); |
||
545 | </OnShow> |
||
546 | </Scripts> |
||
547 | <Anchors> |
||
548 | <Anchor point="TOPRIGHT" relativeTo="QuestItemConfigFrame" > |
||
549 | <Offset> |
||
550 | <AbsDimension x="0" y="0"/> |
||
551 | </Offset> |
||
552 | </Anchor> |
||
553 | </Anchors> |
||
554 | <Frames> |
||
555 | <Button name="ItemButton1" inherits="ItemFrameButtonTemplate" id="1"> |
||
556 | <Anchors> |
||
557 | <Anchor point="TOPLEFT"> |
||
558 | <Offset> |
||
559 | <AbsDimension x="15" y="-46"/> |
||
560 | </Offset> |
||
561 | </Anchor> |
||
562 | </Anchors> |
||
563 | </Button> |
||
564 | <Button name="ItemButton2" inherits="ItemFrameButtonTemplate" id="2"> |
||
565 | <Anchors> |
||
566 | <Anchor point="TOPLEFT" relativeTo="ItemButton1" relativePoint="BOTTOMLEFT"> |
||
567 | <Offset> |
||
568 | <AbsDimension x="0" y="-3"/> |
||
569 | </Offset> |
||
570 | </Anchor> |
||
571 | </Anchors> |
||
572 | </Button> |
||
573 | <Button name="ItemButton3" inherits="ItemFrameButtonTemplate" id="3"> |
||
574 | <Anchors> |
||
575 | <Anchor point="TOPLEFT" relativeTo="ItemButton2" relativePoint="BOTTOMLEFT"> |
||
576 | <Offset> |
||
577 | <AbsDimension x="0" y="-3"/> |
||
578 | </Offset> |
||
579 | </Anchor> |
||
580 | </Anchors> |
||
581 | </Button> |
||
582 | <Button name="ItemButton4" inherits="ItemFrameButtonTemplate" id="4"> |
||
583 | <Anchors> |
||
584 | <Anchor point="TOPLEFT" relativeTo="ItemButton3" relativePoint="BOTTOMLEFT"> |
||
585 | <Offset> |
||
586 | <AbsDimension x="0" y="-3"/> |
||
587 | </Offset> |
||
588 | </Anchor> |
||
589 | </Anchors> |
||
590 | </Button> |
||
591 | <Button name="ItemButton5" inherits="ItemFrameButtonTemplate" id="5"> |
||
592 | <Anchors> |
||
593 | <Anchor point="TOPLEFT" relativeTo="ItemButton4" relativePoint="BOTTOMLEFT"> |
||
594 | <Offset> |
||
595 | <AbsDimension x="0" y="-3"/> |
||
596 | </Offset> |
||
597 | </Anchor> |
||
598 | </Anchors> |
||
599 | </Button> |
||
600 | <Button name="ItemButton6" inherits="ItemFrameButtonTemplate" id="6"> |
||
601 | <Anchors> |
||
602 | <Anchor point="TOPLEFT" relativeTo="ItemButton5" relativePoint="BOTTOMLEFT"> |
||
603 | <Offset> |
||
604 | <AbsDimension x="0" y="-3"/> |
||
605 | </Offset> |
||
606 | </Anchor> |
||
607 | </Anchors> |
||
608 | </Button> |
||
609 | <Button name="ItemButton7" inherits="ItemFrameButtonTemplate" id="7"> |
||
610 | <Anchors> |
||
611 | <Anchor point="TOPLEFT" relativeTo="ItemButton6" relativePoint="BOTTOMLEFT"> |
||
612 | <Offset> |
||
613 | <AbsDimension x="0" y="-3"/> |
||
614 | </Offset> |
||
615 | </Anchor> |
||
616 | </Anchors> |
||
617 | </Button> |
||
618 | <Button name="ItemButton8" inherits="ItemFrameButtonTemplate" id="8"> |
||
619 | <Anchors> |
||
620 | <Anchor point="TOPLEFT" relativeTo="ItemButton7" relativePoint="BOTTOMLEFT"> |
||
621 | <Offset> |
||
622 | <AbsDimension x="0" y="-3"/> |
||
623 | </Offset> |
||
624 | </Anchor> |
||
625 | </Anchors> |
||
626 | </Button> |
||
627 | <Button name="ItemButton9" inherits="ItemFrameButtonTemplate" id="9"> |
||
628 | <Anchors> |
||
629 | <Anchor point="TOPLEFT" relativeTo="ItemButton8" relativePoint="BOTTOMLEFT"> |
||
630 | <Offset> |
||
631 | <AbsDimension x="0" y="-3"/> |
||
632 | </Offset> |
||
633 | </Anchor> |
||
634 | </Anchors> |
||
635 | </Button> |
||
636 | <Button name="ItemButton10" inherits="ItemFrameButtonTemplate" id="10"> |
||
637 | <Anchors> |
||
638 | <Anchor point="TOPLEFT" relativeTo="ItemButton9" relativePoint="BOTTOMLEFT"> |
||
639 | <Offset> |
||
640 | <AbsDimension x="0" y="-3"/> |
||
641 | </Offset> |
||
642 | </Anchor> |
||
643 | </Anchors> |
||
644 | </Button> |
||
645 | <ScrollFrame name="ItemFrameScrollFrame" inherits="FauxScrollFrameTemplate"> |
||
646 | <Size> |
||
647 | <AbsDimension x="320" y="358" /> |
||
648 | </Size> |
||
649 | <Anchors> |
||
650 | <Anchor point="TOPLEFT" relativeTo="ItemFrame"> |
||
651 | <Offset> |
||
652 | <AbsDimension x="-15" y="-37"/> |
||
653 | </Offset> |
||
654 | </Anchor> |
||
655 | </Anchors> |
||
656 | <Layers> |
||
657 | <Layer level="ARTWORK"> |
||
658 | <Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
659 | <Size> |
||
660 | <AbsDimension x="31" y="256"/> |
||
661 | </Size> |
||
662 | <Anchors> |
||
663 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> |
||
664 | <Offset> |
||
665 | <AbsDimension x="0" y="0"/> |
||
666 | </Offset> |
||
667 | </Anchor> |
||
668 | </Anchors> |
||
669 | <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/> |
||
670 | </Texture> |
||
671 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
672 | <Size> |
||
673 | <AbsDimension x="31" y="185"/> |
||
674 | </Size> |
||
675 | <Anchors> |
||
676 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT"> |
||
677 | <Offset> |
||
678 | <AbsDimension x="0" y="-5"/> |
||
679 | </Offset> |
||
680 | </Anchor> |
||
681 | </Anchors> |
||
682 | <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/> |
||
683 | </Texture> |
||
684 | </Layer> |
||
685 | </Layers> |
||
686 | <Scripts> |
||
687 | <OnVerticalScroll> |
||
688 | FauxScrollFrame_OnVerticalScroll(ITEM_HEIGHT, QuestItem_Config_Items_Update); |
||
689 | </OnVerticalScroll> |
||
690 | </Scripts> |
||
691 | </ScrollFrame> |
||
692 | <CheckButton name="ItemFrameButton15" inherits="QuestItemCheckboxTemplate" id="15" hide="true"> |
||
693 | <Size> |
||
694 | <AbsDimension x="25" y="25"/> |
||
695 | </Size> |
||
696 | <Anchors> |
||
697 | <Anchor point="BOTTOMLEFT" relativeTo="ItemFrame"> |
||
698 | <Offset> |
||
699 | <AbsDimension x="15" y="-25" /> |
||
700 | </Offset> |
||
701 | </Anchor> |
||
702 | </Anchors> |
||
703 | <Scripts> |
||
704 | <OnClick> |
||
705 | QuestItem_Config_ItemFrame_ToggleFilter(); |
||
706 | </OnClick> |
||
707 | </Scripts> |
||
708 | </CheckButton> |
||
709 | </Frames> |
||
710 | <Layers> |
||
711 | <Layer level="ARTWORK"> |
||
712 | <FontString name="FooterVersion" inherits="GameFontNormal"> |
||
713 | <Anchors> |
||
714 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOM"> |
||
715 | <Offset> |
||
716 | <AbsDimension x="130" y="-17" /> |
||
717 | </Offset> |
||
718 | </Anchor> |
||
719 | </Anchors> |
||
720 | </FontString> |
||
721 | </Layer> |
||
722 | </Layers> |
||
723 | </Frame> |
||
724 | </Frames> |
||
725 | </Frame> |
||
726 | </Ui> |