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/" |
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
3 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
4 | <!-- $Id: MComTextFrame.xml 2495 2005-09-19 13:26:02Z mugendai $ --> |
||
5 | |||
6 | <!-- The Text Frame for MCom help, derived from ItemTextFrame --> |
||
7 | <Frame name="MComTextFrame" toplevel="true" movable="true" enableMouse="true" hidden="true" parent="UIParent"> |
||
8 | <Size> |
||
9 | <AbsDimension x="384" y="512"/> |
||
10 | </Size> |
||
11 | <Anchors> |
||
12 | <Anchor point="TOPLEFT"> |
||
13 | <Offset> |
||
14 | <AbsDimension x="0" y="-104"/> |
||
15 | </Offset> |
||
16 | </Anchor> |
||
17 | </Anchors> |
||
18 | <HitRectInsets> |
||
19 | <AbsInset left="0" right="30" top="0" bottom="70"/> |
||
20 | </HitRectInsets> |
||
21 | <Layers> |
||
22 | <Layer level="BACKGROUND"> |
||
23 | <Texture name="MComSpellBookIcon" file="Interface\Spellbook\Spellbook-Icon"> |
||
24 | <Size> |
||
25 | <AbsDimension x="58" y="58"/> |
||
26 | </Size> |
||
27 | <Anchors> |
||
28 | <Anchor point="TOPLEFT"> |
||
29 | <Offset> |
||
30 | <AbsDimension x="10" y="-8"/> |
||
31 | </Offset> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | </Texture> |
||
35 | </Layer> |
||
36 | <Layer level="BORDER"> |
||
37 | <Texture name="MComTextTopLeft" file="Interface\HelpFrame\HelpFrame-TopLeft"> |
||
38 | <Size> |
||
39 | <AbsDimension x="256" y="256"/> |
||
40 | </Size> |
||
41 | <Anchors> |
||
42 | <Anchor point="TOPLEFT"/> |
||
43 | </Anchors> |
||
44 | </Texture> |
||
45 | <Texture name="MComTextTop" file="Interface\HelpFrame\HelpFrame-Top"> |
||
46 | <Size> |
||
47 | <AbsDimension x="128" y="256"/> |
||
48 | </Size> |
||
49 | <Anchors> |
||
50 | <Anchor point="TOPLEFT"> |
||
51 | <Offset> |
||
52 | <AbsDimension x="256" y="0"/> |
||
53 | </Offset> |
||
54 | </Anchor> |
||
55 | </Anchors> |
||
56 | </Texture> |
||
57 | <Texture name="MComTextTopRight" file="Interface\HelpFrame\HelpFrame-TopRight"> |
||
58 | <Size> |
||
59 | <AbsDimension x="128" y="256"/> |
||
60 | </Size> |
||
61 | <Anchors> |
||
62 | <Anchor point="TOPRIGHT"/> |
||
63 | </Anchors> |
||
64 | </Texture> |
||
65 | <Texture name="MComTextBotLeft" file="Interface\HelpFrame\HelpFrame-BotLeft"> |
||
66 | <Size> |
||
67 | <AbsDimension x="256" y="256"/> |
||
68 | </Size> |
||
69 | <Anchors> |
||
70 | <Anchor point="BOTTOMLEFT"/> |
||
71 | </Anchors> |
||
72 | </Texture> |
||
73 | <Texture name="MComTextBot" file="Interface\HelpFrame\HelpFrame-Bottom"> |
||
74 | <Size> |
||
75 | <AbsDimension x="128" y="256"/> |
||
76 | </Size> |
||
77 | <Anchors> |
||
78 | <Anchor point="BOTTOMLEFT"> |
||
79 | <Offset> |
||
80 | <AbsDimension x="256" y="0"/> |
||
81 | </Offset> |
||
82 | </Anchor> |
||
83 | </Anchors> |
||
84 | </Texture> |
||
85 | <Texture name="MComTextBotRight" file="Interface\HelpFrame\HelpFrame-BotRight"> |
||
86 | <Size> |
||
87 | <AbsDimension x="128" y="256"/> |
||
88 | </Size> |
||
89 | <Anchors> |
||
90 | <Anchor point="BOTTOMRIGHT"/> |
||
91 | </Anchors> |
||
92 | </Texture> |
||
93 | </Layer> |
||
94 | <Layer level="BORDER"> |
||
95 | <Texture name="MComItemTextTopLeft" file="Interface\ItemTextFrame\UI-ItemText-TopLeft"> |
||
96 | <Size> |
||
97 | <AbsDimension x="256" y="256"/> |
||
98 | </Size> |
||
99 | <Anchors> |
||
100 | <Anchor point="TOPLEFT"/> |
||
101 | </Anchors> |
||
102 | </Texture> |
||
103 | <Texture name="MComItemTextTopRight" file="Interface\Spellbook\UI-SpellbookPanel-TopRight"> |
||
104 | <Size> |
||
105 | <AbsDimension x="128" y="256"/> |
||
106 | </Size> |
||
107 | <Anchors> |
||
108 | <Anchor point="TOPLEFT"> |
||
109 | <Offset> |
||
110 | <AbsDimension x="256" y="0"/> |
||
111 | </Offset> |
||
112 | </Anchor> |
||
113 | </Anchors> |
||
114 | </Texture> |
||
115 | <Texture name="MComItemTextBotLeft" file="Interface\ItemTextFrame\UI-ItemText-BotLeft"> |
||
116 | <Size> |
||
117 | <AbsDimension x="256" y="256"/> |
||
118 | </Size> |
||
119 | <Anchors> |
||
120 | <Anchor point="TOPLEFT"> |
||
121 | <Offset> |
||
122 | <AbsDimension x="0" y="-256"/> |
||
123 | </Offset> |
||
124 | </Anchor> |
||
125 | </Anchors> |
||
126 | </Texture> |
||
127 | <Texture name="MComItemTextBotRight" file="Interface\Spellbook\UI-SpellbookPanel-BotRight"> |
||
128 | <Size> |
||
129 | <AbsDimension x="128" y="256"/> |
||
130 | </Size> |
||
131 | <Anchors> |
||
132 | <Anchor point="TOPLEFT"> |
||
133 | <Offset> |
||
134 | <AbsDimension x="256" y="-256"/> |
||
135 | </Offset> |
||
136 | </Anchor> |
||
137 | </Anchors> |
||
138 | </Texture> |
||
139 | </Layer> |
||
140 | <Layer level="ARTWORK"> |
||
141 | <Texture name="MComTextMaterialTopLeft"> |
||
142 | <Size> |
||
143 | <AbsDimension x="256" y="256"/> |
||
144 | </Size> |
||
145 | <Anchors> |
||
146 | <Anchor point="TOPLEFT"> |
||
147 | <Offset> |
||
148 | <AbsDimension x="21" y="-75"/> |
||
149 | </Offset> |
||
150 | </Anchor> |
||
151 | </Anchors> |
||
152 | </Texture> |
||
153 | <Texture name="MComTextMaterialTopRight"> |
||
154 | <Size> |
||
155 | <AbsDimension x="64" y="256"/> |
||
156 | </Size> |
||
157 | <Anchors> |
||
158 | <Anchor point="TOPLEFT" relativeTo="MComTextMaterialTopLeft" relativePoint="TOPRIGHT"/> |
||
159 | </Anchors> |
||
160 | </Texture> |
||
161 | <Texture name="MComTextMaterialBotLeft"> |
||
162 | <Size> |
||
163 | <AbsDimension x="256" y="128"/> |
||
164 | </Size> |
||
165 | <Anchors> |
||
166 | <Anchor point="TOPLEFT" relativeTo="MComTextMaterialTopLeft" relativePoint="BOTTOMLEFT"/> |
||
167 | </Anchors> |
||
168 | </Texture> |
||
169 | <Texture name="MComTextMaterialBotRight"> |
||
170 | <Size> |
||
171 | <AbsDimension x="64" y="128"/> |
||
172 | </Size> |
||
173 | <Anchors> |
||
174 | <Anchor point="TOPLEFT" relativeTo="MComTextMaterialTopLeft" relativePoint="BOTTOMRIGHT"/> |
||
175 | </Anchors> |
||
176 | </Texture> |
||
177 | </Layer> |
||
178 | <Layer level="OVERLAY"> |
||
179 | <FontString name="MComTextTitleText" inherits="GameFontNormal"> |
||
180 | <Size> |
||
181 | <AbsDimension x="224" y="14"/> |
||
182 | </Size> |
||
183 | <Anchors> |
||
184 | <Anchor point="CENTER"> |
||
185 | <Offset> |
||
186 | <AbsDimension x="6" y="230"/> |
||
187 | </Offset> |
||
188 | </Anchor> |
||
189 | </Anchors> |
||
190 | </FontString> |
||
191 | <FontString name="MComTextCurrentPage" inherits="GameFontNormal"> |
||
192 | <Size> |
||
193 | <AbsDimension x="192" y="0"/> |
||
194 | </Size> |
||
195 | <Anchors> |
||
196 | <Anchor point="TOP"> |
||
197 | <Offset> |
||
198 | <AbsDimension x="10" y="-50"/> |
||
199 | </Offset> |
||
200 | </Anchor> |
||
201 | </Anchors> |
||
202 | </FontString> |
||
203 | </Layer> |
||
204 | </Layers> |
||
205 | <Frames> |
||
206 | <ScrollFrame name="MComTextScrollFrame" inherits="UIPanelScrollFrameTemplate"> |
||
207 | <Size> |
||
208 | <AbsDimension x="280" y="355"/> |
||
209 | </Size> |
||
210 | <Anchors> |
||
211 | <Anchor point="TOPRIGHT"> |
||
212 | <Offset> |
||
213 | <AbsDimension x="-66" y="-76"/> |
||
214 | </Offset> |
||
215 | </Anchor> |
||
216 | </Anchors> |
||
217 | <Layers> |
||
218 | <Layer level="ARTWORK"> |
||
219 | <Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar" hidden="true"> |
||
220 | <Size> |
||
221 | <AbsDimension x="31" y="256"/> |
||
222 | </Size> |
||
223 | <Anchors> |
||
224 | <Anchor point="TOP" relativeTo="$parentScrollBarScrollUpButton"> |
||
225 | <Offset> |
||
226 | <AbsDimension x="0" y="5"/> |
||
227 | </Offset> |
||
228 | </Anchor> |
||
229 | </Anchors> |
||
230 | <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/> |
||
231 | </Texture> |
||
232 | <Texture name="$parentBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar" hidden="true"> |
||
233 | <Size> |
||
234 | <AbsDimension x="31" y="106"/> |
||
235 | </Size> |
||
236 | <Anchors> |
||
237 | <Anchor point="BOTTOM" relativeTo="$parentScrollBarScrollDownButton"> |
||
238 | <Offset> |
||
239 | <AbsDimension x="0" y="-2"/> |
||
240 | </Offset> |
||
241 | </Anchor> |
||
242 | </Anchors> |
||
243 | <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/> |
||
244 | </Texture> |
||
245 | <Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar" hidden="true"> |
||
246 | <Size> |
||
247 | <AbsDimension x="31" y="60"/> |
||
248 | </Size> |
||
249 | <Anchors> |
||
250 | <Anchor point="TOP" relativeTo="$parentTop" relativePoint="BOTTOM"> |
||
251 | <Offset> |
||
252 | <AbsDimension x="0" y="0"/> |
||
253 | </Offset> |
||
254 | </Anchor> |
||
255 | <Anchor point="BOTTOM" relativeTo="$parentBottom" relativePoint="TOP"> |
||
256 | <Offset> |
||
257 | <AbsDimension x="0" y="0"/> |
||
258 | </Offset> |
||
259 | </Anchor> |
||
260 | </Anchors> |
||
261 | <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/> |
||
262 | </Texture> |
||
263 | </Layer> |
||
264 | <Layer level="BACKGROUND"> |
||
265 | <Texture name="$parentBack" hidden="true"> |
||
266 | <Size> |
||
267 | <AbsDimension x="27" y="10"/> |
||
268 | </Size> |
||
269 | <Anchors> |
||
270 | <Anchor point="TOP" relativeTo="$parentTop"> |
||
271 | <Offset> |
||
272 | <AbsDimension x="2" y="0"/> |
||
273 | </Offset> |
||
274 | </Anchor> |
||
275 | <Anchor point="BOTTOM" relativeTo="$parentBottom"> |
||
276 | <Offset> |
||
277 | <AbsDimension x="2" y="0"/> |
||
278 | </Offset> |
||
279 | </Anchor> |
||
280 | </Anchors> |
||
281 | <Color r="0" g="0" b="0"/> |
||
282 | </Texture> |
||
283 | </Layer> |
||
284 | </Layers> |
||
285 | <Scripts> |
||
286 | <OnLoad> |
||
287 | if (this and this:GetName()) then |
||
288 | getglobal(this:GetName().."ScrollBarScrollDownButton"):Disable(); |
||
289 | getglobal(this:GetName().."ScrollBarScrollUpButton"):Disable(); |
||
290 | this.offset = 0; |
||
291 | end |
||
292 | </OnLoad> |
||
293 | <OnScrollRangeChanged> |
||
294 | ScrollFrame_OnScrollRangeChanged(arg2); |
||
295 | if ( this:GetVerticalScrollRange() == 0 ) then |
||
296 | getglobal(this:GetName().."Back"):Hide(); |
||
297 | getglobal(this:GetName().."Middle"):Hide(); |
||
298 | else |
||
299 | getglobal(this:GetName().."Back"):Show(); |
||
300 | getglobal(this:GetName().."Middle"):Show(); |
||
301 | end |
||
302 | </OnScrollRangeChanged> |
||
303 | </Scripts> |
||
304 | <ScrollChild> |
||
305 | <Frame name="MComTextPageScrollChild"> |
||
306 | <Size> |
||
307 | <AbsDimension x="10" y="10"/> |
||
308 | </Size> |
||
309 | <Frames> |
||
310 | <SimpleHTML name="MComTextPageText"> |
||
311 | <Size> |
||
312 | <AbsDimension x="270" y="304"/> |
||
313 | </Size> |
||
314 | <Anchors> |
||
315 | <Anchor point="TOPLEFT"> |
||
316 | <Offset> |
||
317 | <AbsDimension x="0" y="-15"/> |
||
318 | </Offset> |
||
319 | </Anchor> |
||
320 | </Anchors> |
||
321 | <FontString name="MComTextFontString" inherits="ChatFontNormal"> |
||
322 | <Size> |
||
323 | <AbsDimension x="270" y="0"/> |
||
324 | </Size> |
||
325 | </FontString> |
||
326 | </SimpleHTML> |
||
327 | </Frames> |
||
328 | </Frame> |
||
329 | </ScrollChild> |
||
330 | </ScrollFrame> |
||
331 | <StatusBar name="MComTextStatusBar"> |
||
332 | <Size> |
||
333 | <AbsDimension x="250" y="21"/> |
||
334 | </Size> |
||
335 | <Anchors> |
||
336 | <Anchor point="BOTTOM" relativeTo="MComTextFrame"> |
||
337 | <Offset> |
||
338 | <AbsDimension x="-5" y="128"/> |
||
339 | </Offset> |
||
340 | </Anchor> |
||
341 | </Anchors> |
||
342 | <Layers> |
||
343 | <Layer level="OVERLAY"> |
||
344 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-Skills-BarBorder"> |
||
345 | <Size> |
||
346 | <AbsDimension x="256" y="23"/> |
||
347 | </Size> |
||
348 | <Anchors> |
||
349 | <Anchor point="CENTER"/> |
||
350 | </Anchors> |
||
351 | <TexCoords left="0" right="1.0" top="0.0625" bottom="0.75"/> |
||
352 | </Texture> |
||
353 | </Layer> |
||
354 | </Layers> |
||
355 | <Scripts> |
||
356 | <OnLoad> |
||
357 | this:SetFrameLevel(this:GetFrameLevel()+1); |
||
358 | </OnLoad> |
||
359 | </Scripts> |
||
360 | <BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/> |
||
361 | <BarColor r="0.25" g="0.75" b="0.25"/> |
||
362 | </StatusBar> |
||
363 | <Button name="MComTextPrevPageButton"> |
||
364 | <Size> |
||
365 | <AbsDimension x="32" y="32"/> |
||
366 | </Size> |
||
367 | <Anchors> |
||
368 | <Anchor point="CENTER" relativePoint="TOPLEFT"> |
||
369 | <Offset> |
||
370 | <AbsDimension x="90" y="-56"/> |
||
371 | </Offset> |
||
372 | </Anchor> |
||
373 | </Anchors> |
||
374 | <Layers> |
||
375 | <Layer level="ARTWORK"> |
||
376 | <FontString inherits="GameFontNormal" justifyH="LEFT" text="PREV"> |
||
377 | <Anchors> |
||
378 | <Anchor point="LEFT" relativePoint="RIGHT"/> |
||
379 | </Anchors> |
||
380 | </FontString> |
||
381 | </Layer> |
||
382 | </Layers> |
||
383 | <Scripts> |
||
384 | <OnClick> |
||
385 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
386 | MCom.ItemTextPrevPage(); |
||
387 | </OnClick> |
||
388 | </Scripts> |
||
389 | <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/> |
||
390 | <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/> |
||
391 | <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/> |
||
392 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
393 | </Button> |
||
394 | <Button name="MComTextNextPageButton"> |
||
395 | <Size> |
||
396 | <AbsDimension x="32" y="32"/> |
||
397 | </Size> |
||
398 | <Anchors> |
||
399 | <Anchor point="CENTER" relativePoint="TOPRIGHT"> |
||
400 | <Offset> |
||
401 | <AbsDimension x="-55" y="-56"/> |
||
402 | </Offset> |
||
403 | </Anchor> |
||
404 | </Anchors> |
||
405 | <Layers> |
||
406 | <Layer level="ARTWORK"> |
||
407 | <FontString inherits="GameFontNormal" justifyH="RIGHT" text="NEXT"> |
||
408 | <Anchors> |
||
409 | <Anchor point="RIGHT" relativePoint="LEFT"/> |
||
410 | </Anchors> |
||
411 | </FontString> |
||
412 | </Layer> |
||
413 | </Layers> |
||
414 | <Scripts> |
||
415 | <OnClick> |
||
416 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
417 | MCom.ItemTextNextPage(); |
||
418 | </OnClick> |
||
419 | </Scripts> |
||
420 | <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/> |
||
421 | <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/> |
||
422 | <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/> |
||
423 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
424 | </Button> |
||
425 | <Button name="MComTextCloseButton"> |
||
426 | <Size> |
||
427 | <AbsDimension x="32" y="32"/> |
||
428 | </Size> |
||
429 | <Anchors> |
||
430 | <Anchor point="CENTER" relativePoint="TOPRIGHT"> |
||
431 | <Offset> |
||
432 | <AbsDimension x="-45" y="-26"/> |
||
433 | </Offset> |
||
434 | </Anchor> |
||
435 | </Anchors> |
||
436 | <Scripts> |
||
437 | <OnClick> |
||
438 | HideUIPanel(MComTextFrame); |
||
439 | </OnClick> |
||
440 | </Scripts> |
||
441 | <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/> |
||
442 | <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/> |
||
443 | <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/> |
||
444 | </Button> |
||
445 | </Frames> |
||
446 | <Scripts> |
||
447 | <OnLoad> |
||
448 | MComTextScrollFrame.scrollBarHideable = 1; |
||
449 | MComTextScrollFrameScrollBar:Hide(); |
||
450 | </OnLoad> |
||
451 | <OnEvent> |
||
452 | MCom.ItemTextFrame_OnEvent(event); |
||
453 | </OnEvent> |
||
454 | <OnShow> |
||
455 | PlaySound("igMainMenuOpen"); |
||
456 | </OnShow> |
||
457 | <OnHide> |
||
458 | MCom.CloseItemText(); |
||
459 | PlaySound("igMainMenuClose"); |
||
460 | </OnHide> |
||
461 | <OnMouseDown> |
||
462 | if ( arg1 == "LeftButton" ) then |
||
463 | this:StartMoving(); |
||
464 | end |
||
465 | </OnMouseDown> |
||
466 | <OnMouseUp> |
||
467 | if ( arg1 == "LeftButton" ) then |
||
468 | this:StopMovingOrSizing(); |
||
469 | else |
||
470 | this:StopMovingOrSizing(); |
||
471 | this:SetPoint("TOPLEFT", UIParent, "TOPLEFT", 0, -104); |
||
472 | this:SetUserPlaced(false); |
||
473 | end |
||
474 | </OnMouseUp> |
||
475 | </Scripts> |
||
476 | </Frame> |
||
477 | </Ui> |
||
478 |