vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> |
2 | <!-- |
||
3 | Version: 3.9.0.1000 (Kangaroo) |
||
4 | Revision: $Id: AuctioneerUI.xml 675 2006-01-05 19:33:38Z mentalpower $ |
||
5 | |||
6 | License: |
||
7 | This program is free software; you can redistribute it and/or |
||
8 | modify it under the terms of the GNU General Public License |
||
9 | as published by the Free Software Foundation; either version 2 |
||
10 | of the License, or (at your option) any later version. |
||
11 | |||
12 | This program is distributed in the hope that it will be useful, |
||
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
15 | GNU General Public License for more details. |
||
16 | |||
17 | You should have received a copy of the GNU General Public License |
||
18 | along with this program(see GPL.txt); if not, write to the Free Software |
||
19 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
||
20 | --> |
||
21 | <Script file="AuctioneerUI.lua"/> |
||
22 | |||
23 | <Frame name="AuctionFrameTemplate" virtual="true"> |
||
24 | <Size> |
||
25 | <AbsDimension x="758" y="447"/> |
||
26 | </Size> |
||
27 | <Anchors> |
||
28 | <Anchor point="TOPLEFT"/> |
||
29 | </Anchors> |
||
30 | <Frames> |
||
31 | <Button name="$parentCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE"> |
||
32 | <Size> |
||
33 | <AbsDimension x="80" y="22"/> |
||
34 | </Size> |
||
35 | <Anchors> |
||
36 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
37 | <Offset> |
||
38 | <AbsDimension x="66" y="14"/> |
||
39 | </Offset> |
||
40 | </Anchor> |
||
41 | </Anchors> |
||
42 | <Scripts> |
||
43 | <OnClick>HideUIPanel(this:GetParent():GetParent());</OnClick> |
||
44 | </Scripts> |
||
45 | </Button> |
||
46 | </Frames> |
||
47 | </Frame> |
||
48 | |||
49 | <Frame name="AuctioneerMoneyInputFrameTemplate" virtual="true"> |
||
50 | <Size> |
||
51 | <AbsDimension x="176" y="18"/> |
||
52 | </Size> |
||
53 | <Frames> |
||
54 | <EditBox name="$parentGold" letters="5" historyLines="0" numeric="true" autoFocus="false"> |
||
55 | <Size> |
||
56 | <AbsDimension x="50" y="20"/> |
||
57 | </Size> |
||
58 | <Anchors> |
||
59 | <Anchor point="TOPLEFT"/> |
||
60 | </Anchors> |
||
61 | <Layers> |
||
62 | <Layer level="BACKGROUND"> |
||
63 | <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border"> |
||
64 | <Size> |
||
65 | <AbsDimension x="8" y="20"/> |
||
66 | </Size> |
||
67 | <Anchors> |
||
68 | <Anchor point="TOPLEFT"> |
||
69 | <Offset> |
||
70 | <AbsDimension x="-5" y="0"/> |
||
71 | </Offset> |
||
72 | </Anchor> |
||
73 | </Anchors> |
||
74 | <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/> |
||
75 | </Texture> |
||
76 | <Texture name="$parentRight" file="Interface\Common\Common-Input-Border"> |
||
77 | <Size> |
||
78 | <AbsDimension x="8" y="20"/> |
||
79 | </Size> |
||
80 | <Anchors> |
||
81 | <Anchor point="RIGHT"> |
||
82 | <Offset> |
||
83 | <AbsDimension x="-10" y="0"/> |
||
84 | </Offset> |
||
85 | </Anchor> |
||
86 | </Anchors> |
||
87 | <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/> |
||
88 | </Texture> |
||
89 | <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border"> |
||
90 | <Size> |
||
91 | <AbsDimension x="10" y="20"/> |
||
92 | </Size> |
||
93 | <Anchors> |
||
94 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/> |
||
95 | <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/> |
||
96 | </Anchors> |
||
97 | <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/> |
||
98 | </Texture> |
||
99 | <Texture file="Interface\MoneyFrame\UI-MoneyIcons"> |
||
100 | <Size> |
||
101 | <AbsDimension x="13" y="13"/> |
||
102 | </Size> |
||
103 | <Anchors> |
||
104 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
105 | <Offset> |
||
106 | <AbsDimension x="-8" y="0"/> |
||
107 | </Offset> |
||
108 | </Anchor> |
||
109 | </Anchors> |
||
110 | <TexCoords left="0" right="0.25" top="0" bottom="1"/> |
||
111 | </Texture> |
||
112 | </Layer> |
||
113 | </Layers> |
||
114 | <Scripts> |
||
115 | <OnTabPressed> |
||
116 | if ( IsShiftKeyDown() and this:GetParent().previousFocus ) then |
||
117 | this:GetParent().previousFocus:SetFocus(); |
||
118 | else |
||
119 | getglobal(this:GetParent():GetName().."Silver"):SetFocus(); |
||
120 | end |
||
121 | </OnTabPressed> |
||
122 | <OnEnterPressed> |
||
123 | getglobal(this:GetParent():GetName().."Silver"):SetFocus(); |
||
124 | </OnEnterPressed> |
||
125 | <OnEscapePressed> |
||
126 | this:ClearFocus(); |
||
127 | </OnEscapePressed> |
||
128 | <OnTextChanged> |
||
129 | MoneyInputFrame_OnTextChanged(this:GetParent()); |
||
130 | </OnTextChanged> |
||
131 | <OnEditFocusLost> |
||
132 | this:HighlightText(0, 0); |
||
133 | </OnEditFocusLost> |
||
134 | <OnEditFocusGained> |
||
135 | this:HighlightText(); |
||
136 | </OnEditFocusGained> |
||
137 | </Scripts> |
||
138 | <FontString inherits="ChatFontNormal"/> |
||
139 | </EditBox> |
||
140 | <EditBox name="$parentSilver" letters="2" historyLines="0" numeric="true" autoFocus="false"> |
||
141 | <Size> |
||
142 | <AbsDimension x="30" y="20"/> |
||
143 | </Size> |
||
144 | <Anchors> |
||
145 | <Anchor point="LEFT" relativeTo="$parentGold" relativePoint="RIGHT"> |
||
146 | <Offset> |
||
147 | <AbsDimension x="16" y="0"/> |
||
148 | </Offset> |
||
149 | </Anchor> |
||
150 | </Anchors> |
||
151 | <Layers> |
||
152 | <Layer level="BACKGROUND"> |
||
153 | <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border"> |
||
154 | <Size> |
||
155 | <AbsDimension x="8" y="20"/> |
||
156 | </Size> |
||
157 | <Anchors> |
||
158 | <Anchor point="TOPLEFT"> |
||
159 | <Offset> |
||
160 | <AbsDimension x="-5" y="0"/> |
||
161 | </Offset> |
||
162 | </Anchor> |
||
163 | </Anchors> |
||
164 | <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/> |
||
165 | </Texture> |
||
166 | <Texture name="$parentRight" file="Interface\Common\Common-Input-Border"> |
||
167 | <Size> |
||
168 | <AbsDimension x="8" y="20"/> |
||
169 | </Size> |
||
170 | <Anchors> |
||
171 | <Anchor point="RIGHT"> |
||
172 | <Offset> |
||
173 | <AbsDimension x="-10" y="0"/> |
||
174 | </Offset> |
||
175 | </Anchor> |
||
176 | </Anchors> |
||
177 | <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/> |
||
178 | </Texture> |
||
179 | <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border"> |
||
180 | <Size> |
||
181 | <AbsDimension x="10" y="20"/> |
||
182 | </Size> |
||
183 | <Anchors> |
||
184 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/> |
||
185 | <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/> |
||
186 | </Anchors> |
||
187 | <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/> |
||
188 | </Texture> |
||
189 | <Texture file="Interface\MoneyFrame\UI-MoneyIcons"> |
||
190 | <Size> |
||
191 | <AbsDimension x="13" y="13"/> |
||
192 | </Size> |
||
193 | <Anchors> |
||
194 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
195 | <Offset> |
||
196 | <AbsDimension x="-8" y="0"/> |
||
197 | </Offset> |
||
198 | </Anchor> |
||
199 | </Anchors> |
||
200 | <TexCoords left="0.25" right="0.5" top="0" bottom="1"/> |
||
201 | </Texture> |
||
202 | </Layer> |
||
203 | </Layers> |
||
204 | <Scripts> |
||
205 | <OnTabPressed> |
||
206 | if (IsShiftKeyDown()) then |
||
207 | getglobal(this:GetParent():GetName().."Gold"):SetFocus(); |
||
208 | else |
||
209 | getglobal(this:GetParent():GetName().."Copper"):SetFocus(); |
||
210 | end |
||
211 | </OnTabPressed> |
||
212 | <OnEnterPressed> |
||
213 | getglobal(this:GetParent():GetName().."Copper"):SetFocus(); |
||
214 | </OnEnterPressed> |
||
215 | <OnEscapePressed> |
||
216 | this:ClearFocus(); |
||
217 | </OnEscapePressed> |
||
218 | <OnTextChanged> |
||
219 | MoneyInputFrame_OnTextChanged(this:GetParent()); |
||
220 | </OnTextChanged> |
||
221 | <OnEditFocusLost> |
||
222 | this:HighlightText(0, 0); |
||
223 | </OnEditFocusLost> |
||
224 | <OnEditFocusGained> |
||
225 | this:HighlightText(); |
||
226 | </OnEditFocusGained> |
||
227 | </Scripts> |
||
228 | <FontString inherits="ChatFontNormal"/> |
||
229 | </EditBox> |
||
230 | <EditBox name="$parentCopper" letters="2" historyLines="0" numeric="true" autoFocus="false"> |
||
231 | <Size> |
||
232 | <AbsDimension x="30" y="20"/> |
||
233 | </Size> |
||
234 | <Anchors> |
||
235 | <Anchor point="LEFT" relativeTo="$parentSilver" relativePoint="RIGHT"> |
||
236 | <Offset> |
||
237 | <AbsDimension x="16" y="0"/> |
||
238 | </Offset> |
||
239 | </Anchor> |
||
240 | </Anchors> |
||
241 | <Layers> |
||
242 | <Layer level="BACKGROUND"> |
||
243 | <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border"> |
||
244 | <Size> |
||
245 | <AbsDimension x="8" y="20"/> |
||
246 | </Size> |
||
247 | <Anchors> |
||
248 | <Anchor point="TOPLEFT"> |
||
249 | <Offset> |
||
250 | <AbsDimension x="-5" y="0"/> |
||
251 | </Offset> |
||
252 | </Anchor> |
||
253 | </Anchors> |
||
254 | <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/> |
||
255 | </Texture> |
||
256 | <Texture name="$parentRight" file="Interface\Common\Common-Input-Border"> |
||
257 | <Size> |
||
258 | <AbsDimension x="8" y="20"/> |
||
259 | </Size> |
||
260 | <Anchors> |
||
261 | <Anchor point="RIGHT"> |
||
262 | <Offset> |
||
263 | <AbsDimension x="-10" y="0"/> |
||
264 | </Offset> |
||
265 | </Anchor> |
||
266 | </Anchors> |
||
267 | <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/> |
||
268 | </Texture> |
||
269 | <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border"> |
||
270 | <Size> |
||
271 | <AbsDimension x="10" y="20"/> |
||
272 | </Size> |
||
273 | <Anchors> |
||
274 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/> |
||
275 | <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/> |
||
276 | </Anchors> |
||
277 | <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/> |
||
278 | </Texture> |
||
279 | <Texture file="Interface\MoneyFrame\UI-MoneyIcons"> |
||
280 | <Size> |
||
281 | <AbsDimension x="13" y="13"/> |
||
282 | </Size> |
||
283 | <Anchors> |
||
284 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
285 | <Offset> |
||
286 | <AbsDimension x="-8" y="0"/> |
||
287 | </Offset> |
||
288 | </Anchor> |
||
289 | </Anchors> |
||
290 | <TexCoords left="0.5" right="0.75" top="0" bottom="1"/> |
||
291 | </Texture> |
||
292 | </Layer> |
||
293 | </Layers> |
||
294 | <Scripts> |
||
295 | <OnTabPressed> |
||
296 | if ( IsShiftKeyDown() ) then |
||
297 | getglobal(this:GetParent():GetName().."Silver"):SetFocus(); |
||
298 | else |
||
299 | if ( this:GetParent().nextFocus ) then |
||
300 | this:GetParent().nextFocus:SetFocus(); |
||
301 | else |
||
302 | this:ClearFocus(); |
||
303 | end |
||
304 | end |
||
305 | </OnTabPressed> |
||
306 | <OnEnterPressed> |
||
307 | if ( this:GetParent().nextFocus ) then |
||
308 | this:GetParent().nextFocus:SetFocus(); |
||
309 | else |
||
310 | this:ClearFocus(); |
||
311 | end |
||
312 | </OnEnterPressed> |
||
313 | <OnEscapePressed> |
||
314 | this:ClearFocus(); |
||
315 | </OnEscapePressed> |
||
316 | <OnTextChanged> |
||
317 | MoneyInputFrame_OnTextChanged(this:GetParent()); |
||
318 | </OnTextChanged> |
||
319 | <OnEditFocusLost> |
||
320 | this:HighlightText(0, 0); |
||
321 | </OnEditFocusLost> |
||
322 | <OnEditFocusGained> |
||
323 | this:HighlightText(); |
||
324 | </OnEditFocusGained> |
||
325 | </Scripts> |
||
326 | <FontString inherits="ChatFontNormal"/> |
||
327 | </EditBox> |
||
328 | </Frames> |
||
329 | </Frame> |
||
330 | |||
331 | <CheckButton name="AuctioneerRadioButtonTemplate" virtual="true"> |
||
332 | <Size> |
||
333 | <AbsDimension x="16" y="16"/> |
||
334 | </Size> |
||
335 | <Layers> |
||
336 | <Layer level="BACKGROUND"> |
||
337 | <FontString name="$parentText" inherits="GameFontNormalSmall"> |
||
338 | <Anchors> |
||
339 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
340 | <Offset> |
||
341 | <AbsDimension x="5" y="0"/> |
||
342 | </Offset> |
||
343 | </Anchor> |
||
344 | </Anchors> |
||
345 | </FontString> |
||
346 | </Layer> |
||
347 | </Layers> |
||
348 | <NormalTexture file="Interface\Buttons\UI-RadioButton"> |
||
349 | <TexCoords left="0" right="0.25" top="0" bottom="1"/> |
||
350 | </NormalTexture> |
||
351 | <HighlightTexture file="Interface\Buttons\UI-RadioButton" alphaMode="ADD"> |
||
352 | <TexCoords left="0.5" right="0.75" top="0" bottom="1"/> |
||
353 | </HighlightTexture> |
||
354 | <CheckedTexture file="Interface\Buttons\UI-RadioButton"> |
||
355 | <TexCoords left="0.25" right="0.5" top="0" bottom="1"/> |
||
356 | </CheckedTexture> |
||
357 | </CheckButton> |
||
358 | |||
359 | </Ui> |