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/FrameXML/UI.xsd"> |
||
4 | |||
5 | <Script file="AceGUIScrollFrame.lua"/> |
||
6 | |||
7 | <!-- Had to put the bar in the core so the relative anchors in the Layers of the frame template |
||
8 | would work. Apparently, Layers are processed before Frames, unless the Frames are inherited, |
||
9 | in which case all inherited elements are processed first. --> |
||
10 | <ScrollFrame name="AceGUIScrollFrameCoreTemplate" virtual="true"> |
||
11 | <Frames> |
||
12 | <Slider name="$parentScrollBar" inherits="UIPanelScrollBarTemplate"> |
||
13 | <Anchors> |
||
14 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> |
||
15 | <Offset> |
||
16 | <AbsDimension x="6" y="-16"/> |
||
17 | </Offset> |
||
18 | </Anchor> |
||
19 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT"> |
||
20 | <Offset> |
||
21 | <AbsDimension x="6" y="16"/> |
||
22 | </Offset> |
||
23 | </Anchor> |
||
24 | </Anchors> |
||
25 | </Slider> |
||
26 | </Frames> |
||
27 | </ScrollFrame> |
||
28 | |||
29 | <ScrollFrame name="AceGUIScrollFrameTemplate" inherits="AceGUIScrollFrameCoreTemplate" virtual="true"> |
||
30 | <Layers> |
||
31 | <Layer level="ARTWORK"> |
||
32 | <Texture name="$parentBarTop" hidden="true" |
||
33 | file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
34 | <Size> |
||
35 | <AbsDimension x="29" y="25"/> |
||
36 | </Size> |
||
37 | <Anchors> |
||
38 | <Anchor point="TOPRIGHT" relativeTo="$parentScrollBarScrollUpButton"> |
||
39 | <Offset> |
||
40 | <AbsDimension x="6" y="4"/> |
||
41 | </Offset> |
||
42 | </Anchor> |
||
43 | </Anchors> |
||
44 | <TexCoords left="0" right="0.484375" top="0" bottom="0.10"/> |
||
45 | </Texture> |
||
46 | <Texture name="$parentBarBottom" hidden="true" |
||
47 | file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
48 | <Size> |
||
49 | <AbsDimension x="29" y="24"/> |
||
50 | </Size> |
||
51 | <Anchors> |
||
52 | <Anchor point="BOTTOMRIGHT" relativeTo="$parentScrollBarScrollDownButton"> |
||
53 | <Offset> |
||
54 | <AbsDimension x="6" y="-2"/> |
||
55 | </Offset> |
||
56 | </Anchor> |
||
57 | </Anchors> |
||
58 | <TexCoords left="0.515625" right="1.0" top="0.32" bottom="0.4140625"/> |
||
59 | </Texture> |
||
60 | <Texture name="$parentBarCenter" hidden="true" |
||
61 | file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
62 | <Size> |
||
63 | <AbsDimension x="29" y="0"/> |
||
64 | </Size> |
||
65 | <Anchors> |
||
66 | <Anchor point="TOP" relativeTo="$parentBarTop" relativePoint="BOTTOM"> |
||
67 | <Offset> |
||
68 | <AbsDimension x="0" y="0"/> |
||
69 | </Offset> |
||
70 | </Anchor> |
||
71 | <Anchor point="BOTTOM" relativeTo="$parentBarBottom" relativePoint="TOP"> |
||
72 | <Offset> |
||
73 | <AbsDimension x="0" y="0"/> |
||
74 | </Offset> |
||
75 | </Anchor> |
||
76 | </Anchors> |
||
77 | <TexCoords left="0" right="0.484375" top="0.1000001" bottom="1.0"/> |
||
78 | </Texture> |
||
79 | </Layer> |
||
80 | </Layers> |
||
81 | <ScrollChild> |
||
82 | <Frame name="$parentScrollChildFrame"> |
||
83 | <Size> |
||
84 | <AbsDimension x="300" y="334"/> |
||
85 | </Size> |
||
86 | </Frame> |
||
87 | </ScrollChild> |
||
88 | <Scripts> |
||
89 | <OnScrollRangeChanged> |
||
90 | ScrollFrame_OnScrollRangeChanged(arg2); |
||
91 | </OnScrollRangeChanged> |
||
92 | <OnVerticalScroll> |
||
93 | this.parentUnit:CallHandler("OnVerticalScroll") |
||
94 | </OnVerticalScroll> |
||
95 | <OnMouseWheel> |
||
96 | this.parentUnit:CallHandler("OnMouseWheel") |
||
97 | </OnMouseWheel> |
||
98 | </Scripts> |
||
99 | </ScrollFrame> |
||
100 | </Ui> |