annotate OptionPage.xml @ 71:60e5f3262337 tip

Added tag v6.1.0-1 for changeset 553715eacab6
author Jerome Vuarand <jerome.vuarand@gmail.com>
date Thu, 26 Feb 2015 14:18:54 +0000
parents c22f1accec43
children
rev   line source
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@56 127 <Anchor point="TOPLEFT"><Offset><AbsDimension x="0" 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@56 260 <Offset><AbsDimension x="0" 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@54 321 <CheckButton name="$parentPerSpecBindings" inherits="UICheckButtonTemplate" checked="true">
madcatzinc@54 322 <Size><AbsDimension x="32" y="32"/></Size>
madcatzinc@54 323 <Anchors>
madcatzinc@54 324 <Anchor point="TOPLEFT" relativeTo="$parentCyborgButton">
madcatzinc@54 325 <Offset><AbsDimension x="0" y="-30"/></Offset>
madcatzinc@54 326 </Anchor>
madcatzinc@54 327 </Anchors>
madcatzinc@54 328 <Layers>
madcatzinc@54 329 <Layer>
madcatzinc@54 330 <FontString name="$parentTitle" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateSliderTitle">
madcatzinc@54 331 <Anchors>
madcatzinc@54 332 <Anchor point="LEFT" relativePoint="$parentPerSpecBindings">
madcatzinc@54 333 <Offset><AbsDimension x="45" y="0"/></Offset>
madcatzinc@54 334 </Anchor>
madcatzinc@54 335 </Anchors>
madcatzinc@54 336 </FontString>
madcatzinc@54 337 </Layer>
madcatzinc@54 338 </Layers>
madcatzinc@54 339 <Scripts>
madcatzinc@54 340 <OnLoad>
madcatzinc@54 341 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
madcatzinc@54 342 </OnLoad>
madcatzinc@54 343 <OnClick>
madcatzinc@54 344 if self:GetChecked() then
madcatzinc@54 345 CyborgMMO_SetPerSpecBindings(true)
madcatzinc@54 346 else
madcatzinc@54 347 CyborgMMO_SetPerSpecBindings(false)
madcatzinc@54 348 end
madcatzinc@54 349 </OnClick>
madcatzinc@54 350 </Scripts>
madcatzinc@54 351 </CheckButton>
madcatzinc@54 352
madcatzinc@4 353 <Frame name="$parentCyborgSize">
madcatzinc@1 354 <Size>
madcatzinc@43 355 <AbsDimension x="180" y="32"/>
madcatzinc@1 356 </Size>
madcatzinc@1 357 <Anchors>
madcatzinc@1 358 <Anchor point="TOPLEFT" relativeTo="$parentTitle">
madcatzinc@56 359 <Offset><AbsDimension x="250" y="-40"/></Offset>
madcatzinc@1 360 </Anchor>
madcatzinc@1 361 </Anchors>
madcatzinc@0 362 <Frames>
madcatzinc@0 363 <Slider name="$parentSlider" enableMouse="true" minValue=".5" maxValue="1" defaultValue=".75" valueStep=".01" orientation="HORIZONTAL">
madcatzinc@43 364 <Size><AbsDimension x="128" y="17"/></Size>
madcatzinc@0 365 <Anchors>
madcatzinc@43 366 <Anchor point="LEFT"/>
madcatzinc@43 367 <Anchor point="RIGHT"/>
madcatzinc@0 368 </Anchors>
madcatzinc@0 369 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
madcatzinc@0 370 <BackgroundInsets>
madcatzinc@43 371 <AbsInset left="3" right="3" top="6" bottom="6"/>
madcatzinc@0 372 </BackgroundInsets>
madcatzinc@43 373 <TileSize><AbsValue val="8"/></TileSize>
madcatzinc@43 374 <EdgeSize><AbsValue val="8"/></EdgeSize>
madcatzinc@0 375 </Backdrop>
madcatzinc@0 376 <Layers>
madcatzinc@0 377 <Layer>
madcatzinc@3 378 <FontString name="$parentTitle" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateSliderTitle">
madcatzinc@0 379 <Anchors>
madcatzinc@56 380 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"/>
madcatzinc@0 381 </Anchors>
madcatzinc@0 382 </FontString>
madcatzinc@3 383 <FontString name="$parentLow" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateNormalString" text="50%">
madcatzinc@0 384 <Anchors>
madcatzinc@43 385 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"/>
madcatzinc@0 386 </Anchors>
madcatzinc@0 387 </FontString>
madcatzinc@3 388 <FontString name="$parentHigh" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateNormalString" text="100%">
madcatzinc@0 389 <Anchors>
madcatzinc@43 390 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT"/>
madcatzinc@0 391 </Anchors>
madcatzinc@0 392 </FontString>
madcatzinc@0 393 </Layer>
madcatzinc@0 394 </Layers>
madcatzinc@0 395 <ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
madcatzinc@43 396 <Size><AbsDimension x="32" y="32"/></Size>
madcatzinc@0 397 </ThumbTexture>
madcatzinc@0 398 <Scripts>
madcatzinc@0 399 <OnLoad>
madcatzinc@4 400 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
madcatzinc@0 401 </OnLoad>
madcatzinc@43 402 <OnValueChanged>
madcatzinc@43 403 CyborgMMO_SetOpenButtonSize(self:GetValue())
madcatzinc@43 404 </OnValueChanged>
madcatzinc@0 405 </Scripts>
madcatzinc@0 406 </Slider>
madcatzinc@0 407 </Frames>
madcatzinc@0 408 </Frame>
madcatzinc@4 409 <Frame name="$parentPluginSize">
madcatzinc@43 410 <Size><AbsDimension x="180" y="32"/></Size>
madcatzinc@0 411 <Anchors>
madcatzinc@4 412 <Anchor point="TOPLEFT" relativeTo="$parentCyborgSize">
madcatzinc@56 413 <Offset><AbsDimension x="0" y="-50"/></Offset>
madcatzinc@0 414 </Anchor>
madcatzinc@0 415 </Anchors>
madcatzinc@0 416 <Frames>
madcatzinc@0 417 <Slider name="$parentSlider" enableMouse="true" minValue=".5" maxValue="1" defaultValue=".75" valueStep=".01" orientation="HORIZONTAL">
madcatzinc@43 418 <Size><AbsDimension x="128" y="17"/></Size>
madcatzinc@0 419 <Anchors>
madcatzinc@43 420 <Anchor point="LEFT"/>
madcatzinc@43 421 <Anchor point="RIGHT"/>
madcatzinc@0 422 </Anchors>
madcatzinc@0 423 <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
madcatzinc@0 424 <BackgroundInsets>
madcatzinc@43 425 <AbsInset left="3" right="3" top="6" bottom="6"/>
madcatzinc@0 426 </BackgroundInsets>
madcatzinc@43 427 <TileSize><AbsValue val="8"/></TileSize>
madcatzinc@43 428 <EdgeSize><AbsValue val="8"/></EdgeSize>
madcatzinc@0 429 </Backdrop>
madcatzinc@0 430 <Layers>
madcatzinc@0 431 <Layer>
madcatzinc@3 432 <FontString name="$parentTitle" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateSliderTitle">
madcatzinc@0 433 <Anchors>
madcatzinc@56 434 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"/>
madcatzinc@0 435 </Anchors>
madcatzinc@0 436 </FontString>
madcatzinc@3 437 <FontString name="$parentLow" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateNormalString" text="50%">
madcatzinc@0 438 <Anchors>
madcatzinc@43 439 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"/>
madcatzinc@0 440 </Anchors>
madcatzinc@0 441 </FontString>
madcatzinc@3 442 <FontString name="$parentHigh" font="Fonts\FRIZQT__.TTF" inherits="CyborgMMO_TemplateNormalString" text="100%">
madcatzinc@0 443 <Anchors>
madcatzinc@43 444 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT"/>
madcatzinc@0 445 </Anchors>
madcatzinc@0 446 </FontString>
madcatzinc@0 447 </Layer>
madcatzinc@0 448 </Layers>
madcatzinc@0 449 <ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
madcatzinc@43 450 <Size><AbsDimension x="32" y="32"/></Size>
madcatzinc@0 451 </ThumbTexture>
madcatzinc@0 452 <Scripts>
madcatzinc@0 453 <OnLoad>
madcatzinc@13 454 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
madcatzinc@0 455 </OnLoad>
madcatzinc@0 456 <OnValueChanged>
madcatzinc@4 457 CyborgMMO_SetMainPageSize(self:GetValue())
madcatzinc@0 458 </OnValueChanged>
madcatzinc@0 459 </Scripts>
madcatzinc@43 460 </Slider>
madcatzinc@0 461 </Frames>
madcatzinc@0 462 </Frame>
madcatzinc@0 463 </Frames>
madcatzinc@0 464
madcatzinc@0 465 <Scripts>
madcatzinc@0 466 <OnLoad>
madcatzinc@13 467 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
madcatzinc@15 468 CyborgMMO_DPrint("Loaded Option Page")
madcatzinc@13 469 self = CyborgMMO_OptionView.new(self)
madcatzinc@0 470 </OnLoad>
madcatzinc@0 471 </Scripts>
madcatzinc@0 472 </Frame>
madcatzinc@43 473
madcatzinc@56 474 <Frame name="CyborgMMO_OptionSubPageRebind">
madcatzinc@56 475 <Frames>
madcatzinc@56 476 <Frame name="CyborgMMO_OptionPageRebind" inherits="CyborgMMO_MouseRebind">
madcatzinc@56 477 <Size><AbsDimension x="40" y="60"/></Size>
madcatzinc@56 478 <Anchors>
madcatzinc@56 479 <Anchor point="TOPLEFT">
madcatzinc@56 480 <Offset><AbsDimension x="15" y="-15"/></Offset>
madcatzinc@56 481 </Anchor>
madcatzinc@56 482 </Anchors>
madcatzinc@56 483 <Scripts>
madcatzinc@56 484 <OnLoad>
madcatzinc@56 485 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title"))
madcatzinc@56 486 CyborgMMO_LoadStrings(getglobal(self:GetName().."Mode1"))
madcatzinc@56 487 CyborgMMO_LoadStrings(getglobal(self:GetName().."Mode2"))
madcatzinc@56 488 CyborgMMO_LoadStrings(getglobal(self:GetName().."Mode3"))
madcatzinc@56 489 </OnLoad>
madcatzinc@56 490 </Scripts>
madcatzinc@56 491 </Frame>
madcatzinc@56 492 </Frames>
madcatzinc@56 493 <Scripts>
madcatzinc@56 494 <OnLoad>
madcatzinc@62 495 self.name = CyborgMMO_StringTable.CyborgMMO_OptionPageRebindTitle
madcatzinc@62 496 self.parent = CyborgMMO_OptionPage.name
madcatzinc@61 497 self.default = CyborgMMO_SetDefaultKeyBindings
madcatzinc@56 498 InterfaceOptions_AddCategory(self)
madcatzinc@56 499 </OnLoad>
madcatzinc@56 500 </Scripts>
madcatzinc@56 501 </Frame>
madcatzinc@56 502
madcatzinc@4 503 <Button name="CyborgMMO_BindingFrame" toplevel="true" parent="UIParent" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" enableKeyboard="true">
madcatzinc@43 504 <Size><AbsDimension x="400" y="200"/></Size>
madcatzinc@43 505 <Anchors>
madcatzinc@43 506 <Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
madcatzinc@43 507 </Anchors>
madcatzinc@43 508 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
madcatzinc@43 509 <BackgroundInsets>
madcatzinc@43 510 <AbsInset left="11" right="12" top="12" bottom="11"/>
madcatzinc@43 511 </BackgroundInsets>
madcatzinc@43 512 <TileSize><AbsValue val="32"/></TileSize>
madcatzinc@43 513 <EdgeSize><AbsValue val="32"/></EdgeSize>
madcatzinc@43 514 </Backdrop>
madcatzinc@43 515 <Layers>
madcatzinc@43 516 <Layer level="ARTWORK">
madcatzinc@43 517 <Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
madcatzinc@43 518 <Size><AbsDimension x="500" y="64"/></Size>
madcatzinc@43 519 <Anchors>
madcatzinc@43 520 <Anchor point="TOP"><Offset><AbsDimension x="0" y="12"/></Offset></Anchor>
madcatzinc@43 521 </Anchors>
madcatzinc@43 522 </Texture>
madcatzinc@43 523 <FontString name="$parentHeaderText" inherits="GameFontNormal" text="FillerText">
madcatzinc@43 524 <Size><AbsDimension x="500" y="13"/></Size>
madcatzinc@43 525 <Anchors>
madcatzinc@43 526 <Anchor point="TOP" relativeTo="$parentHeader">
madcatzinc@43 527 <Offset><AbsDimension x="0" y="-13"/></Offset>
madcatzinc@43 528 </Anchor>
madcatzinc@43 529 </Anchors>
madcatzinc@43 530 </FontString>
madcatzinc@43 531 <FontString inherits="GameFontNormalLarge" name="$parentButtonName" text="Button Name">
madcatzinc@43 532 <Anchors>
madcatzinc@43 533 <Anchor point="CENTER" relativeTo="$parent">
madcatzinc@43 534 <Offset><AbsDimension x="0" y="32"/></Offset>
madcatzinc@43 535 </Anchor>
madcatzinc@43 536 </Anchors>
madcatzinc@43 537 </FontString>
madcatzinc@43 538 <FontString name="$parentKey" inherits="GameFontNormalLarge" text="KeyText">
madcatzinc@43 539 <Anchors>
madcatzinc@43 540 <Anchor point="CENTER" relativeTo="$parent">
madcatzinc@43 541 <Offset><AbsDimension x="0" y="-16"/></Offset>
madcatzinc@43 542 </Anchor>
madcatzinc@43 543 </Anchors>
madcatzinc@43 544 </FontString>
madcatzinc@43 545 </Layer>
madcatzinc@43 546 </Layers>
madcatzinc@43 547 <Frames>
madcatzinc@43 548 <Button name="$parentCloseButton" inherits="UIPanelCloseButton">
madcatzinc@43 549 <Anchors>
madcatzinc@43 550 <Anchor point="TOPRIGHT">
madcatzinc@43 551 <Offset><AbsDimension x="-3" y="-3"/></Offset>
madcatzinc@43 552 </Anchor>
madcatzinc@43 553 </Anchors>
madcatzinc@43 554 </Button>
madcatzinc@43 555 <Button name="$parentExitButton" inherits="UIPanelButtonTemplate" text="Close">
madcatzinc@43 556 <Size><AbsDimension x="80" y="26"/></Size>
madcatzinc@43 557 <Anchors>
madcatzinc@43 558 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
madcatzinc@43 559 <Offset><AbsDimension x="-12" y="12"/></Offset>
madcatzinc@43 560 </Anchor>
madcatzinc@43 561 </Anchors>
madcatzinc@43 562 <Scripts>
madcatzinc@43 563 <OnClick>
madcatzinc@43 564 HideUIPanel(self:GetParent())
madcatzinc@43 565 </OnClick>
madcatzinc@43 566 </Scripts>
madcatzinc@43 567 </Button>
madcatzinc@43 568 </Frames>
madcatzinc@1 569
madcatzinc@43 570 <Scripts>
madcatzinc@43 571 <OnLoad>
madcatzinc@43 572 CyborgMMO_LoadStrings(getglobal(self:GetName().."HeaderText"))
madcatzinc@43 573 CyborgMMO_LoadStrings(getglobal(self:GetName().."ExitButton"))
madcatzinc@43 574 self:RegisterForClicks("AnyUp")
madcatzinc@43 575 </OnLoad>
madcatzinc@43 576 <OnClick>
madcatzinc@43 577 CyborgMMO_BindingFrameOnKeyDown(self, button)
madcatzinc@43 578 </OnClick>
madcatzinc@43 579 <OnKeyDown>
madcatzinc@43 580 CyborgMMO_BindingFrameOnKeyDown(self, key)
madcatzinc@43 581 </OnKeyDown>
madcatzinc@43 582 <OnMouseWheel>
madcatzinc@43 583 if delta > 0 then
madcatzinc@43 584 CyborgMMO_BindingFrameOnKeyDown(self, "MOUSEWHEELUP")
madcatzinc@43 585 else
madcatzinc@43 586 CyborgMMO_BindingFrameOnKeyDown(self, "MOUSEWHEELDOWN")
madcatzinc@43 587 end
madcatzinc@43 588 </OnMouseWheel>
madcatzinc@43 589 </Scripts>
madcatzinc@43 590 </Button>
madcatzinc@0 591 </Ui>