vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd"> |
||
3 | |||
4 | <!-- Frame to handle all core events --> |
||
5 | <Frame name="MailTo_Frame" frameStrata="LOW" toplevel="true" parent="UIParent" hidden="True"> |
||
6 | <Scripts> |
||
7 | <OnLoad> |
||
8 | this:RegisterEvent("VARIABLES_LOADED") |
||
9 | this:RegisterEvent("MAIL_SHOW") |
||
10 | this:RegisterEvent("MAIL_INBOX_UPDATE") |
||
11 | this:RegisterEvent("MAIL_CLOSED") |
||
12 | this:RegisterEvent("BAG_UPDATE") |
||
13 | </OnLoad> |
||
14 | <OnEvent> |
||
15 | if(event=="VARIABLES_LOADED") then MailTo_Init() |
||
16 | else MailTo_Event(event); end |
||
17 | </OnEvent> |
||
18 | <OnUpdate> |
||
19 | MailTo_OnUpdate(arg1) |
||
20 | </OnUpdate> |
||
21 | </Scripts> |
||
22 | </Frame> |
||
23 | |||
24 | <Frame name="MailToDropDownMenu" parent="SendMailFrame" id="1"> |
||
25 | <Size> <AbsDimension x="24" y="24"/> </Size> |
||
26 | <Anchors> |
||
27 | <Anchor point="RIGHT" relativeTo="SendMailNameEditBox" relativePoint="RIGHT"> |
||
28 | <Offset> <AbsDimension x="6" y="0"/> </Offset> |
||
29 | </Anchor> |
||
30 | </Anchors> |
||
31 | <Frames> |
||
32 | <Button name="$parentButton"> |
||
33 | <Size> <AbsDimension x="24" y="24"/> </Size> |
||
34 | <Anchors> |
||
35 | <Anchor point="RIGHT" relativeTo="MailToDropDownMenu"/> |
||
36 | </Anchors> |
||
37 | <Scripts> |
||
38 | <OnClick> ToggleDropDownMenu() </OnClick> |
||
39 | </Scripts> |
||
40 | <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up"> |
||
41 | <Size> <AbsDimension x="24" y="24"/> </Size> |
||
42 | <Anchors> <Anchor point="RIGHT"/> </Anchors> |
||
43 | </NormalTexture> |
||
44 | |||
45 | <HighlightTexture alphaMode="ADD" name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight"> |
||
46 | <Size> <AbsDimension x="24" y="24"/> </Size> |
||
47 | <Anchors> <Anchor point="RIGHT"/> </Anchors> |
||
48 | </HighlightTexture> |
||
49 | |||
50 | <PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down"> |
||
51 | <Size> <AbsDimension x="24" y="24"/> </Size> |
||
52 | <Anchors> <Anchor point="RIGHT"/> </Anchors> |
||
53 | </PushedTexture> |
||
54 | <Scripts> |
||
55 | <OnShow> MailTo_DropDown_OnLoad() </OnShow> |
||
56 | <OnEnter> |
||
57 | GameTooltip:SetOwner(this,"ANCHOR_TOPRIGHT") |
||
58 | GameTooltip:SetText(this.tooltip) |
||
59 | </OnEnter> |
||
60 | <OnLeave> GameTooltip:Hide() </OnLeave> |
||
61 | </Scripts> |
||
62 | </Button> |
||
63 | </Frames> |
||
64 | <Scripts> |
||
65 | <OnHide> CloseDropDownMenus() </OnHide> |
||
66 | </Scripts> |
||
67 | </Frame> |
||
68 | |||
69 | <!-- Inbox Multi-Frame --> |
||
70 | <Button name="MailTo_ButtonTemplate" virtual="true"> |
||
71 | <Size> <AbsDimension x="37" y="37"/> </Size> |
||
72 | <Anchors> <Anchor point="TOPLEFT"/> </Anchors> |
||
73 | <Layers> |
||
74 | <Layer level="BACKGROUND"> |
||
75 | <Texture name="$parentSlot" file="Interface\MailFrame\MailItemBorder"> |
||
76 | <Size> <AbsDimension x="42" y="48"/> </Size> |
||
77 | <Anchors> |
||
78 | <Anchor point="TOPLEFT"> |
||
79 | <Offset> <AbsDimension x="-3" y="3"/> </Offset> |
||
80 | </Anchor> |
||
81 | </Anchors> |
||
82 | <TexCoords left="0" right="0.1640625" top="0" bottom="0.75"/> |
||
83 | </Texture> |
||
84 | </Layer> |
||
85 | <Layer level="ARTWORK"> |
||
86 | <Texture name="$parentIconTexture"> |
||
87 | <Size> <AbsDimension x="38" y="38"/> </Size> |
||
88 | <Anchors> <Anchor point="CENTER"/> </Anchors> |
||
89 | </Texture> |
||
90 | </Layer> |
||
91 | </Layers> |
||
92 | <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/> |
||
93 | <Scripts> |
||
94 | <OnEnter> MailTo_InFrame_OnEnter() </OnEnter> |
||
95 | <OnLeave> GameTooltip:Hide() </OnLeave> |
||
96 | </Scripts> |
||
97 | </Button> |
||
98 | <Frame name="MailTo_ColumnTemplate" virtual="true"> |
||
99 | <Size> <AbsDimension x="70" y="450"/> </Size> |
||
100 | <Frames> |
||
101 | <Button name="$parentItem1" inherits="MailTo_ButtonTemplate"> |
||
102 | <Anchors> <Anchor point="TOPLEFT"/> </Anchors> |
||
103 | </Button> |
||
104 | <Button name="$parentItem2" inherits="MailTo_ButtonTemplate"> |
||
105 | <Anchors> |
||
106 | <Anchor point="TOPLEFT" relativeTo="$parentItem1" relativePoint="BOTTOMLEFT"> |
||
107 | <Offset> <AbsDimension x="0" y="-7"/> </Offset> |
||
108 | </Anchor> |
||
109 | </Anchors> |
||
110 | </Button> |
||
111 | <Button name="$parentItem3" inherits="MailTo_ButtonTemplate"> |
||
112 | <Anchors> |
||
113 | <Anchor point="TOPLEFT" relativeTo="$parentItem2" relativePoint="BOTTOMLEFT"> |
||
114 | <Offset> <AbsDimension x="0" y="-7"/> </Offset> |
||
115 | </Anchor> |
||
116 | </Anchors> |
||
117 | </Button> |
||
118 | <Button name="$parentItem4" inherits="MailTo_ButtonTemplate"> |
||
119 | <Anchors> |
||
120 | <Anchor point="TOPLEFT" relativeTo="$parentItem3" relativePoint="BOTTOMLEFT"> |
||
121 | <Offset> <AbsDimension x="0" y="-7"/> </Offset> |
||
122 | </Anchor> |
||
123 | </Anchors> |
||
124 | </Button> |
||
125 | <Button name="$parentItem5" inherits="MailTo_ButtonTemplate"> |
||
126 | <Anchors> |
||
127 | <Anchor point="TOPLEFT" relativeTo="$parentItem4" relativePoint="BOTTOMLEFT"> |
||
128 | <Offset> <AbsDimension x="0" y="-7"/> </Offset> |
||
129 | </Anchor> |
||
130 | </Anchors> |
||
131 | </Button> |
||
132 | <Button name="$parentItem6" inherits="MailTo_ButtonTemplate"> |
||
133 | <Anchors> |
||
134 | <Anchor point="TOPLEFT" relativeTo="$parentItem5" relativePoint="BOTTOMLEFT"> |
||
135 | <Offset> <AbsDimension x="0" y="-7"/> </Offset> |
||
136 | </Anchor> |
||
137 | </Anchors> |
||
138 | </Button> |
||
139 | <Button name="$parentItem7" inherits="MailTo_ButtonTemplate"> |
||
140 | <Anchors> |
||
141 | <Anchor point="TOPLEFT" relativeTo="$parentItem6" relativePoint="BOTTOMLEFT"> |
||
142 | <Offset> <AbsDimension x="0" y="-7"/> </Offset> |
||
143 | </Anchor> |
||
144 | </Anchors> |
||
145 | </Button> |
||
146 | <Button name="$parentItem8" inherits="MailTo_ButtonTemplate"> |
||
147 | <Anchors> |
||
148 | <Anchor point="TOPLEFT" relativeTo="$parentItem7" relativePoint="BOTTOMLEFT"> |
||
149 | <Offset> <AbsDimension x="0" y="-7"/> </Offset> |
||
150 | </Anchor> |
||
151 | </Anchors> |
||
152 | </Button> |
||
153 | </Frames> |
||
154 | </Frame> |
||
155 | <Frame name="MailTo_InFrame" toplevel="true" movable="true" enableMouse="true" parent="UIParent" hidden="True"> |
||
156 | <Size> <AbsDimension x="384" y="512"/> </Size> |
||
157 | <Anchors> |
||
158 | <Anchor point="TOPLEFT"> |
||
159 | <Offset> <AbsDimension x="0" y="-104"/> </Offset> |
||
160 | </Anchor> |
||
161 | </Anchors> |
||
162 | <Layers> |
||
163 | <Layer level="BACKGROUND"> |
||
164 | <Texture file="Interface\MailFrame\Mail-Icon"> |
||
165 | <Size> <AbsDimension x="58" y="58"/> </Size> |
||
166 | <Anchors> |
||
167 | <Anchor point="TOPLEFT"> |
||
168 | <Offset> <AbsDimension x="10" y="-8"/> </Offset> |
||
169 | </Anchor> |
||
170 | </Anchors> |
||
171 | </Texture> |
||
172 | </Layer> |
||
173 | <Layer level="BORDER"> |
||
174 | <Texture name="$parentTopLeft" file="Interface\ItemTextFrame\UI-ItemText-TopLeft"> |
||
175 | <Size> <AbsDimension x="256" y="256"/> </Size> |
||
176 | <Anchors> <Anchor point="TOPLEFT"/> </Anchors> |
||
177 | </Texture> |
||
178 | <Texture name="$parentTopRight" file="Interface\Spellbook\UI-SpellbookPanel-TopRight"> |
||
179 | <Size> <AbsDimension x="128" y="256"/> </Size> |
||
180 | <Anchors> |
||
181 | <Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="TOPRIGHT"/> |
||
182 | </Anchors> |
||
183 | </Texture> |
||
184 | <Texture name="$parentBotLeft" file="Interface\ItemTextFrame\UI-ItemText-BotLeft"> |
||
185 | <Size> <AbsDimension x="256" y="256"/> </Size> |
||
186 | <Anchors> |
||
187 | <Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="BOTTOMLEFT"/> |
||
188 | </Anchors> |
||
189 | </Texture> |
||
190 | <Texture name="$parentBotRight" file="Interface\Spellbook\UI-SpellbookPanel-BotRight"> |
||
191 | <Size> <AbsDimension x="128" y="256"/> </Size> |
||
192 | <Anchors> |
||
193 | <Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="BOTTOMRIGHT"/> |
||
194 | </Anchors> |
||
195 | </Texture> |
||
196 | </Layer> |
||
197 | <Layer level="ARTWORK"> |
||
198 | <FontString name="$parentTitleText" inherits="GameFontNormal" text="MAILTO_TITLE"> |
||
199 | <Size> <AbsDimension x="224" y="14"/> </Size> |
||
200 | <Anchors> |
||
201 | <Anchor point="CENTER"> |
||
202 | <Offset> <AbsDimension x="6" y="230"/> </Offset> |
||
203 | </Anchor> |
||
204 | </Anchors> |
||
205 | </FontString> |
||
206 | </Layer> |
||
207 | </Layers> |
||
208 | <Frames> |
||
209 | <Button name="$parentCloseButton" inherits="UIPanelCloseButton"> |
||
210 | <Anchors> |
||
211 | <Anchor point="CENTER" relativePoint="TOPRIGHT"> |
||
212 | <Offset> <AbsDimension x="-45" y="-25"/> </Offset> |
||
213 | </Anchor> |
||
214 | </Anchors> |
||
215 | </Button> |
||
216 | <Frame name="$parent_DropDown" inherits="UIDropDownMenuTemplate" id="2"> |
||
217 | <Anchors> |
||
218 | <Anchor point="CENTER" relativePoint="TOPRIGHT"> |
||
219 | <Offset> <AbsDimension x="-188" y="-58"/> </Offset> |
||
220 | </Anchor> |
||
221 | </Anchors> |
||
222 | <Layers> |
||
223 | <Layer level="OVERLAY"> |
||
224 | <FontString inherits="GameFontHighlight" text="MAILTO_SELECT"> |
||
225 | <Anchors> |
||
226 | <Anchor point="RIGHT" relativePoint="LEFT"> |
||
227 | <Offset> <AbsDimension x="13" y="2"/> </Offset> |
||
228 | </Anchor> |
||
229 | </Anchors> |
||
230 | </FontString> |
||
231 | </Layer> |
||
232 | </Layers> |
||
233 | </Frame> |
||
234 | <CheckButton name="$parentServerButton" inherits="OptionsCheckButtonTemplate" hidden="True"> |
||
235 | <Anchors> |
||
236 | <Anchor point="CENTER" relativeTo="$parent_DropDown" relativePoint="TOPRIGHT"> |
||
237 | <Offset> <AbsDimension x="6" y="-14"/> </Offset> |
||
238 | </Anchor> |
||
239 | </Anchors> |
||
240 | <Layers> |
||
241 | <Layer level="OVERLAY"> |
||
242 | <FontString inherits="GameFontHighlight" text="MAILTO_SERVER"> |
||
243 | <Anchors> |
||
244 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
245 | <Offset> <AbsDimension x="0" y="2"/> </Offset> |
||
246 | </Anchor> |
||
247 | </Anchors> |
||
248 | </FontString> |
||
249 | </Layer> |
||
250 | </Layers> |
||
251 | <Scripts> |
||
252 | <OnEnter> |
||
253 | GameTooltip:SetOwner(this,"ANCHOR_RIGHT") |
||
254 | GameTooltip:SetText(MAILTO_SERVERTIP) |
||
255 | </OnEnter> |
||
256 | <OnLeave> GameTooltip:Hide() </OnLeave> |
||
257 | <OnClick> AC_Server_OnClick() </OnClick> |
||
258 | </Scripts> |
||
259 | </CheckButton> |
||
260 | <Frame name="$parentCol1" inherits="MailTo_ColumnTemplate"> |
||
261 | <Anchors> |
||
262 | <Anchor point="TOPLEFT"> |
||
263 | <Offset> <AbsDimension x="28" y="-80"/> </Offset> |
||
264 | </Anchor> |
||
265 | </Anchors> |
||
266 | </Frame> |
||
267 | <Frame name="$parentCol2" inherits="MailTo_ColumnTemplate"> |
||
268 | <Anchors> |
||
269 | <Anchor point="TOPLEFT" relativeTo="$parentCol1" relativePoint="TOPRIGHT"> |
||
270 | <Offset> <AbsDimension x="-25" y="0"/> </Offset> |
||
271 | </Anchor> |
||
272 | </Anchors> |
||
273 | </Frame> |
||
274 | <Frame name="$parentCol3" inherits="MailTo_ColumnTemplate"> |
||
275 | <Anchors> |
||
276 | <Anchor point="TOPLEFT" relativeTo="$parentCol2" relativePoint="TOPRIGHT"> |
||
277 | <Offset> <AbsDimension x="-25" y="0"/> </Offset> |
||
278 | </Anchor> |
||
279 | </Anchors> |
||
280 | </Frame> |
||
281 | <Frame name="$parentCol4" inherits="MailTo_ColumnTemplate"> |
||
282 | <Anchors> |
||
283 | <Anchor point="TOPLEFT" relativeTo="$parentCol3" relativePoint="TOPRIGHT"> |
||
284 | <Offset> <AbsDimension x="-25" y="0"/> </Offset> |
||
285 | </Anchor> |
||
286 | </Anchors> |
||
287 | </Frame> |
||
288 | <Frame name="$parentCol5" inherits="MailTo_ColumnTemplate"> |
||
289 | <Anchors> |
||
290 | <Anchor point="TOPLEFT" relativeTo="$parentCol4" relativePoint="TOPRIGHT"> |
||
291 | <Offset> <AbsDimension x="-25" y="0"/> </Offset> |
||
292 | </Anchor> |
||
293 | </Anchors> |
||
294 | </Frame> |
||
295 | <Frame name="$parentCol6" inherits="MailTo_ColumnTemplate"> |
||
296 | <Anchors> |
||
297 | <Anchor point="TOPLEFT" relativeTo="$parentCol5" relativePoint="TOPRIGHT"> |
||
298 | <Offset> <AbsDimension x="-25" y="0"/> </Offset> |
||
299 | </Anchor> |
||
300 | </Anchors> |
||
301 | </Frame> |
||
302 | <Frame name="$parentCol7" inherits="MailTo_ColumnTemplate"> |
||
303 | <Anchors> |
||
304 | <Anchor point="TOPLEFT" relativeTo="$parentCol6" relativePoint="TOPRIGHT"> |
||
305 | <Offset> <AbsDimension x="-25" y="0"/> </Offset> |
||
306 | </Anchor> |
||
307 | </Anchors> |
||
308 | </Frame> |
||
309 | </Frames> |
||
310 | <Scripts> |
||
311 | <OnMouseDown> this:StartMoving() </OnMouseDown> |
||
312 | <OnMouseUp> this:StopMovingOrSizing() </OnMouseUp> |
||
313 | </Scripts> |
||
314 | </Frame> |
||
315 | </Ui> |