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/ |
2 | ..\FrameXML\UI.xsd"> |
||
3 | <Script file="FishingBuddyFrame.lua"/> |
||
4 | <Button name="FishingBuddyTabButtonTemplate" virtual="true"> |
||
5 | <Size> |
||
6 | <AbsDimension x="115" y="32"/> |
||
7 | </Size> |
||
8 | <Layers> |
||
9 | <Layer level="BACKGROUND"> |
||
10 | <Texture name="$parentLeftDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab"> |
||
11 | <Size> |
||
12 | <AbsDimension x="20" y="32"/> |
||
13 | </Size> |
||
14 | <Anchors> |
||
15 | <Anchor point="TOPLEFT"> |
||
16 | <Offset> |
||
17 | <AbsDimension x="0" y="5"/> |
||
18 | </Offset> |
||
19 | </Anchor> |
||
20 | </Anchors> |
||
21 | <TexCoords left="0" right="0.15625" top="0" bottom="1.0"/> |
||
22 | </Texture> |
||
23 | <Texture name="$parentMiddleDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab"> |
||
24 | <Size> |
||
25 | <AbsDimension x="88" y="32"/> |
||
26 | </Size> |
||
27 | <Anchors> |
||
28 | <Anchor point="LEFT" relativeTo="$parentLeftDisabled" relativePoint="RIGHT"/> |
||
29 | </Anchors> |
||
30 | <TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/> |
||
31 | </Texture> |
||
32 | <Texture name="$parentRightDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab"> |
||
33 | <Size> |
||
34 | <AbsDimension x="20" y="32"/> |
||
35 | </Size> |
||
36 | <Anchors> |
||
37 | <Anchor point="LEFT" relativeTo="$parentMiddleDisabled" relativePoint="RIGHT"/> |
||
38 | </Anchors> |
||
39 | <TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/> |
||
40 | </Texture> |
||
41 | <Texture name="$parentLeft" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab"> |
||
42 | <Size> |
||
43 | <AbsDimension x="20" y="32"/> |
||
44 | </Size> |
||
45 | <Anchors> |
||
46 | <Anchor point="TOPLEFT"/> |
||
47 | </Anchors> |
||
48 | <TexCoords left="0" right="0.15625" top="0" bottom="1.0"/> |
||
49 | </Texture> |
||
50 | <Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab"> |
||
51 | <Size> |
||
52 | <AbsDimension x="88" y="32"/> |
||
53 | </Size> |
||
54 | <Anchors> |
||
55 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/> |
||
56 | </Anchors> |
||
57 | <TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/> |
||
58 | </Texture> |
||
59 | <Texture name="$parentRight" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab"> |
||
60 | <Size> |
||
61 | <AbsDimension x="20" y="32"/> |
||
62 | </Size> |
||
63 | <Anchors> |
||
64 | <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/> |
||
65 | </Anchors> |
||
66 | <TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/> |
||
67 | </Texture> |
||
68 | </Layer> |
||
69 | </Layers> |
||
70 | <NormalText name="$parentText" inherits="GameFontNormalSmall"> |
||
71 | <Anchors> |
||
72 | <Anchor point="CENTER"> |
||
73 | <Offset> |
||
74 | <AbsDimension x="0" y="2"/> |
||
75 | </Offset> |
||
76 | </Anchor> |
||
77 | </Anchors> |
||
78 | </NormalText> |
||
79 | <HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall"> |
||
80 | <Anchors> |
||
81 | <Anchor point="CENTER"> |
||
82 | <Offset> |
||
83 | <AbsDimension x="0" y="2"/> |
||
84 | </Offset> |
||
85 | </Anchor> |
||
86 | </Anchors> |
||
87 | </HighlightText> |
||
88 | <DisabledText name="$parentDisabledText" inherits="GameFontHighlightSmall"> |
||
89 | <Anchors> |
||
90 | <Anchor point="CENTER"> |
||
91 | <Offset> |
||
92 | <AbsDimension x="0" y="2"/> |
||
93 | </Offset> |
||
94 | </Anchor> |
||
95 | </Anchors> |
||
96 | </DisabledText> |
||
97 | <HighlightTexture name="$parentHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD"> |
||
98 | <Anchors> |
||
99 | <Anchor point="LEFT"> |
||
100 | <Offset> |
||
101 | <AbsDimension x="10" y="2"/> |
||
102 | </Offset> |
||
103 | </Anchor> |
||
104 | <Anchor point="RIGHT"> |
||
105 | <Offset> |
||
106 | <AbsDimension x="-10" y="2"/> |
||
107 | </Offset> |
||
108 | </Anchor> |
||
109 | </Anchors> |
||
110 | </HighlightTexture> |
||
111 | <Scripts> |
||
112 | <OnLoad> |
||
113 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
114 | </OnLoad> |
||
115 | <OnClick> |
||
116 | PanelTemplates_Tab_OnClick(FishingBuddyFrame); |
||
117 | FishingBuddyFrameTab_OnClick(); |
||
118 | </OnClick> |
||
119 | <OnShow> |
||
120 | PanelTemplates_TabResize(0); |
||
121 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 30); |
||
122 | </OnShow> |
||
123 | <OnEnter> |
||
124 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
125 | GameTooltip:SetText(MicroButtonTooltipText(TEXT(this.tooltip), this.toggle), |
||
126 | 1.0,1.0,1.0 ); |
||
127 | </OnEnter> |
||
128 | <OnLeave> |
||
129 | GameTooltip:Hide(); |
||
130 | </OnLeave> |
||
131 | </Scripts> |
||
132 | </Button> |
||
133 | |||
134 | <Frame name="FishingBuddySmallHeaderTemplate" virtual="true"> |
||
135 | <Layers> |
||
136 | <Layer level="BACKGROUND"> |
||
137 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft"> |
||
138 | <Size> |
||
139 | <AbsDimension x="256" y="256"/> |
||
140 | </Size> |
||
141 | <Anchors> |
||
142 | <Anchor point="TOPLEFT"> |
||
143 | <Offset> |
||
144 | <AbsDimension x="2" y="-1"/> |
||
145 | </Offset> |
||
146 | </Anchor> |
||
147 | </Anchors> |
||
148 | </Texture> |
||
149 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight"> |
||
150 | <Size> |
||
151 | <AbsDimension x="128" y="256"/> |
||
152 | </Size> |
||
153 | <Anchors> |
||
154 | <Anchor point="TOPLEFT"> |
||
155 | <Offset> |
||
156 | <AbsDimension x="258" y="-1"/> |
||
157 | </Offset> |
||
158 | </Anchor> |
||
159 | </Anchors> |
||
160 | </Texture> |
||
161 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomLeft"> |
||
162 | <Size> |
||
163 | <AbsDimension x="256" y="256"/> |
||
164 | </Size> |
||
165 | <Anchors> |
||
166 | <Anchor point="TOPLEFT"> |
||
167 | <Offset> |
||
168 | <AbsDimension x="2" y="-257"/> |
||
169 | </Offset> |
||
170 | </Anchor> |
||
171 | </Anchors> |
||
172 | </Texture> |
||
173 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomRight"> |
||
174 | <Size> |
||
175 | <AbsDimension x="128" y="256"/> |
||
176 | </Size> |
||
177 | <Anchors> |
||
178 | <Anchor point="TOPLEFT"> |
||
179 | <Offset> |
||
180 | <AbsDimension x="258" y="-257"/> |
||
181 | </Offset> |
||
182 | </Anchor> |
||
183 | </Anchors> |
||
184 | </Texture> |
||
185 | </Layer> |
||
186 | </Layers> |
||
187 | </Frame> |
||
188 | |||
189 | <Frame name="FishingBuddyFrame" toplevel="true" movable="true" enableMouse="true" parent="UIParent" hidden="true"> |
||
190 | <Size> |
||
191 | <AbsDimension x="384" y="512"/> |
||
192 | </Size> |
||
193 | <Anchors> |
||
194 | <Anchor point="TOPLEFT"> |
||
195 | <Offset> |
||
196 | <AbsDimension x="0" y="-104"/> |
||
197 | </Offset> |
||
198 | </Anchor> |
||
199 | </Anchors> |
||
200 | <HitRectInsets> |
||
201 | <AbsInset left="0" right="30" top="0" bottom="45"/> |
||
202 | </HitRectInsets> |
||
203 | <Layers> |
||
204 | <Layer level="ARTWORK"> |
||
205 | <Texture name="FishingBuddyFramePortrait"> |
||
206 | <Size> |
||
207 | <AbsDimension x="58" y="58"/> |
||
208 | </Size> |
||
209 | <Anchors> |
||
210 | <Anchor point="TOPLEFT"> |
||
211 | <Offset> |
||
212 | <AbsDimension x="9" y="-7"/> |
||
213 | </Offset> |
||
214 | </Anchor> |
||
215 | </Anchors> |
||
216 | </Texture> |
||
217 | </Layer> |
||
218 | </Layers> |
||
219 | <Frames> |
||
220 | <Frame name="FishingBuddyNameFrame"> |
||
221 | <Size> |
||
222 | <AbsDimension x="109" y="12"/> |
||
223 | </Size> |
||
224 | <Anchors> |
||
225 | <Anchor point="CENTER"> |
||
226 | <Offset> |
||
227 | <AbsDimension x="6" y="232"/> |
||
228 | </Offset> |
||
229 | </Anchor> |
||
230 | </Anchors> |
||
231 | <Layers> |
||
232 | <Layer> |
||
233 | <FontString name="FishingBuddyNameText" inherits="GameFontNormal" text="NAME"> |
||
234 | <Size> |
||
235 | <AbsDimension x="300" y="12"/> |
||
236 | </Size> |
||
237 | <Anchors> |
||
238 | <Anchor point="CENTER"/> |
||
239 | </Anchors> |
||
240 | <Color r="1.0" g="1.0" b="1.0"/> |
||
241 | </FontString> |
||
242 | </Layer> |
||
243 | </Layers> |
||
244 | <Scripts> |
||
245 | <OnLoad> |
||
246 | this:SetFrameLevel(this:GetFrameLevel() + 1); |
||
247 | </OnLoad> |
||
248 | </Scripts> |
||
249 | </Frame> |
||
250 | <Button name="FishingBuddyCloseButton" inherits="UIPanelCloseButton"> |
||
251 | <Anchors> |
||
252 | <Anchor point="CENTER" relativeTo="FishingBuddyFrame" relativePoint="TOPRIGHT"> |
||
253 | <Offset> |
||
254 | <AbsDimension x="-44" y="-26"/> |
||
255 | </Offset> |
||
256 | </Anchor> |
||
257 | </Anchors> |
||
258 | <Scripts> |
||
259 | <OnLoad> |
||
260 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
261 | </OnLoad> |
||
262 | </Scripts> |
||
263 | </Button> |
||
264 | <Button name="FishingBuddyFrameTab1" inherits="FishingBuddyTabButtonTemplate" id="1"> |
||
265 | <Anchors> |
||
266 | <Anchor point="CENTER" relativePoint="BOTTOMLEFT"> |
||
267 | <Offset> |
||
268 | <AbsDimension x="55" y="60"/> |
||
269 | </Offset> |
||
270 | </Anchor> |
||
271 | </Anchors> |
||
272 | </Button> |
||
273 | <Button name="FishingBuddyFrameTab2" inherits="FishingBuddyTabButtonTemplate" id="2"> |
||
274 | <Anchors> |
||
275 | <Anchor point="LEFT" relativeTo="FishingBuddyFrameTab1" relativePoint="RIGHT"> |
||
276 | <Offset> |
||
277 | <AbsDimension x="-18" y="0"/> |
||
278 | </Offset> |
||
279 | </Anchor> |
||
280 | </Anchors> |
||
281 | </Button> |
||
282 | <Button name="FishingBuddyFrameTab3" inherits="FishingBuddyTabButtonTemplate" id="3"> |
||
283 | <Anchors> |
||
284 | <Anchor point="LEFT" relativeTo="FishingBuddyFrameTab2" relativePoint="RIGHT"> |
||
285 | <Offset> |
||
286 | <AbsDimension x="-18" y="0"/> |
||
287 | </Offset> |
||
288 | </Anchor> |
||
289 | </Anchors> |
||
290 | </Button> |
||
291 | <Button name="FishingBuddyFrameTab4" inherits="FishingBuddyTabButtonTemplate" id="4"> |
||
292 | <Anchors> |
||
293 | <Anchor point="LEFT" relativeTo="FishingBuddyFrameTab3" relativePoint="RIGHT"> |
||
294 | <Offset> |
||
295 | <AbsDimension x="-18" y="0"/> |
||
296 | </Offset> |
||
297 | </Anchor> |
||
298 | </Anchors> |
||
299 | </Button> |
||
300 | </Frames> |
||
301 | <Scripts> |
||
302 | <OnLoad> |
||
303 | FishingBuddyFrame_OnLoad(); |
||
304 | </OnLoad> |
||
305 | <OnEvent> |
||
306 | FishingBuddyFrame_OnEvent(event); |
||
307 | </OnEvent> |
||
308 | <OnShow> |
||
309 | FishingBuddyFrame_OnShow(); |
||
310 | </OnShow> |
||
311 | <OnHide> |
||
312 | FishingBuddyFrame_OnHide(); |
||
313 | </OnHide> |
||
314 | </Scripts> |
||
315 | </Frame> |
||
316 | </Ui> |