Mercurial > wow > cyborg-mmo7
comparison OpenButtonPage.xml @ 43:f02cf040133c
Cleaned up whitespace (and other minor details) in all the XML files.
| author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
|---|---|
| date | Mon, 29 Apr 2013 17:44:40 +0000 |
| parents | 6cb9a2936580 |
| children | 3e4739a6a99d |
comparison
equal
deleted
inserted
replaced
| 42:5d18eb57ea2f | 43:f02cf040133c |
|---|---|
| 1 <Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | 1 <Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 2 <!-- | 2 <!-- |
| 3 Warcraft Plugin for Cyborg MMO7 | 3 Warcraft Plugin for Cyborg MMO7 |
| 4 Filename: OpenButtonPage.xml | 4 Filename: OpenButtonPage.xml |
| 5 Description: The Cyborg Head logo button which opens and closes the UI | 5 Description: The Cyborg Head logo button which opens and closes the UI |
| 6 Copyright (C) 2012 Mad Catz Inc. | 6 Copyright (C) 2012 Mad Catz Inc. |
| 7 Author: Christopher Hooks | 7 Author: Christopher Hooks |
| 8 | 8 |
| 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 GNU General Public License for more details. | 17 GNU General Public License for more details. |
| 18 | 18 |
| 19 You should have received a copy of the GNU General Public License | 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 | 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. | 21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 22 --> | 22 --> |
| 23 | |
| 23 <Frame name="CyborgMMO_OpenButtonPage" movable="true" clampedtoscreen="true" enableMouse="true" hidden="true"> | 24 <Frame name="CyborgMMO_OpenButtonPage" movable="true" clampedtoscreen="true" enableMouse="true" hidden="true"> |
| 24 <TitleRegion> | 25 <TitleRegion> |
| 25 <Size x="75" y="75"/> | 26 <Size x="75" y="75"/> |
| 27 <Anchors> | |
| 28 <Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor> | |
| 29 </Anchors> | |
| 30 </TitleRegion> | |
| 31 <Size><AbsDimension x="50" y="50"/></Size> | |
| 32 <Anchors> | |
| 33 <Anchor point="LEFT" relativeTo="UIParent"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor> | |
| 34 </Anchors> | |
| 35 <Frames> | |
| 36 <Button name="$parentOpenMainForm" clampedtoscreen="true" enableMouse="true" movable="true"> | |
| 37 <Size><AbsDimension x="75" y="75"/></Size> | |
| 26 <Anchors> | 38 <Anchors> |
| 27 <Anchor point="TOPLEFT"> | 39 <Anchor point="TOPLEFT"><Offset><AbsDimension x="16" y="-14"/></Offset></Anchor> |
| 28 <Offset> | |
| 29 <AbsDimension x="0" y="0" /> | |
| 30 </Offset> | |
| 31 </Anchor> | |
| 32 </Anchors> | 40 </Anchors> |
| 33 </TitleRegion> | 41 <Scripts> |
| 34 <Size> | 42 <OnLoad> |
| 35 <AbsDimension x="50" y="50" /> | 43 self:RegisterForDrag("LeftButton", "RightButton") |
| 36 </Size> | 44 </OnLoad> |
| 37 <Anchors> | 45 <OnClick> |
| 38 <Anchor point="LEFT" relativeTo="UIParent"> | 46 CyborgMMO_Toggle() |
| 39 <Offset> | 47 </OnClick> |
| 40 <AbsDimension x="0" y="0" /> | 48 <OnDragStart> |
| 41 </Offset> | 49 self:StartMoving() |
| 42 </Anchor> | 50 self.isMoving = true |
| 43 </Anchors> | 51 </OnDragStart> |
| 44 <Frames> | 52 <OnDragStop> |
| 45 <Button name="$parentOpenMainForm" clampedtoscreen="true" enableMouse="true" movable="true"> | 53 self:StopMovingOrSizing() |
| 46 <Size> | 54 self.isMoving = false |
| 47 <AbsDimension x="75" y="75" /> | 55 </OnDragStop> |
| 48 </Size> | 56 <OnEnter> |
| 49 <Anchors> | 57 CyborgMMO_ShowProfileTooltip(self:GetNormalTexture()) |
| 50 <Anchor point="TOPLEFT"> | 58 </OnEnter> |
| 51 <Offset> | 59 <OnLeave> |
| 52 <AbsDimension x="16" y="-14" /> | 60 CyborgMMO_HideProfileTooltip() |
| 53 </Offset> | 61 </OnLeave> |
| 54 </Anchor> | 62 </Scripts> |
| 55 </Anchors> | |
| 56 <Scripts> | |
| 57 <OnLoad> | |
| 58 self:RegisterForDrag("LeftButton", "RightButton") | |
| 59 </OnLoad> | |
| 60 <OnClick> | |
| 61 CyborgMMO_Toggle() | |
| 62 </OnClick> | |
| 63 <OnDragStart> | |
| 64 self:StartMoving() | |
| 65 self.isMoving = true | |
| 66 </OnDragStart> | |
| 67 <OnDragStop> | |
| 68 self:StopMovingOrSizing() | |
| 69 self.isMoving = false | |
| 70 </OnDragStop> | |
| 71 <OnEnter> | |
| 72 CyborgMMO_ShowProfileTooltip(self:GetNormalTexture()) | |
| 73 </OnEnter> | |
| 74 <OnLeave> | |
| 75 CyborgMMO_HideProfileTooltip() | |
| 76 </OnLeave> | |
| 77 </Scripts> | |
| 78 | 63 |
| 79 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg.tga"> | 64 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg.tga"> |
| 80 <Color r="0.0" g="0.0" b="0.0" a="1" /> | 65 <Color r="0.0" g="0.0" b="0.0" a="1"/> |
| 81 </NormalTexture> | 66 </NormalTexture> |
| 67 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow.tga"> | |
| 68 <Color r=".38" g=".85" b="1.0" a="0.90"/> | |
| 69 </HighlightTexture> | |
| 82 | 70 |
| 83 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow.tga"> | 71 <ButtonText name="$parentText"> |
| 84 <Color r=".38" g=".85" b="1.0" a="0.90" /> | 72 <FontHeight><AbsValue val="10"/></FontHeight> |
| 85 </HighlightTexture> | 73 </ButtonText> |
| 86 <ButtonText name="$parentText"> | 74 |
| 87 <FontHeight> | 75 <NormalFont style="GameFontNormal"/> |
| 88 <AbsValue val="10" /> | 76 <HighlightFont style="GameFontHighlight"/> |
| 89 </FontHeight> | 77 <DisabledFont style="GameFontDisable"/> |
| 90 </ButtonText> | 78 <PushedTextOffset x="0" y="0"/> |
| 91 <NormalFont style="GameFontNormal" /> | |
| 92 <HighlightFont style="GameFontHighlight" /> | |
| 93 <DisabledFont style="GameFontDisable" /> | |
| 94 <PushedTextOffset x="0" y="0" /> | |
| 95 </Button> | 79 </Button> |
| 96 </Frames> | 80 </Frames> |
| 97 </Frame> | 81 </Frame> |
| 98 | 82 |
| 99 <Frame name="CyborgMMO_MiniMapFrame" parent="Minimap" enableMouse="true" hidden="false" frameStrata="LOW"> | 83 <Frame name="CyborgMMO_MiniMapFrame" parent="Minimap" enableMouse="true" hidden="false" frameStrata="LOW"> |
| 100 <Size> | 84 <Size><AbsDimension x="32" y="32"/></Size> |
| 101 <AbsDimension x="32" y="32"/> | |
| 102 </Size> | |
| 103 <Anchors> | 85 <Anchors> |
| 104 <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT"> | 86 <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT"> |
| 105 <Offset> | 87 <Offset><AbsDimension x="2" y="0"/></Offset> |
| 106 <AbsDimension x="2" y="0"/> | |
| 107 </Offset> | |
| 108 </Anchor> | 88 </Anchor> |
| 109 </Anchors> | 89 </Anchors> |
| 110 <Frames> | 90 <Frames> |
| 111 <Button name="$parentButton"> | 91 <Button name="$parentButton"> |
| 112 <Size> | 92 <Size><AbsDimension x="33" y="33"/></Size> |
| 113 <AbsDimension x="33" y="33"/> | |
| 114 </Size> | |
| 115 <Anchors> | 93 <Anchors> |
| 116 <Anchor point="TOPLEFT"> | 94 <Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor> |
| 117 <Offset> | |
| 118 <AbsDimension x="0" y="0"/> | |
| 119 </Offset> | |
| 120 </Anchor> | |
| 121 </Anchors> | 95 </Anchors> |
| 122 <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> | 96 <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
| 123 <Layers> | 97 <Layers> |
| 124 <Layer level="BACKGROUND"> | 98 <Layer level="BACKGROUND"> |
| 125 <Texture name="$parent_Icon" file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg.tga"> | 99 <Texture name="$parent_Icon" file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg.tga"> |
| 126 <Size> | 100 <Size><AbsDimension x="22" y="22"/></Size> |
| 127 <AbsDimension x="22" y="22"/> | |
| 128 </Size> | |
| 129 <Anchors> | 101 <Anchors> |
| 130 <Anchor point="TOPLEFT"> | 102 <Anchor point="TOPLEFT"><AbsDimension x="6" y="-5"/></Anchor> |
| 131 <AbsDimension x="6" y="-5"/> | |
| 132 </Anchor> | |
| 133 </Anchors> | 103 </Anchors> |
| 134 <Color r="0.0" g="0.0" b="0.0" a="1" /> | 104 <Color r="0.0" g="0.0" b="0.0" a="1"/> |
| 135 </Texture> | 105 </Texture> |
| 136 </Layer> | 106 </Layer> |
| 137 <Layer level="ARTWORK"> | 107 <Layer level="ARTWORK"> |
| 138 <Texture name="$parent_IconGlow" file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow.tga"> | 108 <Texture name="$parent_IconGlow" file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow.tga"> |
| 139 <Size> | 109 <Size><AbsDimension x="22" y="22"/></Size> |
| 140 <AbsDimension x="22" y="22"/> | |
| 141 </Size> | |
| 142 <Anchors> | 110 <Anchors> |
| 143 <Anchor point="TOPLEFT"> | 111 <Anchor point="TOPLEFT"><AbsDimension x="6" y="-5"/></Anchor> |
| 144 <AbsDimension x="6" y="-5"/> | |
| 145 </Anchor> | |
| 146 </Anchors> | 112 </Anchors> |
| 147 <Color r=".38" g=".85" b="1.0" a="0.90" /> | 113 <Color r=".38" g=".85" b="1.0" a="0.90"/> |
| 148 </Texture> | 114 </Texture> |
| 149 </Layer> | 115 </Layer> |
| 150 <Layer level="OVERLAY"> | 116 <Layer level="OVERLAY"> |
| 151 <Texture file="Interface\Minimap\MiniMap-TrackingBorder"> | 117 <Texture file="Interface\Minimap\MiniMap-TrackingBorder"> |
| 152 <Size> | 118 <Size><AbsDimension x="56" y="56"/></Size> |
| 153 <AbsDimension x="56" y="56"/> | |
| 154 </Size> | |
| 155 <Anchors> | 119 <Anchors> |
| 156 <Anchor point="TOPLEFT"/> | 120 <Anchor point="TOPLEFT"/> |
| 157 </Anchors> | 121 </Anchors> |
| 158 </Texture> | 122 </Texture> |
| 159 </Layer> | 123 </Layer> |
| 167 <OnMouseUp> | 131 <OnMouseUp> |
| 168 CyborgMMO_Toggle() | 132 CyborgMMO_Toggle() |
| 169 if not CyborgMMO_IsOpen() then | 133 if not CyborgMMO_IsOpen() then |
| 170 CyborgMMO_RatQuickPage:Show() | 134 CyborgMMO_RatQuickPage:Show() |
| 171 end | 135 end |
| 172 </OnMouseUp> | 136 </OnMouseUp> |
| 173 <OnEnter> | 137 <OnEnter> |
| 174 if not CyborgMMO_IsOpen() then | 138 if not CyborgMMO_IsOpen() then |
| 175 CyborgMMO_RatQuickPage:Show() | 139 CyborgMMO_RatQuickPage:Show() |
| 176 end | 140 end |
| 177 CyborgMMO_ShowProfileTooltip(getglobal(self:GetName().."_Icon")) | 141 CyborgMMO_ShowProfileTooltip(getglobal(self:GetName().."_Icon")) |
