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="GraphHandler.lua"/> |
||
3 | <Frame name="GraphFrame" enableMouse="true" virtual="true"> |
||
4 | <Scripts> |
||
5 | <OnLoad> |
||
6 | GraphHandler.InitElements(); |
||
7 | </OnLoad> |
||
8 | </Scripts> |
||
9 | </Frame> |
||
10 | |||
11 | <Frame name="GraphPanel" enableMouse="true" virtual="true"> |
||
12 | </Frame> |
||
13 | |||
14 | <Button name="GraphFrameColorBar" virtual="true"> |
||
15 | <Layers> |
||
16 | <Layer level="OVERLAY"> |
||
17 | <Texture name="$parentTexture" virtual="true"> |
||
18 | <Color r="1.0" g="1.0" b="1.0" a="1.0"/> |
||
19 | </Texture> |
||
20 | </Layer> |
||
21 | </Layers> |
||
22 | <Scripts> |
||
23 | <Onload> |
||
24 | this:RegisterEvent("VARIABLES_LOADED"); |
||
25 | </Onload> |
||
26 | <OnEvent> |
||
27 | GraphHandler.Register(GraphHandler.BAR, this); |
||
28 | </OnEvent> |
||
29 | </Scripts> |
||
30 | </Button> |
||
31 | <Button name="GraphFrameLine" virtual="true"> |
||
32 | <Layers> |
||
33 | <Layer level="OVERLAY"> |
||
34 | <Texture name="$parentTexture" virtual="true"> |
||
35 | <Color r="1.0" g="1.0" b="1.0" a="1.0"/> |
||
36 | </Texture> |
||
37 | </Layer> |
||
38 | </Layers> |
||
39 | <Scripts> |
||
40 | <Onload> |
||
41 | this:RegisterEvent("VARIABLES_LOADED"); |
||
42 | </Onload> |
||
43 | <OnEvent> |
||
44 | GraphHandler.Register(GraphHandler.LINE, this); |
||
45 | </OnEvent> |
||
46 | </Scripts> |
||
47 | </Button> |
||
48 | <Button name="GraphFrameText" virtual="true"> |
||
49 | <Layers> |
||
50 | <Layer level="OVERLAY"> |
||
51 | <FontString name="$parentT" inherits="GameFontNormalSmall"/> |
||
52 | </Layer> |
||
53 | </Layers> |
||
54 | <Scripts> |
||
55 | <Onload> |
||
56 | this:RegisterEvent("VARIABLES_LOADED"); |
||
57 | </Onload> |
||
58 | <OnEvent> |
||
59 | GraphHandler.Register(GraphHandler.TEXT, this); |
||
60 | </OnEvent> |
||
61 | </Scripts> |
||
62 | </Button> |
||
63 | <Frame name="GraphFrameLegend" virtual="true"> |
||
64 | <Size> |
||
65 | <AbsDimension x="30" y="18"/> |
||
66 | </Size> |
||
67 | <Frames> |
||
68 | <Button name="$parentColor" inherits="GraphFrameColorBar" hidden="true"> |
||
69 | <Size> |
||
70 | <AbsDimension x="10" y="18"/> |
||
71 | </Size> |
||
72 | <Anchors> |
||
73 | <Anchor point="TOPLEFT"> |
||
74 | <Offset> |
||
75 | <AbsDimension x="0" y="1"/> |
||
76 | </Offset> |
||
77 | </Anchor> |
||
78 | </Anchors> |
||
79 | </Button> |
||
80 | <Button name="$parentIcon" hidden="true"> |
||
81 | <Size> |
||
82 | <AbsDimension x="16" y="16"/> |
||
83 | </Size> |
||
84 | <Anchors> |
||
85 | <Anchor point="LEFT" relativeTo="$parentColor" relativePoint="RIGHT"> |
||
86 | <Offset> |
||
87 | <AbsDimension x="2" y="0"/> |
||
88 | </Offset> |
||
89 | </Anchor> |
||
90 | </Anchors> |
||
91 | <Layers> |
||
92 | <Layer level="BORDER"> |
||
93 | <Texture name="$parentTexture"/> |
||
94 | </Layer> |
||
95 | </Layers> |
||
96 | <Scripts> |
||
97 | <Onload> |
||
98 | this:RegisterForClicks("LeftButtonUp"); |
||
99 | </Onload> |
||
100 | <OnClick> |
||
101 | GraphHandler.Legend.OnClick(arg1); |
||
102 | </OnClick> |
||
103 | </Scripts> |
||
104 | </Button> |
||
105 | </Frames> |
||
106 | <Scripts> |
||
107 | <Onload> |
||
108 | this:SetFrameLevel(this:GetFrameLevel() + 1); |
||
109 | this:RegisterEvent("VARIABLES_LOADED"); |
||
110 | </Onload> |
||
111 | <OnEvent> |
||
112 | GraphHandler.Register(GraphHandler.LEGEND, this); |
||
113 | </OnEvent> |
||
114 | <OnEnter> |
||
115 | GraphHandler.Legend.OnEnter(); |
||
116 | </OnEnter> |
||
117 | <OnLeave> |
||
118 | GraphHandler.Legend.OnLeave(); |
||
119 | </OnLeave> |
||
120 | </Scripts> |
||
121 | </Frame> |
||
122 | |||
123 | <Frame name="GraphPanel2" inherits="GraphPanel" virtual="true"> |
||
124 | <Frames> |
||
125 | <Button name="$parent_00" inherits="GraphFrameColorBar" hidden="true"/> |
||
126 | <Button name="$parent_01" inherits="GraphFrameColorBar" hidden="true"/> |
||
127 | </Frames> |
||
128 | </Frame> |
||
129 | |||
130 | <Frame name="GraphPanel4" inherits="GraphPanel" virtual="true"> |
||
131 | <Frames> |
||
132 | <Button name="$parent_00" inherits="GraphFrameColorBar" hidden="true"/> |
||
133 | <Button name="$parent_01" inherits="GraphFrameColorBar" hidden="true"/> |
||
134 | <Button name="$parent_02" inherits="GraphFrameColorBar" hidden="true"/> |
||
135 | <Button name="$parent_03" inherits="GraphFrameColorBar" hidden="true"/> |
||
136 | </Frames> |
||
137 | </Frame> |
||
138 | |||
139 | <Frame name="GraphPanel8" inherits="GraphPanel" virtual="true"> |
||
140 | <Frames> |
||
141 | <Button name="$parent_00" inherits="GraphFrameColorBar" hidden="true"/> |
||
142 | <Button name="$parent_01" inherits="GraphFrameColorBar" hidden="true"/> |
||
143 | <Button name="$parent_02" inherits="GraphFrameColorBar" hidden="true"/> |
||
144 | <Button name="$parent_03" inherits="GraphFrameColorBar" hidden="true"/> |
||
145 | <Button name="$parent_04" inherits="GraphFrameColorBar" hidden="true"/> |
||
146 | <Button name="$parent_05" inherits="GraphFrameColorBar" hidden="true"/> |
||
147 | <Button name="$parent_06" inherits="GraphFrameColorBar" hidden="true"/> |
||
148 | <Button name="$parent_07" inherits="GraphFrameColorBar" hidden="true"/> |
||
149 | </Frames> |
||
150 | </Frame> |
||
151 | |||
152 | <Frame name="GraphPanel16" inherits="GraphPanel" virtual="true"> |
||
153 | <Frames> |
||
154 | <Button name="$parent_00" inherits="GraphFrameColorBar" hidden="true"/> |
||
155 | <Button name="$parent_01" inherits="GraphFrameColorBar" hidden="true"/> |
||
156 | <Button name="$parent_02" inherits="GraphFrameColorBar" hidden="true"/> |
||
157 | <Button name="$parent_03" inherits="GraphFrameColorBar" hidden="true"/> |
||
158 | <Button name="$parent_04" inherits="GraphFrameColorBar" hidden="true"/> |
||
159 | <Button name="$parent_05" inherits="GraphFrameColorBar" hidden="true"/> |
||
160 | <Button name="$parent_06" inherits="GraphFrameColorBar" hidden="true"/> |
||
161 | <Button name="$parent_07" inherits="GraphFrameColorBar" hidden="true"/> |
||
162 | <Button name="$parent_08" inherits="GraphFrameColorBar" hidden="true"/> |
||
163 | <Button name="$parent_09" inherits="GraphFrameColorBar" hidden="true"/> |
||
164 | <Button name="$parent_10" inherits="GraphFrameColorBar" hidden="true"/> |
||
165 | <Button name="$parent_11" inherits="GraphFrameColorBar" hidden="true"/> |
||
166 | <Button name="$parent_12" inherits="GraphFrameColorBar" hidden="true"/> |
||
167 | <Button name="$parent_13" inherits="GraphFrameColorBar" hidden="true"/> |
||
168 | <Button name="$parent_14" inherits="GraphFrameColorBar" hidden="true"/> |
||
169 | <Button name="$parent_15" inherits="GraphFrameColorBar" hidden="true"/> |
||
170 | <Button name="$parent_16" inherits="GraphFrameColorBar" hidden="true"/> |
||
171 | </Frames> |
||
172 | </Frame> |
||
173 | |||
174 | <Frame name="GraphPanel32" inherits="GraphPanel" virtual="true"> |
||
175 | <Frames> |
||
176 | <Button name="$parent_00" inherits="GraphFrameColorBar" hidden="true"/> |
||
177 | <Button name="$parent_01" inherits="GraphFrameColorBar" hidden="true"/> |
||
178 | <Button name="$parent_02" inherits="GraphFrameColorBar" hidden="true"/> |
||
179 | <Button name="$parent_03" inherits="GraphFrameColorBar" hidden="true"/> |
||
180 | <Button name="$parent_04" inherits="GraphFrameColorBar" hidden="true"/> |
||
181 | <Button name="$parent_05" inherits="GraphFrameColorBar" hidden="true"/> |
||
182 | <Button name="$parent_06" inherits="GraphFrameColorBar" hidden="true"/> |
||
183 | <Button name="$parent_07" inherits="GraphFrameColorBar" hidden="true"/> |
||
184 | <Button name="$parent_08" inherits="GraphFrameColorBar" hidden="true"/> |
||
185 | <Button name="$parent_09" inherits="GraphFrameColorBar" hidden="true"/> |
||
186 | <Button name="$parent_10" inherits="GraphFrameColorBar" hidden="true"/> |
||
187 | <Button name="$parent_11" inherits="GraphFrameColorBar" hidden="true"/> |
||
188 | <Button name="$parent_12" inherits="GraphFrameColorBar" hidden="true"/> |
||
189 | <Button name="$parent_13" inherits="GraphFrameColorBar" hidden="true"/> |
||
190 | <Button name="$parent_14" inherits="GraphFrameColorBar" hidden="true"/> |
||
191 | <Button name="$parent_15" inherits="GraphFrameColorBar" hidden="true"/> |
||
192 | <Button name="$parent_16" inherits="GraphFrameColorBar" hidden="true"/> |
||
193 | <Button name="$parent_17" inherits="GraphFrameColorBar" hidden="true"/> |
||
194 | <Button name="$parent_18" inherits="GraphFrameColorBar" hidden="true"/> |
||
195 | <Button name="$parent_19" inherits="GraphFrameColorBar" hidden="true"/> |
||
196 | <Button name="$parent_20" inherits="GraphFrameColorBar" hidden="true"/> |
||
197 | <Button name="$parent_21" inherits="GraphFrameColorBar" hidden="true"/> |
||
198 | <Button name="$parent_22" inherits="GraphFrameColorBar" hidden="true"/> |
||
199 | <Button name="$parent_23" inherits="GraphFrameColorBar" hidden="true"/> |
||
200 | <Button name="$parent_24" inherits="GraphFrameColorBar" hidden="true"/> |
||
201 | <Button name="$parent_25" inherits="GraphFrameColorBar" hidden="true"/> |
||
202 | <Button name="$parent_26" inherits="GraphFrameColorBar" hidden="true"/> |
||
203 | <Button name="$parent_27" inherits="GraphFrameColorBar" hidden="true"/> |
||
204 | <Button name="$parent_28" inherits="GraphFrameColorBar" hidden="true"/> |
||
205 | <Button name="$parent_29" inherits="GraphFrameColorBar" hidden="true"/> |
||
206 | <Button name="$parent_30" inherits="GraphFrameColorBar" hidden="true"/> |
||
207 | <Button name="$parent_31" inherits="GraphFrameColorBar" hidden="true"/> |
||
208 | </Frames> |
||
209 | </Frame> |
||
210 | |||
211 | </Ui> |