vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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 Enchantrix v3.6.1 (Platypus)
6 $Id: EnchantrixBarker.xml 910 2006-06-21 15:48:51Z 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 GLP.txt); if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 -->
23 <Button name="Enchantrix_BarkerButton" inherits="UIPanelButtonTemplate" hidden="true" text="Trade Barker">
24 <Size>
25 <AbsDimension x="105" y="22"/>
26 </Size>
27 <Scripts>
28 <OnClick>
29 Enchantrix_BarkerOnClick();
30 </OnClick>
31 </Scripts>
32 </Button>
33  
34 <Button name="Enchantrix_BarkerOptionsButton" inherits="UIPanelButtonTemplate" hidden="true" text="Barker Options">
35 <Size>
36 <AbsDimension x="105" y="22"/>
37 </Size>
38 <Scripts>
39 <OnClick>
40 Enchantrix_BarkerOptions_OnClick();
41 </OnClick>
42 </Scripts>
43 </Button>
44  
45  
46  
47 <Slider name="EnchantrixBarker_OptionsSliderTemplate" inherits="OptionsSliderTemplate" virtual="true" minValue="0" maxValue="100" defaultValue="50" valueStep="2">
48 <Size>
49 <AbsDimension x="290" y="17"/>
50 </Size>
51 <Scripts>
52 <OnValueChanged> <!-- we need to update the text on value change -->
53 EnchantrixBarker_OptionsSlider_OnValueChanged();
54 </OnValueChanged>
55 </Scripts>
56 </Slider>
57  
58 <Button name="Enchantrix_BarkerOptions_FrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
59 <Scripts>
60 <OnClick>
61 PanelTemplates_Tab_OnClick(Enchantrix_BarkerOptions_Frame);
62 Enchantrix_BarkerOptions_Tab_OnClick();
63 </OnClick>
64 </Scripts>
65 </Button>
66  
67  
68 <Frame name="Enchantrix_BarkerOptions_Frame"
69 toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true" >
70  
71 <Size>
72 <AbsDimension x="384" y="512"/>
73 </Size>
74  
75 <Anchors>
76 <Anchor point="TOPLEFT">
77 <Offset>
78 <AbsDimension x="0" y="0"/>
79 </Offset>
80 </Anchor>
81 </Anchors>
82  
83 <HitRectInsets>
84 <AbsInset left="0" right="30" top="0" bottom="45"/>
85 </HitRectInsets>
86  
87 <Layers>
88 <Layer level="BACKGROUND">
89 <Texture file="Interface\FriendsFrame\FriendsFrameScrollIcon">
90 <Size>
91 <AbsDimension x="60" y="60"/>
92 </Size>
93 <Anchors>
94 <Anchor point="TOPLEFT">
95 <Offset>
96 <AbsDimension x="7" y="-6"/>
97 </Offset>
98 </Anchor>
99 </Anchors>
100 </Texture>
101 </Layer>
102  
103 <Layer level="ARTWORK">
104 <Texture name="Enchantrix_BarkerOptionsFrameTopLeft" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
105 <Size>
106 <AbsDimension x="256" y="256"/>
107 </Size>
108 <Anchors>
109 <Anchor point="TOPLEFT">
110 <Offset>
111 <AbsDimension x="0" y="0"/>
112 </Offset>
113 </Anchor>
114 </Anchors>
115 </Texture>
116  
117 <Texture name="Enchantrix_BarkerOptionsFrameTopRight" file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
118 <Size>
119 <AbsDimension x="128" y="256"/>
120 </Size>
121 <Anchors>
122 <Anchor point="TOPRIGHT">
123 <Offset>
124 <AbsDimension x="0" y="0"/>
125 </Offset>
126 </Anchor>
127 </Anchors>
128 </Texture>
129  
130 <Texture name="Enchantrix_BarkerOptionsFrameBottomLeft" file="Interface\PaperDollInfoFrame\UI-Character-General-BottomLeft">
131 <Size>
132 <AbsDimension x="256" y="256"/>
133 </Size>
134 <Anchors>
135 <Anchor point="BOTTOMLEFT">
136 <Offset>
137 <AbsDimension x="0" y="0"/>
138 </Offset>
139 </Anchor>
140 </Anchors>
141 </Texture>
142  
143 <Texture name="Enchantrix_BarkerOptionsFrameBottomRight" file="Interface\PaperDollInfoFrame\UI-Character-General-BottomRight">
144 <Size>
145 <AbsDimension x="128" y="256"/>
146 </Size>
147 <Anchors>
148 <Anchor point="BOTTOMRIGHT">
149 <Offset>
150 <AbsDimension x="0" y="0"/>
151 </Offset>
152 </Anchor>
153 </Anchors>
154 </Texture>
155 </Layer>
156 <Layer level="OVERLAY">
157 <FontString name="Enchantrix_BarkerOptionsFrameTitleText" inherits="GameFontNormal">
158 <Anchors>
159 <Anchor point="TOP">
160 <Offset>
161 <AbsDimension x="0" y="-18"/>
162 </Offset>
163 </Anchor>
164 </Anchors>
165 </FontString>
166 </Layer>
167 </Layers>
168  
169 <Frames>
170 <Button name="Enchantrix_BarkerOptionsTest_Button" inherits="UIPanelButtonTemplate" text="Test Barker">
171 <Size>
172 <AbsDimension x="80" y="22"/>
173 </Size>
174 <Anchors>
175 <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
176 <Offset>
177 <AbsDimension x="-150" y="-50"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 <Scripts>
182 <OnClick>
183 Enchantrix_BarkerOptions_TestButton_OnClick();
184 </OnClick>
185 </Scripts>
186 </Button>
187  
188 <Button name="Enchantrix_BarkerOptions_FrameTab1" inherits="Enchantrix_BarkerOptions_FrameTabTemplate" id="1" text="Profit and Price">
189 <Anchors>
190 <Anchor point="BOTTOMLEFT">
191 <Offset>
192 <AbsDimension x="11" y="45"/>
193 </Offset>
194 </Anchor>
195 </Anchors>
196 </Button>
197 <Button name="Enchantrix_BarkerOptions_FrameTab2" inherits="Enchantrix_BarkerOptions_FrameTabTemplate" id="2" text="Item Priorities">
198 <Anchors>
199 <Anchor point="LEFT" relativeTo="Enchantrix_BarkerOptions_FrameTab1" relativePoint="RIGHT">
200 <Offset>
201 <AbsDimension x="-14" y="0"/>
202 </Offset>
203 </Anchor>
204 </Anchors>
205 </Button>
206 <Button name="Enchantrix_BarkerOptions_FrameTab3" inherits="Enchantrix_BarkerOptions_FrameTabTemplate" id="3" text="Stats 1">
207 <Anchors>
208 <Anchor point="LEFT" relativeTo="Enchantrix_BarkerOptions_FrameTab2" relativePoint="RIGHT">
209 <Offset>
210 <AbsDimension x="-14" y="0"/>
211 </Offset>
212 </Anchor>
213 </Anchors>
214 </Button>
215 <Button name="Enchantrix_BarkerOptions_FrameTab4" inherits="Enchantrix_BarkerOptions_FrameTabTemplate" id="4" text="Stats 2">
216 <Anchors>
217 <Anchor point="LEFT" relativeTo="Enchantrix_BarkerOptions_FrameTab3" relativePoint="RIGHT">
218 <Offset>
219 <AbsDimension x="-14" y="0"/>
220 </Offset>
221 </Anchor>
222 </Anchors>
223 </Button>
224  
225 <Button name="Enchantrix_BarkerOptions_CloseButton" inherits="UIPanelCloseButton">
226 <Anchors>
227 <Anchor point="CENTER" relativeTo="$parent" relativePoint="TOPRIGHT">
228 <Offset>
229 <AbsDimension x="-46" y="-24"/>
230 </Offset>
231 </Anchor>
232 </Anchors>
233 </Button>
234 <Slider name="EnchantrixBarker_OptionsSlider_1" id="1" inherits="EnchantrixBarker_OptionsSliderTemplate">
235 <Anchors>
236 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
237 <Offset>
238 <AbsDimension x="30" y="-95"/>
239 </Offset>
240 </Anchor>
241 </Anchors>
242 </Slider>
243 <Slider name="EnchantrixBarker_OptionsSlider_2" id="2" inherits="EnchantrixBarker_OptionsSliderTemplate">
244 <Anchors>
245 <Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_1" relativePoint="BOTTOMLEFT">
246 <Offset>
247 <AbsDimension x="0" y="-15"/>
248 </Offset>
249 </Anchor>
250 </Anchors>
251 </Slider>
252 <Slider name="EnchantrixBarker_OptionsSlider_3" id="3" inherits="EnchantrixBarker_OptionsSliderTemplate">
253 <Anchors>
254 <Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_2" relativePoint="BOTTOMLEFT">
255 <Offset>
256 <AbsDimension x="0" y="-15"/>
257 </Offset>
258 </Anchor>
259 </Anchors>
260 </Slider>
261 <Slider name="EnchantrixBarker_OptionsSlider_4" id="4" inherits="EnchantrixBarker_OptionsSliderTemplate">
262 <Anchors>
263 <Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_3" relativePoint="BOTTOMLEFT">
264 <Offset>
265 <AbsDimension x="0" y="-15"/>
266 </Offset>
267 </Anchor>
268 </Anchors>
269 </Slider>
270 <Slider name="EnchantrixBarker_OptionsSlider_5" id="5" inherits="EnchantrixBarker_OptionsSliderTemplate">
271 <Anchors>
272 <Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_4" relativePoint="BOTTOMLEFT">
273 <Offset>
274 <AbsDimension x="0" y="-15"/>
275 </Offset>
276 </Anchor>
277 </Anchors>
278 </Slider>
279 <Slider name="EnchantrixBarker_OptionsSlider_6" id="6" inherits="EnchantrixBarker_OptionsSliderTemplate">
280 <Anchors>
281 <Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_5" relativePoint="BOTTOMLEFT">
282 <Offset>
283 <AbsDimension x="0" y="-15"/>
284 </Offset>
285 </Anchor>
286 </Anchors>
287 </Slider>
288 <Slider name="EnchantrixBarker_OptionsSlider_7" id="7" inherits="EnchantrixBarker_OptionsSliderTemplate">
289 <Anchors>
290 <Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_6" relativePoint="BOTTOMLEFT">
291 <Offset>
292 <AbsDimension x="0" y="-15"/>
293 </Offset>
294 </Anchor>
295 </Anchors>
296 </Slider>
297 <Slider name="EnchantrixBarker_OptionsSlider_8" id="8" inherits="EnchantrixBarker_OptionsSliderTemplate">
298 <Anchors>
299 <Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_7" relativePoint="BOTTOMLEFT">
300 <Offset>
301 <AbsDimension x="0" y="-15"/>
302 </Offset>
303 </Anchor>
304 </Anchors>
305 </Slider>
306 <Slider name="EnchantrixBarker_OptionsSlider_9" id="9" inherits="EnchantrixBarker_OptionsSliderTemplate">
307 <Anchors>
308 <Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_8" relativePoint="BOTTOMLEFT">
309 <Offset>
310 <AbsDimension x="0" y="-15"/>
311 </Offset>
312 </Anchor>
313 </Anchors>
314 </Slider>
315 <Slider name="EnchantrixBarker_OptionsSlider_10" id="10" inherits="EnchantrixBarker_OptionsSliderTemplate">
316 <Anchors>
317 <Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_9" relativePoint="BOTTOMLEFT">
318 <Offset>
319 <AbsDimension x="0" y="-15"/>
320 </Offset>
321 </Anchor>
322 </Anchors>
323 </Slider>
324  
325 </Frames>
326 <Scripts>
327 <OnShow>
328 Enchantrix_BarkerOptions_OnShow();
329 PanelTemplates_SetNumTabs(Enchantrix_BarkerOptions_Frame, 4);
330 Enchantrix_BarkerOptions_Frame.selectedTab=1;
331 PanelTemplates_UpdateTabs(Enchantrix_BarkerOptions_Frame);
332 </OnShow>
333 </Scripts>
334 </Frame>
335  
336 <Frame name="EnchantrixBarker" parent="UIParent" hidden="true">
337 <Scripts>
338 <OnLoad>
339 EnchantrixBarker_OnLoad();
340 this:RegisterEvent("CRAFT_SHOW")
341 this:RegisterEvent("CRAFT_CLOSE")
342 </OnLoad>
343 <OnEvent>
344 EnchantrixBarker_OnEvent();
345 </OnEvent>
346 </Scripts>
347 </Frame>
348 </Ui>
349