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: OptionPage.xml
|
madcatzinc@0
|
5 Description: The configuration page layout for the addons interface page
|
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@3
|
24 <FontString name="CyborgMMO_TemplateNormalString" font="Fonts\FRIZQT__.TTF" text="NoText" virtual="true">
|
madcatzinc@43
|
25 <FontHeight><AbsValue val="10"/></FontHeight>
|
madcatzinc@43
|
26 <Color r="1" g="1" b="1"/>
|
madcatzinc@0
|
27 <Shadow>
|
madcatzinc@43
|
28 <Color r="0" g="0" b="0"/>
|
madcatzinc@43
|
29 <Offset><AbsDimension x="1" y="-1"/></Offset>
|
madcatzinc@0
|
30 </Shadow>
|
madcatzinc@0
|
31 </FontString>
|
madcatzinc@0
|
32
|
madcatzinc@43
|
33 <Button name="CyborgMMO_TemplateButton" virtual="true">
|
madcatzinc@43
|
34 <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
|
madcatzinc@43
|
35 <TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
|
madcatzinc@43
|
36 </NormalTexture>
|
madcatzinc@43
|
37 <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
|
madcatzinc@43
|
38 <TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
|
madcatzinc@43
|
39 </PushedTexture>
|
madcatzinc@43
|
40 <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
|
madcatzinc@43
|
41 <TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
|
madcatzinc@43
|
42 </DisabledTexture>
|
madcatzinc@43
|
43 <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
|
madcatzinc@43
|
44 <TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
|
madcatzinc@43
|
45 </HighlightTexture>
|
madcatzinc@1
|
46
|
madcatzinc@43
|
47 <NormalFont style="GameFontNormal"/>
|
madcatzinc@43
|
48 <HighlightFont style="GameFontHighlight"/>
|
madcatzinc@43
|
49 <DisabledFont style="GameFontDisable"/>
|
madcatzinc@43
|
50 <Scripts>
|
madcatzinc@43
|
51 <OnLoad>
|
madcatzinc@43
|
52 self:RegisterEvent("VARIABLES_LOADED")
|
madcatzinc@43
|
53 </OnLoad>
|
madcatzinc@43
|
54 <OnEvent>
|
madcatzinc@43
|
55 if event == "VARIABLES_LOADED" then
|
madcatzinc@43
|
56 CyborgMMO_SetBindingButtonText(self:GetName())
|
madcatzinc@43
|
57 end
|
madcatzinc@43
|
58 </OnEvent>
|
madcatzinc@43
|
59 <OnClick>
|
madcatzinc@43
|
60 CyborgMMO_BindButton(self:GetName())
|
madcatzinc@43
|
61 </OnClick>
|
madcatzinc@43
|
62 </Scripts>
|
madcatzinc@43
|
63 </Button>
|
madcatzinc@1
|
64
|
madcatzinc@3
|
65 <FontString name="CyborgMMO_TemplateSliderTitle" font="Fonts\FRIZQT__.TTF" text="NoText" virtual="true">
|
madcatzinc@43
|
66 <FontHeight><AbsValue val="14"/></FontHeight>
|
madcatzinc@43
|
67 <Color r="1" g="0.8196079" b="0"/>
|
madcatzinc@0
|
68 <Shadow>
|
madcatzinc@43
|
69 <Color r="0" g="0" b="0"/>
|
madcatzinc@43
|
70 <Offset><AbsDimension x="1" y="-1"/></Offset>
|
madcatzinc@0
|
71 </Shadow>
|
madcatzinc@0
|
72 </FontString>
|
madcatzinc@43
|
73
|
madcatzinc@3
|
74 <Frame name="CyborgMMO_TemplateButtonRow" virtual="true">
|
madcatzinc@43
|
75 <Size><AbsDimension x="160" y="28"/></Size>
|
madcatzinc@43
|
76
|
madcatzinc@1
|
77 <Layers>
|
madcatzinc@1
|
78 <Layer level="ARTWORK">
|
madcatzinc@3
|
79 <FontString name="$parentName" inherits="GameFontNormal">
|
madcatzinc@1
|
80 <Anchors>
|
madcatzinc@1
|
81 <Anchor point="TOPLEFT" relativeTo="$parent">
|
madcatzinc@43
|
82 <Offset><AbsDimension x="0" y="-10"/></Offset>
|
madcatzinc@1
|
83 </Anchor>
|
madcatzinc@1
|
84 </Anchors>
|
madcatzinc@1
|
85 </FontString>
|
madcatzinc@1
|
86 </Layer>
|
madcatzinc@1
|
87 </Layers>
|
madcatzinc@1
|
88 <Frames>
|
madcatzinc@3
|
89 <Button name="$parentMode1" inherits="CyborgMMO_TemplateButton">
|
madcatzinc@43
|
90 <Size><AbsDimension x="145" y="28"/></Size>
|
madcatzinc@1
|
91 <Anchors>
|
madcatzinc@1
|
92 <Anchor point="TOPLEFT" relativeTo="$parent">
|
madcatzinc@43
|
93 <Offset><AbsDimension x="135" y="0"/></Offset>
|
madcatzinc@1
|
94 </Anchor>
|
madcatzinc@1
|
95 </Anchors>
|
madcatzinc@1
|
96 </Button>
|
madcatzinc@3
|
97 <Button name="$parentMode2" inherits="CyborgMMO_TemplateButton">
|
madcatzinc@43
|
98 <Size><AbsDimension x="145" y="28"/></Size>
|
madcatzinc@1
|
99 <Anchors>
|
madcatzinc@1
|
100 <Anchor point="TOPLEFT" relativeTo="$parent">
|
madcatzinc@43
|
101 <Offset><AbsDimension x="280" y="0"/></Offset>
|
madcatzinc@1
|
102 </Anchor>
|
madcatzinc@1
|
103 </Anchors>
|
madcatzinc@1
|
104 </Button>
|
madcatzinc@3
|
105 <Button name="$parentMode3" inherits="CyborgMMO_TemplateButton">
|
madcatzinc@43
|
106 <Size><AbsDimension x="145" y="28"/></Size>
|
madcatzinc@1
|
107 <Anchors>
|
madcatzinc@1
|
108 <Anchor point="TOPLEFT" relativeTo="$parent">
|
madcatzinc@43
|
109 <Offset><AbsDimension x="425" y="0"/></Offset>
|
madcatzinc@1
|
110 </Anchor>
|
madcatzinc@1
|
111 </Anchors>
|
madcatzinc@1
|
112 </Button>
|
madcatzinc@1
|
113 </Frames>
|
madcatzinc@1
|
114 <Scripts>
|
madcatzinc@1
|
115 <OnLoad>
|
madcatzinc@13
|
116 CyborgMMO_LoadStrings(getglobal(self:GetName().."Name"))
|
madcatzinc@1
|
117 </OnLoad>
|
madcatzinc@1
|
118 </Scripts>
|
madcatzinc@1
|
119 </Frame>
|
madcatzinc@0
|
120
|
madcatzinc@43
|
121 <!-- Custom keybinds -->
|
madcatzinc@43
|
122 <Frame name="CyborgMMO_MouseRebind" virtual="true">
|
madcatzinc@1
|
123 <Layers>
|
madcatzinc@1
|
124 <Layer level="ARTWORK">
|
madcatzinc@4
|
125 <FontString name="$parentTitle" inherits="GameFontNormalLarge" text="CyborgMMO_MouseRebindTitle">
|
madcatzinc@1
|
126 <Anchors>
|
madcatzinc@43
|
127 <Anchor point="TOPLEFT"><Offset><AbsDimension x="-15" y="0"/></Offset></Anchor>
|
madcatzinc@1
|
128 </Anchors>
|
madcatzinc@1
|
129 </FontString>
|
madcatzinc@4
|
130 <FontString name="$parentMode1" inherits="GameFontNormal" text="Mode Num">
|
madcatzinc@3
|
131 <Anchors>
|
madcatzinc@43
|
132 <Anchor point="TOPLEFT"><Offset><AbsDimension x="147" y="-28"/></Offset></Anchor>
|
madcatzinc@3
|
133 </Anchors>
|
madcatzinc@3
|
134 </FontString>
|
madcatzinc@4
|
135 <FontString name="$parentMode2" inherits="GameFontNormal" text="Mode Num">
|
madcatzinc@3
|
136 <Anchors>
|
madcatzinc@43
|
137 <Anchor point="TOPLEFT"><Offset><AbsDimension x="282" y="-28"/></Offset></Anchor>
|
madcatzinc@3
|
138 </Anchors>
|
madcatzinc@3
|
139 </FontString>
|
madcatzinc@4
|
140 <FontString name="$parentMode3" inherits="GameFontNormal" text="Mode Num">
|
madcatzinc@3
|
141 <Anchors>
|
madcatzinc@43
|
142 <Anchor point="TOPLEFT"><Offset><AbsDimension x="427" y="-28"/></Offset></Anchor>
|
madcatzinc@3
|
143 </Anchors>
|
madcatzinc@3
|
144 </FontString>
|
madcatzinc@1
|
145 </Layer>
|
madcatzinc@1
|
146 </Layers>
|
madcatzinc@1
|
147 <Frames>
|
madcatzinc@4
|
148 <Frame name="$parentMouseRow1" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
149 <Anchors>
|
madcatzinc@1
|
150 <Anchor point="TOPLEFT" relativeTo="$parent">
|
madcatzinc@43
|
151 <Offset><AbsDimension x="0" y="-40"/></Offset>
|
madcatzinc@1
|
152 </Anchor>
|
madcatzinc@1
|
153 </Anchors>
|
madcatzinc@1
|
154 </Frame>
|
madcatzinc@4
|
155 <Frame name="$parentMouseRow2" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
156 <Anchors>
|
madcatzinc@4
|
157 <Anchor point="TOPLEFT" relativeTo="$parentMouseRow1">
|
madcatzinc@43
|
158 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
159 </Anchor>
|
madcatzinc@1
|
160 </Anchors>
|
madcatzinc@1
|
161 </Frame>
|
madcatzinc@4
|
162 <Frame name="$parentMouseRow3" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
163 <Anchors>
|
madcatzinc@4
|
164 <Anchor point="TOPLEFT" relativeTo="$parentMouseRow2">
|
madcatzinc@43
|
165 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
166 </Anchor>
|
madcatzinc@1
|
167 </Anchors>
|
madcatzinc@1
|
168 </Frame>
|
madcatzinc@4
|
169 <Frame name="$parentMouseRow4" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
170 <Anchors>
|
madcatzinc@4
|
171 <Anchor point="TOPLEFT" relativeTo="$parentMouseRow3">
|
madcatzinc@43
|
172 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
173 </Anchor>
|
madcatzinc@1
|
174 </Anchors>
|
madcatzinc@1
|
175 </Frame>
|
madcatzinc@4
|
176 <Frame name="$parentMouseRow5" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
177 <Anchors>
|
madcatzinc@4
|
178 <Anchor point="TOPLEFT" relativeTo="$parentMouseRow4">
|
madcatzinc@43
|
179 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
180 </Anchor>
|
madcatzinc@1
|
181 </Anchors>
|
madcatzinc@1
|
182 </Frame>
|
madcatzinc@4
|
183 <Frame name="$parentMouseRow6" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
184 <Anchors>
|
madcatzinc@4
|
185 <Anchor point="TOPLEFT" relativeTo="$parentMouseRow5">
|
madcatzinc@43
|
186 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
187 </Anchor>
|
madcatzinc@1
|
188 </Anchors>
|
madcatzinc@1
|
189 </Frame>
|
madcatzinc@4
|
190 <Frame name="$parentMouseRow7" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
191 <Anchors>
|
madcatzinc@4
|
192 <Anchor point="TOPLEFT" relativeTo="$parentMouseRow6">
|
madcatzinc@43
|
193 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
194 </Anchor>
|
madcatzinc@1
|
195 </Anchors>
|
madcatzinc@1
|
196 </Frame>
|
madcatzinc@4
|
197 <Frame name="$parentMouseRow8" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
198 <Anchors>
|
madcatzinc@4
|
199 <Anchor point="TOPLEFT" relativeTo="$parentMouseRow7">
|
madcatzinc@43
|
200 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
201 </Anchor>
|
madcatzinc@1
|
202 </Anchors>
|
madcatzinc@1
|
203 </Frame>
|
madcatzinc@4
|
204 <Frame name="$parentMouseRow9" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
205 <Anchors>
|
madcatzinc@4
|
206 <Anchor point="TOPLEFT" relativeTo="$parentMouseRow8">
|
madcatzinc@43
|
207 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
208 </Anchor>
|
madcatzinc@1
|
209 </Anchors>
|
madcatzinc@1
|
210 </Frame>
|
madcatzinc@4
|
211 <Frame name="$parentMouseRowA" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
212 <Anchors>
|
madcatzinc@4
|
213 <Anchor point="TOPLEFT" relativeTo="$parentMouseRow9">
|
madcatzinc@43
|
214 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
215 </Anchor>
|
madcatzinc@1
|
216 </Anchors>
|
madcatzinc@1
|
217 </Frame>
|
madcatzinc@4
|
218 <Frame name="$parentMouseRowB" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
219 <Anchors>
|
madcatzinc@4
|
220 <Anchor point="TOPLEFT" relativeTo="$parentMouseRowA">
|
madcatzinc@43
|
221 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
222 </Anchor>
|
madcatzinc@1
|
223 </Anchors>
|
madcatzinc@1
|
224 </Frame>
|
madcatzinc@4
|
225 <Frame name="$parentMouseRowC" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
226 <Anchors>
|
madcatzinc@4
|
227 <Anchor point="TOPLEFT" relativeTo="$parentMouseRowB">
|
madcatzinc@43
|
228 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
229 </Anchor>
|
madcatzinc@1
|
230 </Anchors>
|
madcatzinc@1
|
231 </Frame>
|
madcatzinc@4
|
232 <Frame name="$parentMouseRowD" inherits="CyborgMMO_TemplateButtonRow">
|
madcatzinc@1
|
233 <Anchors>
|
madcatzinc@4
|
234 <Anchor point="TOPLEFT" relativeTo="$parentMouseRowC">
|
madcatzinc@43
|
235 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@1
|
236 </Anchor>
|
madcatzinc@1
|
237 </Anchors>
|
madcatzinc@1
|
238 </Frame>
|
madcatzinc@1
|
239 </Frames>
|
madcatzinc@1
|
240 </Frame>
|
madcatzinc@0
|
241
|
madcatzinc@4
|
242 <Frame name="CyborgMMO_OptionPage">
|
madcatzinc@0
|
243 <Layers>
|
madcatzinc@0
|
244 <Layer level="ARTWORK">
|
madcatzinc@0
|
245 <FontString name="$parentTitle" inherits="GameFontNormalLarge">
|
madcatzinc@0
|
246 <Anchors>
|
madcatzinc@0
|
247 <Anchor point="TOPLEFT">
|
madcatzinc@43
|
248 <Offset><AbsDimension x="15" y="-15"/></Offset>
|
madcatzinc@0
|
249 </Anchor>
|
madcatzinc@0
|
250 </Anchors>
|
madcatzinc@0
|
251 </FontString>
|
madcatzinc@0
|
252 </Layer>
|
madcatzinc@0
|
253 </Layers>
|
madcatzinc@0
|
254
|
madcatzinc@0
|
255 <Frames>
|
madcatzinc@4
|
256 <CheckButton name="$parentMiniMapButton" inherits="UICheckButtonTemplate" checked="true">
|
madcatzinc@43
|
257 <Size><AbsDimension x="32" y="32"/></Size>
|
madcatzinc@0
|
258 <Anchors>
|
madcatzinc@0
|
259 <Anchor point="TOPLEFT" relativeTo="$parentTitle">
|
madcatzinc@43
|
260 <Offset><AbsDimension x="15" y="-30"/></Offset>
|
madcatzinc@0
|
261 </Anchor>
|
madcatzinc@0
|
262 </Anchors>
|
madcatzinc@0
|
263 <Layers>
|
madcatzinc@0
|
264 <Layer>
|
madcatzinc@3
|
265 <FontString name="$parentTitle" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateSliderTitle">
|
madcatzinc@0
|
266 <Anchors>
|
madcatzinc@0
|
267 <Anchor point="LEFT" relativePoint="$parentMiniMapButton">
|
madcatzinc@43
|
268 <Offset><AbsDimension x="45" y="0"/></Offset>
|
madcatzinc@0
|
269 </Anchor>
|
madcatzinc@0
|
270 </Anchors>
|
madcatzinc@0
|
271 </FontString>
|
madcatzinc@0
|
272 </Layer>
|
madcatzinc@0
|
273 </Layers>
|
madcatzinc@0
|
274 <Scripts>
|
madcatzinc@0
|
275 <OnLoad>
|
madcatzinc@13
|
276 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
|
madcatzinc@0
|
277 </OnLoad>
|
madcatzinc@0
|
278 <OnClick>
|
madcatzinc@43
|
279 if self:GetChecked() then
|
madcatzinc@4
|
280 CyborgMMO_SetMiniMapButton(true)
|
madcatzinc@0
|
281 else
|
madcatzinc@4
|
282 CyborgMMO_SetMiniMapButton(false)
|
madcatzinc@0
|
283 end
|
madcatzinc@0
|
284 </OnClick>
|
madcatzinc@0
|
285 </Scripts>
|
madcatzinc@0
|
286 </CheckButton>
|
madcatzinc@0
|
287
|
madcatzinc@0
|
288
|
madcatzinc@4
|
289 <CheckButton name="$parentCyborgButton" inherits="UICheckButtonTemplate" checked="true">
|
madcatzinc@43
|
290 <Size><AbsDimension x="32" y="32"/></Size>
|
madcatzinc@0
|
291 <Anchors>
|
madcatzinc@4
|
292 <Anchor point="TOPLEFT" relativeTo="$parentMiniMapButton">
|
madcatzinc@43
|
293 <Offset><AbsDimension x="0" y="-30"/></Offset>
|
madcatzinc@0
|
294 </Anchor>
|
madcatzinc@0
|
295 </Anchors>
|
madcatzinc@0
|
296 <Layers>
|
madcatzinc@0
|
297 <Layer>
|
madcatzinc@3
|
298 <FontString name="$parentTitle" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateSliderTitle">
|
madcatzinc@0
|
299 <Anchors>
|
madcatzinc@0
|
300 <Anchor point="LEFT" relativePoint="$parentCyborgButton">
|
madcatzinc@43
|
301 <Offset><AbsDimension x="45" y="0"/></Offset>
|
madcatzinc@0
|
302 </Anchor>
|
madcatzinc@0
|
303 </Anchors>
|
madcatzinc@0
|
304 </FontString>
|
madcatzinc@0
|
305 </Layer>
|
madcatzinc@0
|
306 </Layers>
|
madcatzinc@0
|
307 <Scripts>
|
madcatzinc@0
|
308 <OnLoad>
|
madcatzinc@13
|
309 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
|
madcatzinc@0
|
310 </OnLoad>
|
madcatzinc@0
|
311 <OnClick>
|
madcatzinc@43
|
312 if self:GetChecked() then
|
madcatzinc@4
|
313 CyborgMMO_SetCyborgHeadButton(true)
|
madcatzinc@0
|
314 else
|
madcatzinc@4
|
315 CyborgMMO_SetCyborgHeadButton(false)
|
madcatzinc@0
|
316 end
|
madcatzinc@0
|
317 </OnClick>
|
madcatzinc@0
|
318 </Scripts>
|
madcatzinc@0
|
319 </CheckButton>
|
madcatzinc@0
|
320
|
madcatzinc@3
|
321 <Button name="$parentSetDefaults" inherits="CyborgMMO_TemplateButton">
|
madcatzinc@43
|
322 <Size><AbsDimension x="150" y="28"/></Size>
|
madcatzinc@0
|
323 <Anchors>
|
madcatzinc@43
|
324 <Anchor point="TOPLEFT" relativeTo="CyborgButton">
|
madcatzinc@43
|
325 <Offset><AbsDimension x="431" y="-20"/></Offset>
|
madcatzinc@43
|
326 </Anchor>
|
madcatzinc@0
|
327 </Anchors>
|
madcatzinc@0
|
328 <Scripts>
|
madcatzinc@0
|
329 <OnLoad>
|
madcatzinc@13
|
330 CyborgMMO_LoadStrings(getglobal(self:GetName()))
|
madcatzinc@0
|
331 </OnLoad>
|
madcatzinc@0
|
332 <OnClick>
|
madcatzinc@13
|
333 CyborgMMO_SetDefaultSettings()
|
madcatzinc@0
|
334 </OnClick>
|
madcatzinc@0
|
335 </Scripts>
|
madcatzinc@0
|
336 </Button>
|
madcatzinc@43
|
337
|
madcatzinc@4
|
338 <Frame name="$parentRebind" inherits="CyborgMMO_MouseRebind">
|
madcatzinc@43
|
339 <Size><AbsDimension x="45" y="60"/></Size>
|
madcatzinc@0
|
340 <Anchors>
|
madcatzinc@0
|
341 <Anchor point="TOPLEFT" relativeTo="$parentTitle">
|
madcatzinc@43
|
342 <Offset><AbsDimension x="25" y="-120"/></Offset>
|
madcatzinc@0
|
343 </Anchor>
|
madcatzinc@0
|
344 </Anchors>
|
madcatzinc@4
|
345 <Scripts>
|
madcatzinc@4
|
346 <OnLoad>
|
madcatzinc@4
|
347 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
|
madcatzinc@4
|
348 CyborgMMO_LoadStrings(getglobal(self:GetName().."Mode1"))
|
madcatzinc@4
|
349 CyborgMMO_LoadStrings(getglobal(self:GetName().."Mode2"))
|
madcatzinc@4
|
350 CyborgMMO_LoadStrings(getglobal(self:GetName().."Mode3"))
|
madcatzinc@4
|
351 </OnLoad>
|
madcatzinc@4
|
352 </Scripts>
|
madcatzinc@1
|
353 </Frame>
|
madcatzinc@43
|
354
|
madcatzinc@4
|
355 <Frame name="$parentCyborgSize">
|
madcatzinc@1
|
356 <Size>
|
madcatzinc@43
|
357 <AbsDimension x="180" y="32"/>
|
madcatzinc@1
|
358 </Size>
|
madcatzinc@1
|
359 <Anchors>
|
madcatzinc@1
|
360 <Anchor point="TOPLEFT" relativeTo="$parentTitle">
|
madcatzinc@43
|
361 <Offset><AbsDimension x="195" y="-40"/></Offset>
|
madcatzinc@1
|
362 </Anchor>
|
madcatzinc@1
|
363 </Anchors>
|
madcatzinc@0
|
364 <Frames>
|
madcatzinc@0
|
365 <Slider name="$parentSlider" enableMouse="true" minValue=".5" maxValue="1" defaultValue=".75" valueStep=".01" orientation="HORIZONTAL">
|
madcatzinc@43
|
366 <Size><AbsDimension x="128" y="17"/></Size>
|
madcatzinc@0
|
367 <Anchors>
|
madcatzinc@43
|
368 <Anchor point="LEFT"/>
|
madcatzinc@43
|
369 <Anchor point="RIGHT"/>
|
madcatzinc@0
|
370 </Anchors>
|
madcatzinc@0
|
371 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
|
madcatzinc@0
|
372 <BackgroundInsets>
|
madcatzinc@43
|
373 <AbsInset left="3" right="3" top="6" bottom="6"/>
|
madcatzinc@0
|
374 </BackgroundInsets>
|
madcatzinc@43
|
375 <TileSize><AbsValue val="8"/></TileSize>
|
madcatzinc@43
|
376 <EdgeSize><AbsValue val="8"/></EdgeSize>
|
madcatzinc@0
|
377 </Backdrop>
|
madcatzinc@0
|
378 <Layers>
|
madcatzinc@0
|
379 <Layer>
|
madcatzinc@3
|
380 <FontString name="$parentTitle" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateSliderTitle">
|
madcatzinc@0
|
381 <Anchors>
|
madcatzinc@43
|
382 <Anchor point="BOTTOM" relativePoint="TOP"/>
|
madcatzinc@0
|
383 </Anchors>
|
madcatzinc@0
|
384 </FontString>
|
madcatzinc@3
|
385 <FontString name="$parentLow" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateNormalString" text="50%">
|
madcatzinc@0
|
386 <Anchors>
|
madcatzinc@43
|
387 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"/>
|
madcatzinc@0
|
388 </Anchors>
|
madcatzinc@0
|
389 </FontString>
|
madcatzinc@3
|
390 <FontString name="$parentHigh" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateNormalString" text="100%">
|
madcatzinc@0
|
391 <Anchors>
|
madcatzinc@43
|
392 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT"/>
|
madcatzinc@0
|
393 </Anchors>
|
madcatzinc@0
|
394 </FontString>
|
madcatzinc@0
|
395 </Layer>
|
madcatzinc@0
|
396 </Layers>
|
madcatzinc@0
|
397 <ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
|
madcatzinc@43
|
398 <Size><AbsDimension x="32" y="32"/></Size>
|
madcatzinc@0
|
399 </ThumbTexture>
|
madcatzinc@0
|
400 <Scripts>
|
madcatzinc@0
|
401 <OnLoad>
|
madcatzinc@4
|
402 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
|
madcatzinc@0
|
403 </OnLoad>
|
madcatzinc@43
|
404 <OnValueChanged>
|
madcatzinc@43
|
405 CyborgMMO_SetOpenButtonSize(self:GetValue())
|
madcatzinc@43
|
406 </OnValueChanged>
|
madcatzinc@0
|
407 </Scripts>
|
madcatzinc@0
|
408 </Slider>
|
madcatzinc@0
|
409 </Frames>
|
madcatzinc@0
|
410 </Frame>
|
madcatzinc@4
|
411 <Frame name="$parentPluginSize">
|
madcatzinc@43
|
412 <Size><AbsDimension x="180" y="32"/></Size>
|
madcatzinc@0
|
413 <Anchors>
|
madcatzinc@4
|
414 <Anchor point="TOPLEFT" relativeTo="$parentCyborgSize">
|
madcatzinc@43
|
415 <Offset><AbsDimension x="200" y="0"/></Offset>
|
madcatzinc@0
|
416 </Anchor>
|
madcatzinc@0
|
417 </Anchors>
|
madcatzinc@0
|
418 <Frames>
|
madcatzinc@0
|
419 <Slider name="$parentSlider" enableMouse="true" minValue=".5" maxValue="1" defaultValue=".75" valueStep=".01" orientation="HORIZONTAL">
|
madcatzinc@43
|
420 <Size><AbsDimension x="128" y="17"/></Size>
|
madcatzinc@0
|
421 <Anchors>
|
madcatzinc@43
|
422 <Anchor point="LEFT"/>
|
madcatzinc@43
|
423 <Anchor point="RIGHT"/>
|
madcatzinc@0
|
424 </Anchors>
|
madcatzinc@0
|
425 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
|
madcatzinc@0
|
426 <BackgroundInsets>
|
madcatzinc@43
|
427 <AbsInset left="3" right="3" top="6" bottom="6"/>
|
madcatzinc@0
|
428 </BackgroundInsets>
|
madcatzinc@43
|
429 <TileSize><AbsValue val="8"/></TileSize>
|
madcatzinc@43
|
430 <EdgeSize><AbsValue val="8"/></EdgeSize>
|
madcatzinc@0
|
431 </Backdrop>
|
madcatzinc@0
|
432 <Layers>
|
madcatzinc@0
|
433 <Layer>
|
madcatzinc@3
|
434 <FontString name="$parentTitle" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateSliderTitle">
|
madcatzinc@0
|
435 <Anchors>
|
madcatzinc@43
|
436 <Anchor point="BOTTOM" relativePoint="TOP"/>
|
madcatzinc@0
|
437 </Anchors>
|
madcatzinc@0
|
438 </FontString>
|
madcatzinc@3
|
439 <FontString name="$parentLow" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateNormalString" text="50%">
|
madcatzinc@0
|
440 <Anchors>
|
madcatzinc@43
|
441 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"/>
|
madcatzinc@0
|
442 </Anchors>
|
madcatzinc@0
|
443 </FontString>
|
madcatzinc@3
|
444 <FontString name="$parentHigh" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateNormalString" text="100%">
|
madcatzinc@0
|
445 <Anchors>
|
madcatzinc@43
|
446 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT"/>
|
madcatzinc@0
|
447 </Anchors>
|
madcatzinc@0
|
448 </FontString>
|
madcatzinc@0
|
449 </Layer>
|
madcatzinc@0
|
450 </Layers>
|
madcatzinc@0
|
451 <ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
|
madcatzinc@43
|
452 <Size><AbsDimension x="32" y="32"/></Size>
|
madcatzinc@0
|
453 </ThumbTexture>
|
madcatzinc@0
|
454 <Scripts>
|
madcatzinc@0
|
455 <OnLoad>
|
madcatzinc@13
|
456 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
|
madcatzinc@0
|
457 </OnLoad>
|
madcatzinc@0
|
458 <OnValueChanged>
|
madcatzinc@4
|
459 CyborgMMO_SetMainPageSize(self:GetValue())
|
madcatzinc@0
|
460 </OnValueChanged>
|
madcatzinc@0
|
461 </Scripts>
|
madcatzinc@43
|
462 </Slider>
|
madcatzinc@0
|
463 </Frames>
|
madcatzinc@0
|
464 </Frame>
|
madcatzinc@0
|
465 </Frames>
|
madcatzinc@0
|
466
|
madcatzinc@0
|
467 <Scripts>
|
madcatzinc@0
|
468 <OnLoad>
|
madcatzinc@13
|
469 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
|
madcatzinc@15
|
470 CyborgMMO_DPrint("Loaded Option Page")
|
madcatzinc@13
|
471 self = CyborgMMO_OptionView.new(self)
|
madcatzinc@0
|
472 </OnLoad>
|
madcatzinc@0
|
473 </Scripts>
|
madcatzinc@0
|
474 </Frame>
|
madcatzinc@43
|
475
|
madcatzinc@4
|
476 <Button name="CyborgMMO_BindingFrame" toplevel="true" parent="UIParent" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" enableKeyboard="true">
|
madcatzinc@43
|
477 <Size><AbsDimension x="400" y="200"/></Size>
|
madcatzinc@43
|
478 <Anchors>
|
madcatzinc@43
|
479 <Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
|
madcatzinc@43
|
480 </Anchors>
|
madcatzinc@43
|
481 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
madcatzinc@43
|
482 <BackgroundInsets>
|
madcatzinc@43
|
483 <AbsInset left="11" right="12" top="12" bottom="11"/>
|
madcatzinc@43
|
484 </BackgroundInsets>
|
madcatzinc@43
|
485 <TileSize><AbsValue val="32"/></TileSize>
|
madcatzinc@43
|
486 <EdgeSize><AbsValue val="32"/></EdgeSize>
|
madcatzinc@43
|
487 </Backdrop>
|
madcatzinc@43
|
488 <Layers>
|
madcatzinc@43
|
489 <Layer level="ARTWORK">
|
madcatzinc@43
|
490 <Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
|
madcatzinc@43
|
491 <Size><AbsDimension x="500" y="64"/></Size>
|
madcatzinc@43
|
492 <Anchors>
|
madcatzinc@43
|
493 <Anchor point="TOP"><Offset><AbsDimension x="0" y="12"/></Offset></Anchor>
|
madcatzinc@43
|
494 </Anchors>
|
madcatzinc@43
|
495 </Texture>
|
madcatzinc@43
|
496 <FontString name="$parentHeaderText" inherits="GameFontNormal" text="FillerText">
|
madcatzinc@43
|
497 <Size><AbsDimension x="500" y="13"/></Size>
|
madcatzinc@43
|
498 <Anchors>
|
madcatzinc@43
|
499 <Anchor point="TOP" relativeTo="$parentHeader">
|
madcatzinc@43
|
500 <Offset><AbsDimension x="0" y="-13"/></Offset>
|
madcatzinc@43
|
501 </Anchor>
|
madcatzinc@43
|
502 </Anchors>
|
madcatzinc@43
|
503 </FontString>
|
madcatzinc@43
|
504 <FontString inherits="GameFontNormalLarge" name="$parentButtonName" text="Button Name">
|
madcatzinc@43
|
505 <Anchors>
|
madcatzinc@43
|
506 <Anchor point="CENTER" relativeTo="$parent">
|
madcatzinc@43
|
507 <Offset><AbsDimension x="0" y="32"/></Offset>
|
madcatzinc@43
|
508 </Anchor>
|
madcatzinc@43
|
509 </Anchors>
|
madcatzinc@43
|
510 </FontString>
|
madcatzinc@43
|
511 <FontString name="$parentKey" inherits="GameFontNormalLarge" text="KeyText">
|
madcatzinc@43
|
512 <Anchors>
|
madcatzinc@43
|
513 <Anchor point="CENTER" relativeTo="$parent">
|
madcatzinc@43
|
514 <Offset><AbsDimension x="0" y="-16"/></Offset>
|
madcatzinc@43
|
515 </Anchor>
|
madcatzinc@43
|
516 </Anchors>
|
madcatzinc@43
|
517 </FontString>
|
madcatzinc@43
|
518 </Layer>
|
madcatzinc@43
|
519 </Layers>
|
madcatzinc@43
|
520 <Frames>
|
madcatzinc@43
|
521 <Button name="$parentCloseButton" inherits="UIPanelCloseButton">
|
madcatzinc@43
|
522 <Anchors>
|
madcatzinc@43
|
523 <Anchor point="TOPRIGHT">
|
madcatzinc@43
|
524 <Offset><AbsDimension x="-3" y="-3"/></Offset>
|
madcatzinc@43
|
525 </Anchor>
|
madcatzinc@43
|
526 </Anchors>
|
madcatzinc@43
|
527 </Button>
|
madcatzinc@43
|
528 <Button name="$parentExitButton" inherits="UIPanelButtonTemplate" text="Close">
|
madcatzinc@43
|
529 <Size><AbsDimension x="80" y="26"/></Size>
|
madcatzinc@43
|
530 <Anchors>
|
madcatzinc@43
|
531 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
|
madcatzinc@43
|
532 <Offset><AbsDimension x="-12" y="12"/></Offset>
|
madcatzinc@43
|
533 </Anchor>
|
madcatzinc@43
|
534 </Anchors>
|
madcatzinc@43
|
535 <Scripts>
|
madcatzinc@43
|
536 <OnClick>
|
madcatzinc@43
|
537 HideUIPanel(self:GetParent())
|
madcatzinc@43
|
538 </OnClick>
|
madcatzinc@43
|
539 </Scripts>
|
madcatzinc@43
|
540 </Button>
|
madcatzinc@43
|
541 </Frames>
|
madcatzinc@1
|
542
|
madcatzinc@43
|
543 <Scripts>
|
madcatzinc@43
|
544 <OnLoad>
|
madcatzinc@43
|
545 CyborgMMO_LoadStrings(getglobal(self:GetName().."HeaderText"))
|
madcatzinc@43
|
546 CyborgMMO_LoadStrings(getglobal(self:GetName().."ExitButton"))
|
madcatzinc@43
|
547 self:RegisterForClicks("AnyUp")
|
madcatzinc@43
|
548 </OnLoad>
|
madcatzinc@43
|
549 <OnClick>
|
madcatzinc@43
|
550 CyborgMMO_BindingFrameOnKeyDown(self, button)
|
madcatzinc@43
|
551 </OnClick>
|
madcatzinc@43
|
552 <OnKeyDown>
|
madcatzinc@43
|
553 CyborgMMO_BindingFrameOnKeyDown(self, key)
|
madcatzinc@43
|
554 </OnKeyDown>
|
madcatzinc@43
|
555 <OnMouseWheel>
|
madcatzinc@43
|
556 if delta > 0 then
|
madcatzinc@43
|
557 CyborgMMO_BindingFrameOnKeyDown(self, "MOUSEWHEELUP")
|
madcatzinc@43
|
558 else
|
madcatzinc@43
|
559 CyborgMMO_BindingFrameOnKeyDown(self, "MOUSEWHEELDOWN")
|
madcatzinc@43
|
560 end
|
madcatzinc@43
|
561 </OnMouseWheel>
|
madcatzinc@43
|
562 </Scripts>
|
madcatzinc@43
|
563 </Button>
|
madcatzinc@0
|
564 </Ui>
|