Mercurial > wow > cyborg-mmo7
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MainPage.xml Tue Jan 24 17:14:21 2012 +0000 @@ -0,0 +1,199 @@ +<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <!-- + Warcraft Plugin for Cyborg MMO7 + Filename: MainPage.xml + Description: Xml description of the MMO7 UI + Copyright (C) 2012 Mad Catz Inc. + Author: Christopher Hooks + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + --> + + <!-- UIButtonsTemplate--> + <Button name="WowCallbackButtonsTemplate" virtual="true" inherits="IconTemplate"> + <Scripts> + <OnLoad> + self = CallbackIcons.new(self); + </OnLoad> + <OnClick> + self.OnClick(); + </OnClick> + <OnDragStart> + self.DragStart(); + </OnDragStart> + <OnDragStop> + self.DragStop(); + </OnDragStop> + </Scripts> + </Button> + + <!-- The Main Form --> + <Frame name="MainPage" movable="true" enableMouse="true" clampedtoscreen="true" frameStrata="MEDIUM"> + <TitleRegion> + <Size x="512" y="512"/> + <Anchors> + <Anchor point="LEFT"> + <Offset> + <AbsDimension x="0" + y="0" /> + </Offset> + </Anchor> + </Anchors> + </TitleRegion> + <Size> + <AbsDimension x="512" y="512" /> + </Size> + <Anchors> + <Anchor point="LEFT" relativeTo="UIParent"> + <Offset> + <AbsDimension x="0" y="0" /> + </Offset> + </Anchor> + </Anchors> + <Layers> + <Layer level="BACKGROUND"> + <Texture name="BackgroundTexture" + file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndAllIcons.tga" > + <Size> + <AbsDimension x="512" + y="512" /> + </Size> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="0" + y="0" /> + </Offset> + </Anchor> + </Anchors> + </Texture> + </Layer> + <Layer level="ARTWORK"> + <Texture name="RatCalloutsTexture" + file="Interface\AddOns\CyborgMMO7\Graphics\Lines.tga" > + + <Size> + <AbsDimension x="512" + y="512" /> + </Size> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="0" + y="0" /> + </Offset> + </Anchor> + </Anchors> + </Texture> + </Layer> + </Layers> + <Frames> + <Button name="CharacterPage" inherits="WowCallbackButtonsTemplate" resize="false"> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="379" y="-411" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="Inventory" inherits="WowCallbackButtonsTemplate"> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="379" y="-446" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="Spellbook" inherits="WowCallbackButtonsTemplate"> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="414" y="-411" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="Macros" inherits="WowCallbackButtonsTemplate"> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="449" y="-446" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="Achievement" inherits="WowCallbackButtonsTemplate"> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="449" y="-411" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="QuestLog" inherits="WowCallbackButtonsTemplate"> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="344" y="-446" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="Map" inherits="WowCallbackButtonsTemplate"> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="414" y="-446" /> + </Offset> + </Anchor> + </Anchors> + </Button> + <Button name="$parentCloseButton"> + <Size> + <AbsDimension x="23" y="24" /> + </Size> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="474" y="-8" /> + </Offset> + </Anchor> + </Anchors> + <Scripts> + <OnClick>Close()</OnClick> + </Scripts> + <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButton.tga"/> + <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonDown.tga"/> + <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonOver.tga" alpha=".5"/> + </Button> + <Frame name="defaultPage" inherits="RatPageTemplate"> + <Anchors> + <Anchor point="TOPLEFT"> + <Offset> + <AbsDimension x="0" y="0"/> + </Offset> + </Anchor> + </Anchors> + </Frame> + </Frames> + <Scripts> + <OnLoad>Loaded();</OnLoad> + <OnEvent>Event(this, event,...);</OnEvent> + </Scripts> + </Frame> +</Ui>