comparison MainPage.xml @ 4:d186f8cd5000

Renamed functions to avoid conflicts
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Mon, 28 May 2012 15:54:52 +0000
parents bf9220814fb5
children 6cb9a2936580
comparison
equal deleted inserted replaced
3:461854a2849c 4:d186f8cd5000
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
24 <!-- UIButtonsTemplate--> 24 <!-- UIButtonsTemplate-->
25 <Button name="WowCallbackButtonsTemplate" virtual="true" inherits="IconTemplate"> 25 <Button name="CyborgMMO_TemplateCallbackButton" virtual="true" inherits="CyborgMMO_TemplateIcon">
26 <Scripts> 26 <Scripts>
27 <OnLoad> 27 <OnLoad>
28 self = CallbackIcons.new(self); 28 self = CyborgMMO_CallbackIcons.new(self);
29 </OnLoad> 29 </OnLoad>
30 <OnClick> 30 <OnClick>
31 self.OnClick(); 31 self.OnClick();
32 </OnClick> 32 </OnClick>
33 <OnDragStart> 33 <OnDragStart>
38 </OnDragStop> 38 </OnDragStop>
39 </Scripts> 39 </Scripts>
40 </Button> 40 </Button>
41 41
42 <!-- The Main Form --> 42 <!-- The Main Form -->
43 <Frame name="MainPage" movable="true" enableMouse="true" clampedtoscreen="true" frameStrata="MEDIUM"> 43 <Frame name="CyborgMMO_MainPage" movable="true" enableMouse="true" clampedtoscreen="true" frameStrata="MEDIUM">
44 <TitleRegion> 44 <TitleRegion>
45 <Size x="512" y="512"/> 45 <Size x="512" y="512"/>
46 <Anchors> 46 <Anchors>
47 <Anchor point="LEFT"> 47 <Anchor point="LEFT">
48 <Offset> 48 <Offset>
62 </Offset> 62 </Offset>
63 </Anchor> 63 </Anchor>
64 </Anchors> 64 </Anchors>
65 <Layers> 65 <Layers>
66 <Layer level="BACKGROUND"> 66 <Layer level="BACKGROUND">
67 <Texture name="BackgroundTexture" 67 <Texture name="$parentBackgroundTexture"
68 file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndAllIcons.tga" > 68 file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndAllIcons.tga" >
69 <Size> 69 <Size>
70 <AbsDimension x="512" 70 <AbsDimension x="512"
71 y="512" /> 71 y="512" />
72 </Size> 72 </Size>
79 </Anchor> 79 </Anchor>
80 </Anchors> 80 </Anchors>
81 </Texture> 81 </Texture>
82 </Layer> 82 </Layer>
83 <Layer level="ARTWORK"> 83 <Layer level="ARTWORK">
84 <Texture name="RatCalloutsTexture" 84 <Texture name="$parentRatCalloutsTexture"
85 file="Interface\AddOns\CyborgMMO7\Graphics\Lines.tga" > 85 file="Interface\AddOns\CyborgMMO7\Graphics\Lines.tga" >
86 86
87 <Size> 87 <Size>
88 <AbsDimension x="512" 88 <AbsDimension x="512"
89 y="512" /> 89 y="512" />
98 </Anchors> 98 </Anchors>
99 </Texture> 99 </Texture>
100 </Layer> 100 </Layer>
101 </Layers> 101 </Layers>
102 <Frames> 102 <Frames>
103 <Button name="CharacterPage" inherits="WowCallbackButtonsTemplate" resize="false"> 103 <Button name="$parentCharacterPage" inherits="CyborgMMO_TemplateCallbackButton" resize="false">
104 <Anchors> 104 <Anchors>
105 <Anchor point="TOPLEFT"> 105 <Anchor point="TOPLEFT">
106 <Offset> 106 <Offset>
107 <AbsDimension x="379" y="-411" /> 107 <AbsDimension x="379" y="-411" />
108 </Offset> 108 </Offset>
109 </Anchor> 109 </Anchor>
110 </Anchors> 110 </Anchors>
111 </Button> 111 </Button>
112 <Button name="Inventory" inherits="WowCallbackButtonsTemplate"> 112 <Button name="$parentInventory" inherits="CyborgMMO_TemplateCallbackButton">
113 <Anchors> 113 <Anchors>
114 <Anchor point="TOPLEFT"> 114 <Anchor point="TOPLEFT">
115 <Offset> 115 <Offset>
116 <AbsDimension x="379" y="-446" /> 116 <AbsDimension x="379" y="-446" />
117 </Offset> 117 </Offset>
118 </Anchor> 118 </Anchor>
119 </Anchors> 119 </Anchors>
120 </Button> 120 </Button>
121 <Button name="Spellbook" inherits="WowCallbackButtonsTemplate"> 121 <Button name="$parentSpellbook" inherits="CyborgMMO_TemplateCallbackButton">
122 <Anchors> 122 <Anchors>
123 <Anchor point="TOPLEFT"> 123 <Anchor point="TOPLEFT">
124 <Offset> 124 <Offset>
125 <AbsDimension x="414" y="-411" /> 125 <AbsDimension x="414" y="-411" />
126 </Offset> 126 </Offset>
127 </Anchor> 127 </Anchor>
128 </Anchors> 128 </Anchors>
129 </Button> 129 </Button>
130 <Button name="Macros" inherits="WowCallbackButtonsTemplate"> 130 <Button name="$parentMacros" inherits="CyborgMMO_TemplateCallbackButton">
131 <Anchors> 131 <Anchors>
132 <Anchor point="TOPLEFT"> 132 <Anchor point="TOPLEFT">
133 <Offset> 133 <Offset>
134 <AbsDimension x="449" y="-446" /> 134 <AbsDimension x="449" y="-446" />
135 </Offset> 135 </Offset>
136 </Anchor> 136 </Anchor>
137 </Anchors> 137 </Anchors>
138 </Button> 138 </Button>
139 <Button name="Achievement" inherits="WowCallbackButtonsTemplate"> 139 <Button name="$parentAchievement" inherits="CyborgMMO_TemplateCallbackButton">
140 <Anchors> 140 <Anchors>
141 <Anchor point="TOPLEFT"> 141 <Anchor point="TOPLEFT">
142 <Offset> 142 <Offset>
143 <AbsDimension x="449" y="-411" /> 143 <AbsDimension x="449" y="-411" />
144 </Offset> 144 </Offset>
145 </Anchor> 145 </Anchor>
146 </Anchors> 146 </Anchors>
147 </Button> 147 </Button>
148 <Button name="QuestLog" inherits="WowCallbackButtonsTemplate"> 148 <Button name="$parentQuestLog" inherits="CyborgMMO_TemplateCallbackButton">
149 <Anchors> 149 <Anchors>
150 <Anchor point="TOPLEFT"> 150 <Anchor point="TOPLEFT">
151 <Offset> 151 <Offset>
152 <AbsDimension x="344" y="-446" /> 152 <AbsDimension x="344" y="-446" />
153 </Offset> 153 </Offset>
154 </Anchor> 154 </Anchor>
155 </Anchors> 155 </Anchors>
156 </Button> 156 </Button>
157 <Button name="Map" inherits="WowCallbackButtonsTemplate"> 157 <Button name="$parentMap" inherits="CyborgMMO_TemplateCallbackButton">
158 <Anchors> 158 <Anchors>
159 <Anchor point="TOPLEFT"> 159 <Anchor point="TOPLEFT">
160 <Offset> 160 <Offset>
161 <AbsDimension x="414" y="-446" /> 161 <AbsDimension x="414" y="-446" />
162 </Offset> 162 </Offset>
173 <AbsDimension x="474" y="-8" /> 173 <AbsDimension x="474" y="-8" />
174 </Offset> 174 </Offset>
175 </Anchor> 175 </Anchor>
176 </Anchors> 176 </Anchors>
177 <Scripts> 177 <Scripts>
178 <OnClick>Close()</OnClick> 178 <OnClick>CyborgMMO_Close()</OnClick>
179 </Scripts> 179 </Scripts>
180 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButton.tga"/> 180 <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButton.tga"/>
181 <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonDown.tga"/> 181 <PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonDown.tga"/>
182 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonOver.tga" alpha=".5"/> 182 <HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonOver.tga" alpha=".5"/>
183 </Button> 183 </Button>
184 <Frame name="defaultPage" inherits="RatPageTemplate"> 184 <Frame name="$parentSlotList" inherits="CyborgMMO_TemplateRatPage">
185 <Anchors> 185 <Anchors>
186 <Anchor point="TOPLEFT"> 186 <Anchor point="TOPLEFT">
187 <Offset> 187 <Offset>
188 <AbsDimension x="0" y="0"/> 188 <AbsDimension x="0" y="0"/>
189 </Offset> 189 </Offset>
190 </Anchor> 190 </Anchor>
191 </Anchors> 191 </Anchors>
192 </Frame> 192 </Frame>
193 </Frames> 193 </Frames>
194 <Scripts> 194 <Scripts>
195 <OnLoad>Loaded();</OnLoad> 195 <OnLoad>CyborgMMO_Loaded();</OnLoad>
196 <OnEvent>Event(this, event,...);</OnEvent> 196 <OnEvent>CyborgMMO_Event(this, event,...);</OnEvent>
197 </Scripts> 197 </Scripts>
198 </Frame> 198 </Frame>
199 </Ui> 199 </Ui>