annotate RatQuickPage.xml @ 59:b7ee4a10eaf0

Initialize the Cyborg heads as mode 1. Still display the minimap button tooltip until a mode change has been detected.
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Fri, 03 May 2013 23:24:48 +0000
parents 1a29be548897
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: RatQuickPage.xml
madcatzinc@0 5 Description: The mouse over reminder page for the commands.
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 <!-- IconTemplate-->
madcatzinc@4 25 <Button name="CyborgMMO_TemplateSmallIcon" virtual="true">
madcatzinc@43 26 <Size><AbsDimension x="16.5" y="16.5"/></Size>
madcatzinc@0 27 <Layers>
madcatzinc@0 28 <Layer level="OVERLAY">
madcatzinc@0 29 <Texture name="$parentIcon"/>
madcatzinc@0 30 </Layer>
madcatzinc@0 31 <Layer level="ARTWORK">
madcatzinc@0 32 <FontString name="$parentHotKey" inherits="NumberFontNormalSmallGray" justifyH="RIGHT">
madcatzinc@43 33 <Size><AbsDimension x="32" y="10"/></Size>
madcatzinc@43 34 <Anchors>
madcatzinc@43 35 <Anchor point="TOPLEFT"><Offset><AbsDimension x="-2" y="-2"/></Offset></Anchor>
madcatzinc@43 36 </Anchors>
madcatzinc@0 37 </FontString>
madcatzinc@0 38 </Layer>
madcatzinc@0 39 </Layers>
madcatzinc@0 40 <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
madcatzinc@0 41 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
madcatzinc@0 42 </Button>
madcatzinc@0 43
madcatzinc@4 44 <Button name="CyborgMMO_TemplateSmallSlot" inherits="CyborgMMO_TemplateSmallIcon" virtual="true">
madcatzinc@0 45 <Scripts>
madcatzinc@0 46 <OnLoad>
madcatzinc@13 47 self = CyborgMMO_SlotMiniView.new(self)
madcatzinc@0 48 </OnLoad>
madcatzinc@0 49 <OnClick>
madcatzinc@13 50 self.Clicked()
madcatzinc@0 51 </OnClick>
madcatzinc@0 52 </Scripts>
madcatzinc@0 53 </Button>
madcatzinc@0 54
madcatzinc@0 55 <!-- The Rat Page Frame -->
madcatzinc@4 56 <Frame name="CyborgMMO_RatQuickPage" hidden="true">
madcatzinc@43 57 <Size><AbsDimension x="256" y="256"/></Size>
madcatzinc@0 58 <Anchors>
madcatzinc@0 59 <Anchor point="CENTER" relativeTo="UIParent">
madcatzinc@43 60 <Offset><AbsDimension x="0" y="0"/></Offset>
madcatzinc@0 61 </Anchor>
madcatzinc@0 62 </Anchors>
madcatzinc@0 63 <Layers>
madcatzinc@0 64 <Layer level="BACKGROUND">
madcatzinc@47 65 <Texture name="$parentBackgroundTexture" file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndLeftSide">
madcatzinc@43 66 <Size><AbsDimension x="256" y="256"/></Size>
madcatzinc@43 67 <Anchors>
madcatzinc@43 68 <Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
madcatzinc@43 69 </Anchors>
madcatzinc@43 70 </Texture>
madcatzinc@0 71 </Layer>
madcatzinc@0 72 <Layer level="ARTWORK">
madcatzinc@47 73 <Texture name="$parentCalloutsTexture" file="Interface\AddOns\CyborgMMO7\Graphics\Lines">
madcatzinc@43 74 <Size><AbsDimension x="256" y="256"/></Size>
madcatzinc@43 75 <Anchors>
madcatzinc@43 76 <Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
madcatzinc@43 77 </Anchors>
madcatzinc@43 78 </Texture>
madcatzinc@0 79 </Layer>
madcatzinc@0 80 </Layers>
madcatzinc@0 81 <!-- Our Slot Locations -->
madcatzinc@0 82 <Frames>
madcatzinc@4 83 <CheckButton name="$parentSlot1" inherits="CyborgMMO_TemplateSmallSlot" id="1">
madcatzinc@0 84 <Anchors>
madcatzinc@43 85 <Anchor point="TOPLEFT"><Offset><AbsDimension x="34" y="-58"/></Offset></Anchor>
madcatzinc@0 86 </Anchors>
madcatzinc@0 87 </CheckButton>
madcatzinc@4 88 <CheckButton name="$parentSlot2" inherits="CyborgMMO_TemplateSmallSlot" id="2">
madcatzinc@0 89 <Anchors>
madcatzinc@43 90 <Anchor point="TOPLEFT"><Offset><AbsDimension x="34" y="-76"/></Offset></Anchor>
madcatzinc@0 91 </Anchors>
madcatzinc@0 92 </CheckButton>
madcatzinc@4 93 <CheckButton name="$parentSlot3" inherits="CyborgMMO_TemplateSmallSlot" id="3">
madcatzinc@0 94 <Anchors>
madcatzinc@43 95 <Anchor point="TOPLEFT"><Offset><AbsDimension x="34" y="-94"/></Offset></Anchor>
madcatzinc@0 96 </Anchors>
madcatzinc@0 97 </CheckButton>
madcatzinc@4 98 <CheckButton name="$parentSlot4" inherits="CyborgMMO_TemplateSmallSlot" id="4">
madcatzinc@0 99 <Anchors>
madcatzinc@43 100 <Anchor point="TOPLEFT"><Offset><AbsDimension x="34" y="-119"/></Offset></Anchor>
madcatzinc@0 101 </Anchors>
madcatzinc@0 102 </CheckButton>
madcatzinc@4 103 <CheckButton name="$parentSlot5" inherits="CyborgMMO_TemplateSmallSlot" id="5">
madcatzinc@0 104 <Anchors>
madcatzinc@43 105 <Anchor point="TOPLEFT"><Offset><AbsDimension x="34" y="-136"/></Offset></Anchor>
madcatzinc@0 106 </Anchors>
madcatzinc@0 107 </CheckButton>
madcatzinc@4 108 <CheckButton name="$parentSlot6" inherits="CyborgMMO_TemplateSmallSlot" id="6">
madcatzinc@0 109 <Anchors>
madcatzinc@43 110 <Anchor point="TOPLEFT"><Offset><AbsDimension x="34" y="-153"/></Offset></Anchor>
madcatzinc@0 111 </Anchors>
madcatzinc@0 112 </CheckButton>
madcatzinc@4 113 <CheckButton name="$parentSlot7" inherits="CyborgMMO_TemplateSmallSlot" id="7">
madcatzinc@0 114 <Anchors>
madcatzinc@43 115 <Anchor point="TOPLEFT"><Offset><AbsDimension x="16.5" y="-136"/></Offset></Anchor>
madcatzinc@0 116 </Anchors>
madcatzinc@0 117 </CheckButton>
madcatzinc@4 118 <CheckButton name="$parentSlot8" inherits="CyborgMMO_TemplateSmallSlot" id="8">
madcatzinc@0 119 <Anchors>
madcatzinc@43 120 <Anchor point="TOPLEFT"><Offset><AbsDimension x="52.5" y="-136"/></Offset></Anchor>
madcatzinc@0 121 </Anchors>
madcatzinc@0 122 </CheckButton>
madcatzinc@4 123 <CheckButton name="$parentSlot9" inherits="CyborgMMO_TemplateSmallSlot" id="9">
madcatzinc@0 124 <Anchors>
madcatzinc@43 125 <Anchor point="TOPLEFT"><Offset><AbsDimension x="34" y="-180"/></Offset></Anchor>
madcatzinc@0 126 </Anchors>
madcatzinc@0 127 </CheckButton>
madcatzinc@4 128 <CheckButton name="$parentSlot10" inherits="CyborgMMO_TemplateSmallSlot" id="10">
madcatzinc@0 129 <Anchors>
madcatzinc@43 130 <Anchor point="TOPLEFT"><Offset><AbsDimension x="34" y="-197"/></Offset></Anchor>
madcatzinc@0 131 </Anchors>
madcatzinc@0 132 </CheckButton>
madcatzinc@4 133 <CheckButton name="$parentSlot11" inherits="CyborgMMO_TemplateSmallSlot" id="11">
madcatzinc@0 134 <Anchors>
madcatzinc@43 135 <Anchor point="TOPLEFT"><Offset><AbsDimension x="34" y="-214"/></Offset></Anchor>
madcatzinc@0 136 </Anchors>
madcatzinc@0 137 </CheckButton>
madcatzinc@4 138 <CheckButton name="$parentSlot12" inherits="CyborgMMO_TemplateSmallSlot" id="12">
madcatzinc@0 139 <Anchors>
madcatzinc@43 140 <Anchor point="TOPLEFT"><Offset><AbsDimension x="24" y="-33"/></Offset></Anchor>
madcatzinc@0 141 </Anchors>
madcatzinc@0 142 </CheckButton>
madcatzinc@4 143 <CheckButton name="$parentSlot13" inherits="CyborgMMO_TemplateSmallSlot" id="13">
madcatzinc@0 144 <Anchors>
madcatzinc@43 145 <Anchor point="TOPLEFT"><Offset><AbsDimension x="44" y="-33"/></Offset></Anchor>
madcatzinc@0 146 </Anchors>
madcatzinc@0 147 </CheckButton>
madcatzinc@0 148 </Frames>
madcatzinc@0 149 <Scripts>
madcatzinc@0 150 <OnLoad>
madcatzinc@13 151 CyborgMMO_RatQuickPageView.new(self)
madcatzinc@0 152 </OnLoad>
madcatzinc@0 153 </Scripts>
madcatzinc@0 154 </Frame>
madcatzinc@0 155 </Ui>