comparison RatQuickPage.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: RatQuickPage.xml
5 Description: The mouse over reminder page for the commands.
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 <!-- IconTemplate-->
24 <Button name="SmallIconTemplate" virtual="true">
25 <Size>
26 <AbsDimension x="16.5" y="16.5"/>
27 </Size>
28 <Layers>
29 <Layer level="OVERLAY">
30 <Texture name="$parentIcon"/>
31 </Layer>
32 <Layer level="ARTWORK">
33 <FontString name="$parentHotKey" inherits="NumberFontNormalSmallGray" justifyH="RIGHT">
34 <Size>
35 <AbsDimension x="32" y="10"/>
36 </Size>
37 <Anchors>
38 <Anchor point="TOPLEFT">
39 <Offset>
40 <AbsDimension x="-2" y="-2"/>
41 </Offset>
42 </Anchor>
43 </Anchors>
44 </FontString>
45 </Layer>
46 </Layers>
47 <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
48 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
49 </Button>
50
51 <Button name="SmallSlotTemplate" inherits="SmallIconTemplate" virtual="true">
52 <Scripts>
53 <OnLoad>
54 self = SlotMiniView.new(self);
55 </OnLoad>
56 <OnClick>
57 self.Clicked();
58 </OnClick>
59 </Scripts>
60 </Button>
61
62 <!-- The Rat Page Frame -->
63 <Frame name="RatQuickPage" hidden="true">
64 <Size>
65 <AbsDimension x="256" y="256" />
66 </Size>
67 <Anchors>
68 <Anchor point="CENTER" relativeTo="UIParent">
69 <Offset>
70 <AbsDimension x="0" y="0" />
71 </Offset>
72 </Anchor>
73 </Anchors>
74 <Layers>
75 <Layer level="BACKGROUND">
76 <Texture name="BackgroundTexture" file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndLeftSide.tga">
77 <Size>
78 <AbsDimension x="256" y="256" />
79 </Size>
80 <Anchors>
81 <Anchor point="CENTER">
82 <Offset>
83 <AbsDimension x="0" y="0" />
84 </Offset>
85 </Anchor>
86 </Anchors>
87 </Texture>
88 </Layer>
89 <Layer level="ARTWORK">
90 <Texture name="RatCalloutsTexture" file="Interface\AddOns\CyborgMMO7\Graphics\Lines.tga">
91 <Size>
92 <AbsDimension x="256" y="256" />
93 </Size>
94 <Anchors>
95 <Anchor point="TOPLEFT">
96 <Offset>
97 <AbsDimension x="0" y="0" />
98 </Offset>
99 </Anchor>
100 </Anchors>
101 </Texture>
102 </Layer>
103 </Layers>
104 <!-- Our Slot Locations -->
105 <Frames>
106 <CheckButton name="$parentSlot1" inherits="SmallSlotTemplate" id="1">
107 <Anchors>
108 <Anchor point="TOPLEFT">
109 <Offset>
110 <AbsDimension x="34" y="-58" />
111 </Offset>
112 </Anchor>
113 </Anchors>
114 </CheckButton>
115 <CheckButton name="$parentSlot2" inherits="SmallSlotTemplate" id="2">
116 <Anchors>
117 <Anchor point="TOPLEFT">
118 <Offset>
119 <AbsDimension x="34" y="-76"/>
120 </Offset>
121 </Anchor>
122 </Anchors>
123 </CheckButton>
124 <CheckButton name="$parentSlot3" inherits="SmallSlotTemplate" id="3">
125 <Anchors>
126 <Anchor point="TOPLEFT">
127 <Offset>
128 <AbsDimension x="34" y="-94" />
129 </Offset>
130 </Anchor>
131 </Anchors>
132 </CheckButton>
133 <CheckButton name="$parentSlot4" inherits="SmallSlotTemplate" id="4">
134 <Anchors>
135 <Anchor point="TOPLEFT">
136 <Offset>
137 <AbsDimension x="34" y="-119" />
138 </Offset>
139 </Anchor>
140 </Anchors>
141 </CheckButton>
142 <CheckButton name="$parentSlot5" inherits="SmallSlotTemplate" id="5">
143 <Anchors>
144 <Anchor point="TOPLEFT">
145 <Offset>
146 <AbsDimension x="34" y="-136" />
147 </Offset>
148 </Anchor>
149 </Anchors>
150 </CheckButton>
151 <CheckButton name="$parentSlot6" inherits="SmallSlotTemplate" id="6">
152 <Anchors>
153 <Anchor point="TOPLEFT">
154 <Offset>
155 <AbsDimension x="34" y="-153" />
156 </Offset>
157 </Anchor>
158 </Anchors>
159 </CheckButton>
160 <CheckButton name="$parentSlot7" inherits="SmallSlotTemplate" id="7">
161 <Anchors>
162 <Anchor point="TOPLEFT">
163 <Offset>
164 <AbsDimension x="16.5" y="-136"/>
165 </Offset>
166 </Anchor>
167 </Anchors>
168 </CheckButton>
169 <CheckButton name="$parentSlot8" inherits="SmallSlotTemplate" id="8">
170 <Anchors>
171 <Anchor point="TOPLEFT">
172 <Offset>
173 <AbsDimension x="52.5" y="-136"/>
174 </Offset>
175 </Anchor>
176 </Anchors>
177 </CheckButton>
178 <CheckButton name="$parentSlot9" inherits="SmallSlotTemplate" id="9">
179 <Anchors>
180 <Anchor point="TOPLEFT">
181 <Offset>
182 <AbsDimension x="34" y="-180"/>
183 </Offset>
184 </Anchor>
185 </Anchors>
186 </CheckButton>
187 <CheckButton name="$parentSlot10" inherits="SmallSlotTemplate" id="10">
188 <Anchors>
189 <Anchor point="TOPLEFT">
190 <Offset>
191 <AbsDimension x="34" y="-197"/>
192 </Offset>
193 </Anchor>
194 </Anchors>
195 </CheckButton>
196 <CheckButton name="$parentSlot11" inherits="SmallSlotTemplate" id="11">
197 <Anchors>
198 <Anchor point="TOPLEFT">
199 <Offset>
200 <AbsDimension x="34" y="-214"/>
201 </Offset>
202 </Anchor>
203 </Anchors>
204 </CheckButton>
205 <CheckButton name="Slot12" inherits="SmallSlotTemplate" id="12">
206 <Anchors>
207 <Anchor point="TOPLEFT">
208 <Offset>
209 <AbsDimension x="24" y="-33"/>
210 </Offset>
211 </Anchor>
212 </Anchors>
213 </CheckButton>
214 <CheckButton name="$parentSlot13" inherits="SmallSlotTemplate" id="13">
215 <Anchors>
216 <Anchor point="TOPLEFT">
217 <Offset>
218 <AbsDimension x="44" y="-33" />
219 </Offset>
220 </Anchor>
221 </Anchors>
222 </CheckButton>
223 </Frames>
224 <Scripts>
225 <OnLoad>
226 RatQuickPageView.new(self);
227 </OnLoad>
228 </Scripts>
229 </Frame>
230 </Ui>