Mercurial > wow > cyborg-mmo7
comparison RatPage.xml @ 4:d186f8cd5000
Renamed functions to avoid conflicts
author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
---|---|
date | Mon, 28 May 2012 15:54:52 +0000 |
parents | bf9220814fb5 |
children | 6cb9a2936580 |
comparison
equal
deleted
inserted
replaced
3:461854a2849c | 4:d186f8cd5000 |
---|---|
19 You should have received a copy of the GNU General Public License | 19 You should have received a copy of the GNU General Public License |
20 along with this program; if not, write to the Free Software | 20 along with this program; if not, write to the Free Software |
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
22 --> | 22 --> |
23 <!-- IconTemplate--> | 23 <!-- IconTemplate--> |
24 <Button name="IconTemplate" virtual="true" inherits="SecureActionButtonTemplate"> | 24 <Button name="CyborgMMO_TemplateIcon" virtual="true" inherits="SecureActionButtonTemplate"> |
25 <Size> | 25 <Size> |
26 <AbsDimension x="32" y="32"/> | 26 <AbsDimension x="32" y="32"/> |
27 </Size> | 27 </Size> |
28 <Layers> | 28 <Layers> |
29 <Layer level="OVERLAY"> | 29 <Layer level="OVERLAY"> |
46 </Layers> | 46 </Layers> |
47 <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/> | 47 <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/> |
48 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/> | 48 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/> |
49 </Button> | 49 </Button> |
50 | 50 |
51 <Button name="SlotTemplate" inherits="IconTemplate" virtual="true"> | 51 <Button name="CyborgMMO_TemplateSlot" inherits="CyborgMMO_TemplateIcon" virtual="true"> |
52 <Scripts> | 52 <Scripts> |
53 <OnLoad> | 53 <OnLoad> |
54 self = SlotView.new(self); | 54 self = CyborgMMO_SlotView.new(self); |
55 </OnLoad> | 55 </OnLoad> |
56 <OnMouseDown> | 56 <OnMouseDown> |
57 if(button == "LeftButton") then | 57 if(button == "LeftButton") then |
58 self.Clicked(); | 58 self.Clicked(); |
59 end | 59 end |
62 </Scripts> | 62 </Scripts> |
63 </Button> | 63 </Button> |
64 | 64 |
65 | 65 |
66 | 66 |
67 <Button name="ModeTemplate" virtual="true"> | 67 <Button name="CyborgMMO_TemplateMode" virtual="true"> |
68 <Size> | 68 <Size> |
69 <AbsDimension x="127" y="63" /> | 69 <AbsDimension x="127" y="63" /> |
70 </Size> | 70 </Size> |
71 | |
72 <ButtonText name="$parentText"> | 71 <ButtonText name="$parentText"> |
73 <FontHeight> | 72 <FontHeight> |
74 <AbsValue val="10" /> | 73 <AbsValue val="10" /> |
75 </FontHeight> | 74 </FontHeight> |
76 </ButtonText> | 75 </ButtonText> |
77 <NormalFont style="GameFontNormal" /> | 76 <NormalFont style="GameFontNormal" /> |
78 <HighlightFont style="GameFontHighlight" /> | 77 <HighlightFont style="GameFontHighlight" /> |
79 <DisabledFont style="GameFontDisable" /> | 78 <DisabledFont style="GameFontDisable" /> |
80 <Scripts> | 79 <Scripts> |
81 <OnLoad> | 80 <OnLoad> |
82 self = ModeView.new(self); | 81 self = CyborgMMO_ModeView.new(self); |
83 </OnLoad> | 82 </OnLoad> |
84 <OnClick> | 83 <OnClick> |
85 self.Clicked(); | 84 self.Clicked(); |
86 </OnClick> | 85 </OnClick> |
87 </Scripts> | 86 </Scripts> |
88 </Button> | 87 </Button> |
89 | 88 |
90 <!-- The Rat Page Frame --> | 89 <!-- The Rat Page Frame --> |
91 <Frame name="RatPageTemplate" virtual="true"> | 90 <Frame name="CyborgMMO_TemplateRatPage" virtual="true"> |
92 <Size> | 91 <Size> |
93 <AbsDimension x="512" y="512"/> | 92 <AbsDimension x="512" y="512"/> |
94 </Size> | 93 </Size> |
95 <Anchors> | 94 <Anchors> |
96 <Anchor point="TOPLEFT"> | 95 <Anchor point="TOPLEFT"> |
99 </Offset> | 98 </Offset> |
100 </Anchor> | 99 </Anchor> |
101 </Anchors> | 100 </Anchors> |
102 <!-- Our Slot Locations --> | 101 <!-- Our Slot Locations --> |
103 <Frames> | 102 <Frames> |
104 <CheckButton name="$parentSlot1" inherits="SlotTemplate" id="1"> | 103 <CheckButton name="$parentSlot1" inherits="CyborgMMO_TemplateSlot" id="1"> |
105 <Anchors> | 104 <Anchors> |
106 <Anchor point="TOPLEFT"> | 105 <Anchor point="TOPLEFT"> |
107 <Offset> | 106 <Offset> |
108 <AbsDimension x="68" y="-116" /> | 107 <AbsDimension x="68" y="-116" /> |
109 </Offset> | 108 </Offset> |
124 </Anchors> | 123 </Anchors> |
125 </Texture> | 124 </Texture> |
126 </Layer> | 125 </Layer> |
127 </Layers> | 126 </Layers> |
128 </CheckButton> | 127 </CheckButton> |
129 <CheckButton name="$parentSlot2" inherits="SlotTemplate" id="2"> | 128 <CheckButton name="$parentSlot2" inherits="CyborgMMO_TemplateSlot" id="2"> |
130 <Anchors> | 129 <Anchors> |
131 <Anchor point="TOPLEFT"> | 130 <Anchor point="TOPLEFT"> |
132 <Offset> | 131 <Offset> |
133 <AbsDimension x="68" y="-153"/> | 132 <AbsDimension x="68" y="-153"/> |
134 </Offset> | 133 </Offset> |
149 </Anchors> | 148 </Anchors> |
150 </Texture> | 149 </Texture> |
151 </Layer> | 150 </Layer> |
152 </Layers> | 151 </Layers> |
153 </CheckButton> | 152 </CheckButton> |
154 <CheckButton name="$parentSlot3" inherits="SlotTemplate" id="3"> | 153 <CheckButton name="$parentSlot3" inherits="CyborgMMO_TemplateSlot" id="3"> |
155 <Anchors> | 154 <Anchors> |
156 <Anchor point="TOPLEFT"> | 155 <Anchor point="TOPLEFT"> |
157 <Offset> | 156 <Offset> |
158 <AbsDimension x="68" y="-189" /> | 157 <AbsDimension x="68" y="-189" /> |
159 </Offset> | 158 </Offset> |
174 </Anchors> | 173 </Anchors> |
175 </Texture> | 174 </Texture> |
176 </Layer> | 175 </Layer> |
177 </Layers> | 176 </Layers> |
178 </CheckButton> | 177 </CheckButton> |
179 <CheckButton name="$parentSlot4" inherits="SlotTemplate" id="4"> | 178 <CheckButton name="$parentSlot4" inherits="CyborgMMO_TemplateSlot" id="4"> |
180 <Anchors> | 179 <Anchors> |
181 <Anchor point="TOPLEFT"> | 180 <Anchor point="TOPLEFT"> |
182 <Offset> | 181 <Offset> |
183 <AbsDimension x="68" y="-238" /> | 182 <AbsDimension x="68" y="-238" /> |
184 </Offset> | 183 </Offset> |
199 </Anchors> | 198 </Anchors> |
200 </Texture> | 199 </Texture> |
201 </Layer> | 200 </Layer> |
202 </Layers> | 201 </Layers> |
203 </CheckButton> | 202 </CheckButton> |
204 <CheckButton name="$parentSlot5" inherits="SlotTemplate" id="5"> | 203 <CheckButton name="$parentSlot5" inherits="CyborgMMO_TemplateSlot" id="5"> |
205 <Anchors> | 204 <Anchors> |
206 <Anchor point="TOPLEFT"> | 205 <Anchor point="TOPLEFT"> |
207 <Offset> | 206 <Offset> |
208 <AbsDimension x="68" y="-273" /> | 207 <AbsDimension x="68" y="-273" /> |
209 </Offset> | 208 </Offset> |
224 </Anchors> | 223 </Anchors> |
225 </Texture> | 224 </Texture> |
226 </Layer> | 225 </Layer> |
227 </Layers> | 226 </Layers> |
228 </CheckButton> | 227 </CheckButton> |
229 <CheckButton name="$parentSlot6" inherits="SlotTemplate" id="6"> | 228 <CheckButton name="$parentSlot6" inherits="CyborgMMO_TemplateSlot" id="6"> |
230 <Anchors> | 229 <Anchors> |
231 <Anchor point="TOPLEFT"> | 230 <Anchor point="TOPLEFT"> |
232 <Offset> | 231 <Offset> |
233 <AbsDimension x="68" y="-308" /> | 232 <AbsDimension x="68" y="-308" /> |
234 </Offset> | 233 </Offset> |
249 </Anchors> | 248 </Anchors> |
250 </Texture> | 249 </Texture> |
251 </Layer> | 250 </Layer> |
252 </Layers> | 251 </Layers> |
253 </CheckButton> | 252 </CheckButton> |
254 <CheckButton name="$parentSlot7" inherits="SlotTemplate" id="7"> | 253 <CheckButton name="$parentSlot7" inherits="CyborgMMO_TemplateSlot" id="7"> |
255 <Anchors> | 254 <Anchors> |
256 <Anchor point="TOPLEFT"> | 255 <Anchor point="TOPLEFT"> |
257 <Offset> | 256 <Offset> |
258 <AbsDimension x="33" y="-273"/> | 257 <AbsDimension x="33" y="-273"/> |
259 </Offset> | 258 </Offset> |
274 </Anchors> | 273 </Anchors> |
275 </Texture> | 274 </Texture> |
276 </Layer> | 275 </Layer> |
277 </Layers> | 276 </Layers> |
278 </CheckButton> | 277 </CheckButton> |
279 <CheckButton name="$parentSlot8" inherits="SlotTemplate" id="8"> | 278 <CheckButton name="$parentSlot8" inherits="CyborgMMO_TemplateSlot" id="8"> |
280 <Anchors> | 279 <Anchors> |
281 <Anchor point="TOPLEFT"> | 280 <Anchor point="TOPLEFT"> |
282 <Offset> | 281 <Offset> |
283 <AbsDimension x="103" y="-273"/> | 282 <AbsDimension x="103" y="-273"/> |
284 </Offset> | 283 </Offset> |
299 </Anchors> | 298 </Anchors> |
300 </Texture> | 299 </Texture> |
301 </Layer> | 300 </Layer> |
302 </Layers> | 301 </Layers> |
303 </CheckButton> | 302 </CheckButton> |
304 <CheckButton name="$parentSlot9" inherits="SlotTemplate" id="9"> | 303 <CheckButton name="$parentSlot9" inherits="CyborgMMO_TemplateSlot" id="9"> |
305 <Anchors> | 304 <Anchors> |
306 <Anchor point="TOPLEFT"> | 305 <Anchor point="TOPLEFT"> |
307 <Offset> | 306 <Offset> |
308 <AbsDimension x="68" y="-356"/> | 307 <AbsDimension x="68" y="-356"/> |
309 </Offset> | 308 </Offset> |
324 </Anchors> | 323 </Anchors> |
325 </Texture> | 324 </Texture> |
326 </Layer> | 325 </Layer> |
327 </Layers> | 326 </Layers> |
328 </CheckButton> | 327 </CheckButton> |
329 <CheckButton name="$parentSlot10" inherits="SlotTemplate" id="10"> | 328 <CheckButton name="$parentSlot10" inherits="CyborgMMO_TemplateSlot" id="10"> |
330 <Anchors> | 329 <Anchors> |
331 <Anchor point="TOPLEFT"> | 330 <Anchor point="TOPLEFT"> |
332 <Offset> | 331 <Offset> |
333 <AbsDimension x="68" y="-393"/> | 332 <AbsDimension x="68" y="-393"/> |
334 </Offset> | 333 </Offset> |
349 </Anchors> | 348 </Anchors> |
350 </Texture> | 349 </Texture> |
351 </Layer> | 350 </Layer> |
352 </Layers> | 351 </Layers> |
353 </CheckButton> | 352 </CheckButton> |
354 <CheckButton name="$parentSlot11" inherits="SlotTemplate" id="11"> | 353 <CheckButton name="$parentSlot11" inherits="CyborgMMO_TemplateSlot" id="11"> |
355 <Anchors> | 354 <Anchors> |
356 <Anchor point="TOPLEFT"> | 355 <Anchor point="TOPLEFT"> |
357 <Offset> | 356 <Offset> |
358 <AbsDimension x="68" y="-429"/> | 357 <AbsDimension x="68" y="-429"/> |
359 </Offset> | 358 </Offset> |
374 </Anchors> | 373 </Anchors> |
375 </Texture> | 374 </Texture> |
376 </Layer> | 375 </Layer> |
377 </Layers> | 376 </Layers> |
378 </CheckButton> | 377 </CheckButton> |
379 <CheckButton name="$parentSlot12" inherits="SlotTemplate" id="12"> | 378 <CheckButton name="$parentSlot12" inherits="CyborgMMO_TemplateSlot" id="12"> |
380 <Anchors> | 379 <Anchors> |
381 <Anchor point="TOPLEFT"> | 380 <Anchor point="TOPLEFT"> |
382 <Offset> | 381 <Offset> |
383 <AbsDimension x="50" y="-68"/> | 382 <AbsDimension x="50" y="-68"/> |
384 </Offset> | 383 </Offset> |
399 </Anchors> | 398 </Anchors> |
400 </Texture> | 399 </Texture> |
401 </Layer> | 400 </Layer> |
402 </Layers> | 401 </Layers> |
403 </CheckButton> | 402 </CheckButton> |
404 <CheckButton name="$parentSlot13" inherits="SlotTemplate" id="13"> | 403 <CheckButton name="$parentSlot13" inherits="CyborgMMO_TemplateSlot" id="13"> |
405 <Anchors> | 404 <Anchors> |
406 <Anchor point="TOPLEFT"> | 405 <Anchor point="TOPLEFT"> |
407 <Offset> | 406 <Offset> |
408 <AbsDimension x="86" y="-68" /> | 407 <AbsDimension x="86" y="-68" /> |
409 </Offset> | 408 </Offset> |
424 </Anchors> | 423 </Anchors> |
425 </Texture> | 424 </Texture> |
426 </Layer> | 425 </Layer> |
427 </Layers> | 426 </Layers> |
428 </CheckButton> | 427 </CheckButton> |
429 <Button name="Mode1" inherits="ModeTemplate" id="1"> | 428 <Button name="Mode1" inherits="CyborgMMO_TemplateMode" id="1"> |
430 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Down.tga" > | 429 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Down.tga" > |
431 </NormalTexture> | 430 </NormalTexture> |
432 <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Selected.tga"> | 431 <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Selected.tga"> |
433 </PushedTexture> | 432 </PushedTexture> |
434 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Over.tga"> | 433 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Over.tga"> |
439 <AbsDimension x="384" y="-33" /> | 438 <AbsDimension x="384" y="-33" /> |
440 </Offset> | 439 </Offset> |
441 </Anchor> | 440 </Anchor> |
442 </Anchors> | 441 </Anchors> |
443 </Button> | 442 </Button> |
444 <Button name="Mode2" inherits="ModeTemplate" id="2"> | 443 <Button name="Mode2" inherits="CyborgMMO_TemplateMode" id="2"> |
445 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Down.tga" > | 444 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Down.tga" > |
446 </NormalTexture> | 445 </NormalTexture> |
447 <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Selected.tga"> | 446 <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Selected.tga"> |
448 </PushedTexture> | 447 </PushedTexture> |
449 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Over.tga"> | 448 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Over.tga"> |
454 <AbsDimension x="384" y="-33" /> | 453 <AbsDimension x="384" y="-33" /> |
455 </Offset> | 454 </Offset> |
456 </Anchor> | 455 </Anchor> |
457 </Anchors> | 456 </Anchors> |
458 </Button> | 457 </Button> |
459 <Button name="Mode3" inherits="ModeTemplate" id="3"> | 458 <Button name="Mode3" inherits="CyborgMMO_TemplateMode" id="3"> |
460 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Down.tga" > | 459 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Down.tga" > |
461 </NormalTexture> | 460 </NormalTexture> |
462 <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Selected.tga"> | 461 <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Selected.tga"> |
463 </PushedTexture> | 462 </PushedTexture> |
464 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Over.tga"> | 463 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Over.tga"> |
472 </Anchors> | 471 </Anchors> |
473 </Button> | 472 </Button> |
474 </Frames> | 473 </Frames> |
475 <Scripts> | 474 <Scripts> |
476 <OnLoad> | 475 <OnLoad> |
477 self = RatPageView.new(self); | 476 self = CyborgMMO_RatPageView.new(self); |
478 </OnLoad> | 477 </OnLoad> |
479 </Scripts> | 478 </Scripts> |
480 </Frame> | 479 </Frame> |
481 </Ui> | 480 </Ui> |