madcatzinc@0
|
1 <Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
madcatzinc@0
|
2 <!--
|
madcatzinc@43
|
3 Warcraft Plugin for Cyborg MMO7
|
madcatzinc@0
|
4 Filename: MainPage.xml
|
madcatzinc@0
|
5 Description: Xml description of the MMO7 UI
|
madcatzinc@0
|
6 Copyright (C) 2012 Mad Catz Inc.
|
madcatzinc@0
|
7 Author: Christopher Hooks
|
madcatzinc@0
|
8
|
madcatzinc@0
|
9 This program is free software; you can redistribute it and/or
|
madcatzinc@0
|
10 modify it under the terms of the GNU General Public License
|
madcatzinc@0
|
11 as published by the Free Software Foundation; either version 2
|
madcatzinc@0
|
12 of the License, or (at your option) any later version.
|
madcatzinc@0
|
13
|
madcatzinc@0
|
14 This program is distributed in the hope that it will be useful,
|
madcatzinc@0
|
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
madcatzinc@0
|
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
madcatzinc@0
|
17 GNU General Public License for more details.
|
madcatzinc@0
|
18
|
madcatzinc@0
|
19 You should have received a copy of the GNU General Public License
|
madcatzinc@0
|
20 along with this program; if not, write to the Free Software
|
madcatzinc@43
|
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
madcatzinc@0
|
22 -->
|
madcatzinc@43
|
23
|
madcatzinc@0
|
24 <!-- UIButtonsTemplate-->
|
madcatzinc@4
|
25 <Button name="CyborgMMO_TemplateCallbackButton" virtual="true" inherits="CyborgMMO_TemplateIcon">
|
madcatzinc@0
|
26 <Scripts>
|
madcatzinc@0
|
27 <OnLoad>
|
madcatzinc@13
|
28 self = CyborgMMO_CallbackIcons.new(self)
|
madcatzinc@0
|
29 </OnLoad>
|
madcatzinc@0
|
30 <OnClick>
|
madcatzinc@13
|
31 self.OnClick()
|
madcatzinc@0
|
32 </OnClick>
|
madcatzinc@0
|
33 <OnDragStart>
|
madcatzinc@13
|
34 self.DragStart()
|
madcatzinc@0
|
35 </OnDragStart>
|
madcatzinc@0
|
36 <OnDragStop>
|
madcatzinc@13
|
37 self.DragStop()
|
madcatzinc@0
|
38 </OnDragStop>
|
madcatzinc@0
|
39 </Scripts>
|
madcatzinc@0
|
40 </Button>
|
madcatzinc@0
|
41
|
madcatzinc@0
|
42 <!-- The Main Form -->
|
madcatzinc@40
|
43 <Frame name="CyborgMMO_MainPage" movable="true" enableMouse="true" clampedtoscreen="true" frameStrata="MEDIUM" hidden="true">
|
madcatzinc@0
|
44 <TitleRegion>
|
madcatzinc@0
|
45 <Size x="512" y="512"/>
|
madcatzinc@0
|
46 <Anchors>
|
madcatzinc@43
|
47 <Anchor point="LEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
madcatzinc@0
|
48 </Anchors>
|
madcatzinc@0
|
49 </TitleRegion>
|
madcatzinc@43
|
50 <Size><AbsDimension x="512" y="512"/></Size>
|
madcatzinc@0
|
51 <Anchors>
|
madcatzinc@43
|
52 <Anchor point="LEFT" relativeTo="UIParent"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
madcatzinc@0
|
53 </Anchors>
|
madcatzinc@0
|
54 <Layers>
|
madcatzinc@0
|
55 <Layer level="BACKGROUND">
|
madcatzinc@43
|
56 <Texture
|
madcatzinc@43
|
57 name="$parentBackgroundTexture"
|
madcatzinc@47
|
58 file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndAllIcons"
|
madcatzinc@43
|
59 >
|
madcatzinc@43
|
60 <Size><AbsDimension x="512" y="512"/></Size>
|
madcatzinc@43
|
61 <Anchors>
|
madcatzinc@43
|
62 <Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
madcatzinc@43
|
63 </Anchors>
|
madcatzinc@43
|
64 </Texture>
|
madcatzinc@0
|
65 </Layer>
|
madcatzinc@0
|
66 <Layer level="ARTWORK">
|
madcatzinc@43
|
67 <Texture
|
madcatzinc@43
|
68 name="$parentRatCalloutsTexture"
|
madcatzinc@47
|
69 file="Interface\AddOns\CyborgMMO7\Graphics\Lines"
|
madcatzinc@43
|
70 >
|
madcatzinc@43
|
71 <Size><AbsDimension x="512" y="512"/></Size>
|
madcatzinc@43
|
72 <Anchors>
|
madcatzinc@43
|
73 <Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
madcatzinc@43
|
74 </Anchors>
|
madcatzinc@43
|
75 </Texture>
|
madcatzinc@0
|
76 </Layer>
|
madcatzinc@0
|
77 </Layers>
|
madcatzinc@0
|
78 <Frames>
|
madcatzinc@4
|
79 <Button name="$parentCharacterPage" inherits="CyborgMMO_TemplateCallbackButton" resize="false">
|
madcatzinc@0
|
80 <Anchors>
|
madcatzinc@43
|
81 <Anchor point="TOPLEFT"><Offset><AbsDimension x="379" y="-411"/></Offset></Anchor>
|
madcatzinc@0
|
82 </Anchors>
|
madcatzinc@0
|
83 </Button>
|
madcatzinc@4
|
84 <Button name="$parentInventory" inherits="CyborgMMO_TemplateCallbackButton">
|
madcatzinc@0
|
85 <Anchors>
|
madcatzinc@43
|
86 <Anchor point="TOPLEFT"><Offset><AbsDimension x="379" y="-446"/></Offset></Anchor>
|
madcatzinc@0
|
87 </Anchors>
|
madcatzinc@0
|
88 </Button>
|
madcatzinc@4
|
89 <Button name="$parentSpellbook" inherits="CyborgMMO_TemplateCallbackButton">
|
madcatzinc@0
|
90 <Anchors>
|
madcatzinc@43
|
91 <Anchor point="TOPLEFT"><Offset><AbsDimension x="414" y="-411"/></Offset></Anchor>
|
madcatzinc@0
|
92 </Anchors>
|
madcatzinc@0
|
93 </Button>
|
madcatzinc@4
|
94 <Button name="$parentMacros" inherits="CyborgMMO_TemplateCallbackButton">
|
madcatzinc@0
|
95 <Anchors>
|
madcatzinc@43
|
96 <Anchor point="TOPLEFT"><Offset><AbsDimension x="449" y="-446"/></Offset></Anchor>
|
madcatzinc@0
|
97 </Anchors>
|
madcatzinc@0
|
98 </Button>
|
madcatzinc@4
|
99 <Button name="$parentAchievement" inherits="CyborgMMO_TemplateCallbackButton">
|
madcatzinc@0
|
100 <Anchors>
|
madcatzinc@43
|
101 <Anchor point="TOPLEFT"><Offset><AbsDimension x="449" y="-411"/></Offset></Anchor>
|
madcatzinc@0
|
102 </Anchors>
|
madcatzinc@0
|
103 </Button>
|
madcatzinc@4
|
104 <Button name="$parentQuestLog" inherits="CyborgMMO_TemplateCallbackButton">
|
madcatzinc@0
|
105 <Anchors>
|
madcatzinc@43
|
106 <Anchor point="TOPLEFT"><Offset><AbsDimension x="344" y="-446"/></Offset></Anchor>
|
madcatzinc@0
|
107 </Anchors>
|
madcatzinc@0
|
108 </Button>
|
madcatzinc@4
|
109 <Button name="$parentMap" inherits="CyborgMMO_TemplateCallbackButton">
|
madcatzinc@0
|
110 <Anchors>
|
madcatzinc@43
|
111 <Anchor point="TOPLEFT"><Offset><AbsDimension x="414" y="-446"/></Offset></Anchor>
|
madcatzinc@0
|
112 </Anchors>
|
madcatzinc@0
|
113 </Button>
|
madcatzinc@0
|
114 <Button name="$parentCloseButton">
|
madcatzinc@43
|
115 <Size><AbsDimension x="23" y="24"/></Size>
|
madcatzinc@0
|
116 <Anchors>
|
madcatzinc@43
|
117 <Anchor point="TOPLEFT"><Offset><AbsDimension x="474" y="-8"/></Offset></Anchor>
|
madcatzinc@0
|
118 </Anchors>
|
madcatzinc@0
|
119 <Scripts>
|
madcatzinc@4
|
120 <OnClick>CyborgMMO_Close()</OnClick>
|
madcatzinc@0
|
121 </Scripts>
|
madcatzinc@47
|
122 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButton"/>
|
madcatzinc@47
|
123 <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonDown"/>
|
madcatzinc@47
|
124 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonOver" alpha=".5"/>
|
madcatzinc@0
|
125 </Button>
|
madcatzinc@4
|
126 <Frame name="$parentSlotList" inherits="CyborgMMO_TemplateRatPage">
|
madcatzinc@0
|
127 <Anchors>
|
madcatzinc@43
|
128 <Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
madcatzinc@0
|
129 </Anchors>
|
madcatzinc@0
|
130 </Frame>
|
madcatzinc@0
|
131 </Frames>
|
madcatzinc@0
|
132 <Scripts>
|
madcatzinc@13
|
133 <OnLoad>CyborgMMO_Loaded()</OnLoad>
|
madcatzinc@41
|
134 <OnEvent>CyborgMMO_Event(event, ...)</OnEvent>
|
madcatzinc@0
|
135 </Scripts>
|
madcatzinc@0
|
136 </Frame>
|
madcatzinc@0
|
137 </Ui>
|