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 | Version: 3.9.0.1000 (Kangaroo) |
||
6 | Revision: $Id: Auctioneer.xml 965 2006-08-18 03:55:17Z mentalpower $ |
||
7 | |||
8 | License: |
||
9 | This program is free software; you can redistribute it and/or |
||
10 | modify it under the terms of the GNU General Public License |
||
11 | as published by the Free Software Foundation; either version 2 |
||
12 | of the License, or (at your option) any later version. |
||
13 | |||
14 | This program is distributed in the hope that it will be useful, |
||
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
17 | GNU General Public License for more details. |
||
18 | |||
19 | You should have received a copy of the GNU General Public License |
||
20 | along with this program(see GPL.txt); if not, write to the Free Software |
||
21 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
||
22 | --> |
||
23 | <Frame name="AuctioneerFrame" parent="UIParent" hidden="true"> |
||
24 | <Scripts> |
||
25 | <OnLoad> |
||
26 | Auctioneer.OnLoad(); |
||
27 | AuctioneerUI_OnLoad(); |
||
28 | this:RegisterEvent("ADDON_LOADED") |
||
29 | </OnLoad> |
||
30 | <OnEvent> |
||
31 | if (event == "ADDON_LOADED" and string.lower(arg1) == "auctioneer") then |
||
32 | Auctioneer.Core.AddonLoaded() |
||
33 | this:UnregisterEvent("ADDON_LOADED") |
||
34 | end |
||
35 | </OnEvent> |
||
36 | </Scripts> |
||
37 | <Frames> |
||
38 | <Button name="BrowseScanButton" inherits="UIPanelButtonTemplate" hidden="true"> |
||
39 | <Size> |
||
40 | <AbsDimension x="80" y="22"/> |
||
41 | </Size> |
||
42 | <Scripts> |
||
43 | <OnClick> |
||
44 | Auctioneer.Scanning.RequestAuctionScan(); |
||
45 | </OnClick> |
||
46 | <OnUpdate> |
||
47 | if (Auctioneer.Scanning.CanScan()) then |
||
48 | this:Enable(); |
||
49 | else |
||
50 | this:Disable(); |
||
51 | end |
||
52 | </OnUpdate> |
||
53 | </Scripts> |
||
54 | </Button> |
||
55 | </Frames> |
||
56 | </Frame> |
||
57 | |||
58 | <!-- |
||
59 | BidManagerFrame is broken out separately in order to control OnUpdate |
||
60 | events. The frame is show when it wants to receive them and hidden when |
||
61 | it doesn't. |
||
62 | --> |
||
63 | <Frame name="AucBidManagerFrame" hidden="true"> |
||
64 | <Scripts> |
||
65 | <OnLoad> |
||
66 | AucBidManagerFrame_OnLoad(); |
||
67 | </OnLoad> |
||
68 | <OnEvent> |
||
69 | AucBidManagerFrame_OnEvent(event); |
||
70 | </OnEvent> |
||
71 | <OnUpdate> |
||
72 | AucBidManagerFrame_OnUpdate(); |
||
73 | </OnUpdate> |
||
74 | </Scripts> |
||
75 | </Frame> |
||
76 | |||
77 | <Frame name="AucPostManagerFrame" hidden="true"> |
||
78 | <Scripts> |
||
79 | <OnLoad> |
||
80 | AucPostManagerFrame_OnLoad(); |
||
81 | </OnLoad> |
||
82 | <OnEvent> |
||
83 | AucPostManagerFrame_OnEvent(event); |
||
84 | </OnEvent> |
||
85 | </Scripts> |
||
86 | </Frame> |
||
87 | |||
88 | |||
89 | <Frame name="AuctionInfo" hidden="true"> |
||
90 | <Size> |
||
91 | <AbsDimension x="160" y="80"/> |
||
92 | </Size> |
||
93 | <Layers> |
||
94 | <Layer level="INFO"> |
||
95 | <FontString name="$parentText1" inherits="GameFontNormalSmall" hidden="true"> |
||
96 | <Anchors> |
||
97 | <Anchor point="TOPLEFT"> |
||
98 | <Offset> |
||
99 | <AbsDimension x="0" y="0"/> |
||
100 | </Offset> |
||
101 | </Anchor> |
||
102 | </Anchors> |
||
103 | </FontString> |
||
104 | <FontString name="$parentText2" inherits="GameFontNormalSmall" hidden="true"> |
||
105 | <Anchors> |
||
106 | <Anchor point="TOPLEFT" relativeTo="$parentText1" relativePoint="BOTTOMLEFT"> |
||
107 | <Offset> |
||
108 | <AbsDimension x="0" y="-1"/> |
||
109 | </Offset> |
||
110 | </Anchor> |
||
111 | </Anchors> |
||
112 | </FontString> |
||
113 | <FontString name="$parentText3" inherits="GameFontNormalSmall" hidden="true"> |
||
114 | <Anchors> |
||
115 | <Anchor point="TOPLEFT" relativeTo="$parentText2" relativePoint="BOTTOMLEFT"> |
||
116 | <Offset> |
||
117 | <AbsDimension x="0" y="-1"/> |
||
118 | </Offset> |
||
119 | </Anchor> |
||
120 | </Anchors> |
||
121 | </FontString> |
||
122 | <FontString name="$parentText4" inherits="GameFontNormalSmall" hidden="true"> |
||
123 | <Anchors> |
||
124 | <Anchor point="TOPLEFT" relativeTo="$parentText3" relativePoint="BOTTOMLEFT"> |
||
125 | <Offset> |
||
126 | <AbsDimension x="0" y="-1"/> |
||
127 | </Offset> |
||
128 | </Anchor> |
||
129 | </Anchors> |
||
130 | </FontString> |
||
131 | <FontString name="$parentText5" inherits="GameFontNormalSmall" hidden="true"> |
||
132 | <Anchors> |
||
133 | <Anchor point="TOPLEFT" relativeTo="$parentText4" relativePoint="BOTTOMLEFT"> |
||
134 | <Offset> |
||
135 | <AbsDimension x="0" y="-1"/> |
||
136 | </Offset> |
||
137 | </Anchor> |
||
138 | </Anchors> |
||
139 | </FontString> |
||
140 | <FontString name="$parentWarnText" inherits="GameFontNormal" hidden="true"> |
||
141 | <Anchors> |
||
142 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
143 | <Offset> |
||
144 | <AbsDimension x="5" y="-76"/> |
||
145 | </Offset> |
||
146 | </Anchor> |
||
147 | </Anchors> |
||
148 | </FontString> |
||
149 | </Layer> |
||
150 | </Layers> |
||
151 | <Frames> |
||
152 | <Frame name="$parentMoney1" inherits="TinyMoneyFrameTemplate" hidden="true" toplevel="true"> |
||
153 | <Anchors> |
||
154 | <Anchor point="LEFT" relativeTo="$parentText1" relativePoint="RIGHT"/> |
||
155 | </Anchors> |
||
156 | <Scripts> |
||
157 | <OnLoad> |
||
158 | SmallMoneyFrame_OnLoad(); |
||
159 | MoneyFrame_SetType("STATIC"); |
||
160 | </OnLoad> |
||
161 | </Scripts> |
||
162 | </Frame> |
||
163 | <Frame name="$parentMoney2" inherits="TinyMoneyFrameTemplate" hidden="true" toplevel="true"> |
||
164 | <Anchors> |
||
165 | <Anchor point="LEFT" relativeTo="$parentText2" relativePoint="RIGHT"/> |
||
166 | </Anchors> |
||
167 | <Scripts> |
||
168 | <OnLoad> |
||
169 | SmallMoneyFrame_OnLoad(); |
||
170 | MoneyFrame_SetType("STATIC"); |
||
171 | </OnLoad> |
||
172 | </Scripts> |
||
173 | </Frame> |
||
174 | <Frame name="$parentMoney3" inherits="TinyMoneyFrameTemplate" hidden="true" toplevel="true"> |
||
175 | <Anchors> |
||
176 | <Anchor point="LEFT" relativeTo="$parentText3" relativePoint="RIGHT"/> |
||
177 | </Anchors> |
||
178 | <Scripts> |
||
179 | <OnLoad> |
||
180 | SmallMoneyFrame_OnLoad(); |
||
181 | MoneyFrame_SetType("STATIC"); |
||
182 | </OnLoad> |
||
183 | </Scripts> |
||
184 | </Frame> |
||
185 | <Frame name="$parentMoney4" inherits="TinyMoneyFrameTemplate" hidden="true" toplevel="true"> |
||
186 | <Anchors> |
||
187 | <Anchor point="LEFT" relativeTo="$parentText4" relativePoint="RIGHT"/> |
||
188 | </Anchors> |
||
189 | <Scripts> |
||
190 | <OnLoad> |
||
191 | SmallMoneyFrame_OnLoad(); |
||
192 | MoneyFrame_SetType("STATIC"); |
||
193 | </OnLoad> |
||
194 | </Scripts> |
||
195 | </Frame> |
||
196 | <Frame name="$parentMoney5" inherits="TinyMoneyFrameTemplate" hidden="true" toplevel="true"> |
||
197 | <Anchors> |
||
198 | <Anchor point="LEFT" relativeTo="$parentText5" relativePoint="RIGHT"/> |
||
199 | </Anchors> |
||
200 | <Scripts> |
||
201 | <OnLoad> |
||
202 | SmallMoneyFrame_OnLoad(); |
||
203 | MoneyFrame_SetType("STATIC"); |
||
204 | </OnLoad> |
||
205 | </Scripts> |
||
206 | </Frame> |
||
207 | </Frames> |
||
208 | </Frame> |
||
209 | <Frame name="AuctPriceRemember" hidden="true"> |
||
210 | <Size> |
||
211 | <AbsDimension x="160" y="80"/> |
||
212 | </Size> |
||
213 | <Layers> |
||
214 | <Layer level="INFO"> |
||
215 | <FontString name="$parentText" inherits="GameFontNormalSmall"> |
||
216 | <Anchors> |
||
217 | <Anchor point="TOPLEFT"> |
||
218 | <Offset> |
||
219 | <AbsDimension x="18" y="0"/> |
||
220 | </Offset> |
||
221 | </Anchor> |
||
222 | </Anchors> |
||
223 | </FontString> |
||
224 | </Layer> |
||
225 | </Layers> |
||
226 | </Frame> |
||
227 | <CheckButton name="AuctPriceRememberCheck" hidden="true"> |
||
228 | <Size> |
||
229 | <AbsDimension x="20" y="20"/> |
||
230 | </Size> |
||
231 | <Anchors> |
||
232 | <Anchor point="TOPLEFT" relativeTo="AuctPriceRemember" relativePoint="TOPLEFT"> |
||
233 | <Offset> |
||
234 | <AbsDimension x="0" y="0"/> |
||
235 | </Offset> |
||
236 | </Anchor> |
||
237 | </Anchors> |
||
238 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> |
||
239 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> |
||
240 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> |
||
241 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> |
||
242 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/> |
||
243 | <Scripts> |
||
244 | <OnClick> |
||
245 | Auctioneer.Scanner.RememberPrice() |
||
246 | </OnClick> |
||
247 | </Scripts> |
||
248 | </CheckButton> |
||
249 | <CheckButton name="AuctFilterTemplate" hidden="true" virtual="true"> |
||
250 | <Size> |
||
251 | <AbsDimension x="16" y="16"/> |
||
252 | </Size> |
||
253 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> |
||
254 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> |
||
255 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> |
||
256 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> |
||
257 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/> |
||
258 | <Scripts> |
||
259 | <OnClick> |
||
260 | if (this.filterVal) then |
||
261 | if (this:GetChecked()) then |
||
262 | Auctioneer.Command.SetFilter(this.filterVal, "on"); |
||
263 | else |
||
264 | Auctioneer.Command.SetFilter(this.filterVal, "off"); |
||
265 | end |
||
266 | end |
||
267 | </OnClick> |
||
268 | </Scripts> |
||
269 | </CheckButton> |
||
270 | <CheckButton name="AuctionFilterButton1Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
271 | <CheckButton name="AuctionFilterButton2Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
272 | <CheckButton name="AuctionFilterButton3Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
273 | <CheckButton name="AuctionFilterButton4Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
274 | <CheckButton name="AuctionFilterButton5Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
275 | <CheckButton name="AuctionFilterButton6Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
276 | <CheckButton name="AuctionFilterButton7Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
277 | <CheckButton name="AuctionFilterButton8Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
278 | <CheckButton name="AuctionFilterButton9Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
279 | <CheckButton name="AuctionFilterButton10Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
280 | <CheckButton name="AuctionFilterButton11Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
281 | <CheckButton name="AuctionFilterButton12Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
282 | <CheckButton name="AuctionFilterButton13Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
283 | <CheckButton name="AuctionFilterButton14Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
284 | <CheckButton name="AuctionFilterButton15Checkbox" inherits="AuctFilterTemplate" hidden="true"/> |
||
285 | </Ui> |
||
286 |