comparison MainPage.xml @ 0:bf9220814fb5

The first version of the Cyborg MMO7 addon for warcraft
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Tue, 24 Jan 2012 17:14:21 +0000
parents
children d186f8cd5000
comparison
equal deleted inserted replaced
-1:000000000000 0:bf9220814fb5
1 <Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2 <!--
3 Warcraft Plugin for Cyborg MMO7
4 Filename: MainPage.xml
5 Description: Xml description of the MMO7 UI
6 Copyright (C) 2012 Mad Catz Inc.
7 Author: Christopher Hooks
8
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; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 -->
23
24 <!-- UIButtonsTemplate-->
25 <Button name="WowCallbackButtonsTemplate" virtual="true" inherits="IconTemplate">
26 <Scripts>
27 <OnLoad>
28 self = CallbackIcons.new(self);
29 </OnLoad>
30 <OnClick>
31 self.OnClick();
32 </OnClick>
33 <OnDragStart>
34 self.DragStart();
35 </OnDragStart>
36 <OnDragStop>
37 self.DragStop();
38 </OnDragStop>
39 </Scripts>
40 </Button>
41
42 <!-- The Main Form -->
43 <Frame name="MainPage" movable="true" enableMouse="true" clampedtoscreen="true" frameStrata="MEDIUM">
44 <TitleRegion>
45 <Size x="512" y="512"/>
46 <Anchors>
47 <Anchor point="LEFT">
48 <Offset>
49 <AbsDimension x="0"
50 y="0" />
51 </Offset>
52 </Anchor>
53 </Anchors>
54 </TitleRegion>
55 <Size>
56 <AbsDimension x="512" y="512" />
57 </Size>
58 <Anchors>
59 <Anchor point="LEFT" relativeTo="UIParent">
60 <Offset>
61 <AbsDimension x="0" y="0" />
62 </Offset>
63 </Anchor>
64 </Anchors>
65 <Layers>
66 <Layer level="BACKGROUND">
67 <Texture name="BackgroundTexture"
68 file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndAllIcons.tga" >
69 <Size>
70 <AbsDimension x="512"
71 y="512" />
72 </Size>
73 <Anchors>
74 <Anchor point="TOPLEFT">
75 <Offset>
76 <AbsDimension x="0"
77 y="0" />
78 </Offset>
79 </Anchor>
80 </Anchors>
81 </Texture>
82 </Layer>
83 <Layer level="ARTWORK">
84 <Texture name="RatCalloutsTexture"
85 file="Interface\AddOns\CyborgMMO7\Graphics\Lines.tga" >
86
87 <Size>
88 <AbsDimension x="512"
89 y="512" />
90 </Size>
91 <Anchors>
92 <Anchor point="TOPLEFT">
93 <Offset>
94 <AbsDimension x="0"
95 y="0" />
96 </Offset>
97 </Anchor>
98 </Anchors>
99 </Texture>
100 </Layer>
101 </Layers>
102 <Frames>
103 <Button name="CharacterPage" inherits="WowCallbackButtonsTemplate" resize="false">
104 <Anchors>
105 <Anchor point="TOPLEFT">
106 <Offset>
107 <AbsDimension x="379" y="-411" />
108 </Offset>
109 </Anchor>
110 </Anchors>
111 </Button>
112 <Button name="Inventory" inherits="WowCallbackButtonsTemplate">
113 <Anchors>
114 <Anchor point="TOPLEFT">
115 <Offset>
116 <AbsDimension x="379" y="-446" />
117 </Offset>
118 </Anchor>
119 </Anchors>
120 </Button>
121 <Button name="Spellbook" inherits="WowCallbackButtonsTemplate">
122 <Anchors>
123 <Anchor point="TOPLEFT">
124 <Offset>
125 <AbsDimension x="414" y="-411" />
126 </Offset>
127 </Anchor>
128 </Anchors>
129 </Button>
130 <Button name="Macros" inherits="WowCallbackButtonsTemplate">
131 <Anchors>
132 <Anchor point="TOPLEFT">
133 <Offset>
134 <AbsDimension x="449" y="-446" />
135 </Offset>
136 </Anchor>
137 </Anchors>
138 </Button>
139 <Button name="Achievement" inherits="WowCallbackButtonsTemplate">
140 <Anchors>
141 <Anchor point="TOPLEFT">
142 <Offset>
143 <AbsDimension x="449" y="-411" />
144 </Offset>
145 </Anchor>
146 </Anchors>
147 </Button>
148 <Button name="QuestLog" inherits="WowCallbackButtonsTemplate">
149 <Anchors>
150 <Anchor point="TOPLEFT">
151 <Offset>
152 <AbsDimension x="344" y="-446" />
153 </Offset>
154 </Anchor>
155 </Anchors>
156 </Button>
157 <Button name="Map" inherits="WowCallbackButtonsTemplate">
158 <Anchors>
159 <Anchor point="TOPLEFT">
160 <Offset>
161 <AbsDimension x="414" y="-446" />
162 </Offset>
163 </Anchor>
164 </Anchors>
165 </Button>
166 <Button name="$parentCloseButton">
167 <Size>
168 <AbsDimension x="23" y="24" />
169 </Size>
170 <Anchors>
171 <Anchor point="TOPLEFT">
172 <Offset>
173 <AbsDimension x="474" y="-8" />
174 </Offset>
175 </Anchor>
176 </Anchors>
177 <Scripts>
178 <OnClick>Close()</OnClick>
179 </Scripts>
180 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButton.tga"/>
181 <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonDown.tga"/>
182 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonOver.tga" alpha=".5"/>
183 </Button>
184 <Frame name="defaultPage" inherits="RatPageTemplate">
185 <Anchors>
186 <Anchor point="TOPLEFT">
187 <Offset>
188 <AbsDimension x="0" y="0"/>
189 </Offset>
190 </Anchor>
191 </Anchors>
192 </Frame>
193 </Frames>
194 <Scripts>
195 <OnLoad>Loaded();</OnLoad>
196 <OnEvent>Event(this, event,...);</OnEvent>
197 </Scripts>
198 </Frame>
199 </Ui>