tercio@0
|
1 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
|
tercio@0
|
2
|
tercio@0
|
3 <Frame name="HotCornersBackgroundFrame" frameStrata="MEDIUM" parent="UIParent">
|
tercio@0
|
4 <Anchors>
|
tercio@0
|
5 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
|
tercio@0
|
6 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
tercio@0
|
7 </Anchors>
|
tercio@0
|
8
|
tercio@0
|
9 <Scripts>
|
tercio@0
|
10 <OnLoad>
|
tercio@0
|
11 self:EnableMouse (false);
|
tercio@0
|
12 </OnLoad>
|
tercio@0
|
13 <OnEnter>
|
tercio@0
|
14 HotCornersBackgroundOnEnter (self);
|
tercio@0
|
15 </OnEnter>
|
tercio@0
|
16 </Scripts>
|
tercio@0
|
17
|
tercio@0
|
18 </Frame>
|
tercio@0
|
19
|
tercio@3
|
20 <Frame name="HotCornersInfosFrame" frameStrata="TOOLTIP" parent="UIParent" hidden="true">
|
tercio@3
|
21 <Size x="500" y="150"/>
|
tercio@3
|
22 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true">
|
tercio@3
|
23 <TileSize>
|
tercio@3
|
24 <AbsValue val="40"/>
|
tercio@3
|
25 </TileSize>
|
tercio@3
|
26 <BackgroundInsets>
|
tercio@3
|
27 <AbsInset left="0" right="0" top="0" bottom="0"/>
|
tercio@3
|
28 </BackgroundInsets>
|
tercio@3
|
29 </Backdrop>
|
tercio@3
|
30
|
tercio@3
|
31 <Anchors>
|
tercio@3
|
32 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="150" y="200"/>
|
tercio@3
|
33 </Anchors>
|
tercio@3
|
34
|
tercio@3
|
35 <Layers>
|
tercio@3
|
36
|
tercio@3
|
37 <Layer level="OVERLAY" textureSubLevel="1">
|
tercio@3
|
38 <!-- repair -->
|
tercio@3
|
39
|
tercio@3
|
40 <FontString text="100%" name="$parentRepairText" inherits="FriendsFont_Large" parentKey="repairText">
|
tercio@3
|
41 <Anchors>
|
tercio@3
|
42 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="20" y="10"/>
|
tercio@3
|
43
|
tercio@3
|
44 </Anchors>
|
tercio@3
|
45 <Color r="1" g="1" b="1" a="1"/>
|
tercio@3
|
46 </FontString>
|
tercio@3
|
47 <Texture name="$parentRepairIcon" parentKey="repairIcon" file="Interface\ICONS\Trade_BlackSmithing">
|
tercio@3
|
48 <Size>
|
tercio@3
|
49 <AbsDimension x="20" y="20"/>
|
tercio@3
|
50 </Size>
|
tercio@3
|
51 <Anchors>
|
tercio@3
|
52 <Anchor point="LEFT" relativeTo="$parentRepairText" relativePoint="RIGHT" x="4" y="0"/>
|
tercio@3
|
53 </Anchors>
|
tercio@3
|
54 <TexCoords left="0.0625" right="0.9375" top="0.0625" bottom="0.9375"/>
|
tercio@3
|
55 </Texture>
|
tercio@3
|
56
|
tercio@3
|
57 <!-- date "SystemFont_OutlineThick_WTF" "GameFont_Gigantic" -->
|
tercio@3
|
58
|
tercio@3
|
59 <FontString text="22:10" name="$parentClockText" inherits="GameFont_Gigantic" parentKey="clockText">
|
tercio@3
|
60 <Anchors>
|
tercio@3
|
61 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="20" y="-10"/>
|
tercio@3
|
62 </Anchors>
|
tercio@3
|
63 <Color r="1" g="1" b="1" a="1"/>
|
tercio@3
|
64 </FontString>
|
tercio@3
|
65
|
tercio@3
|
66 <FontString text="Domingo" name="$parentDayText" inherits="FriendsFont_Large" parentKey="dayText" justifyH="LEFT">
|
tercio@3
|
67 <Anchors>
|
tercio@3
|
68 <Anchor point="LEFT" relativeTo="$parentClockText" relativePoint="RIGHT" x="10" y="0"/>
|
tercio@3
|
69 </Anchors>
|
tercio@3
|
70 <Color r="1" g="1" b="1" a="1"/>
|
tercio@3
|
71 </FontString>
|
tercio@3
|
72
|
tercio@3
|
73 <!-- gold -->
|
tercio@3
|
74
|
tercio@3
|
75 <FontString text="10000" name="$parentGoldText" inherits="FriendsFont_Large" parentKey="goldText">
|
tercio@3
|
76 <Anchors>
|
tercio@3
|
77 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="90" y="10"/>
|
tercio@3
|
78 </Anchors>
|
tercio@3
|
79 <Color r="1" g="1" b="1" a="1"/>
|
tercio@3
|
80 </FontString>
|
tercio@3
|
81 <Texture name="$parentGoldIcon" parentKey="goldIcon" file="Interface\MONEYFRAME\UI-GoldIcon">
|
tercio@3
|
82 <Size>
|
tercio@3
|
83 <AbsDimension x="20" y="20"/>
|
tercio@3
|
84 </Size>
|
tercio@3
|
85 <Anchors>
|
tercio@3
|
86 <Anchor point="LEFT" relativeTo="$parentGoldText" relativePoint="RIGHT" x="4" y="0"/>
|
tercio@3
|
87 </Anchors>
|
tercio@3
|
88 </Texture>
|
tercio@3
|
89
|
tercio@3
|
90 <FontString text="10000" name="$parentSilverText" inherits="FriendsFont_Large" parentKey="silverText">
|
tercio@3
|
91 <Anchors>
|
tercio@3
|
92 <Anchor point="LEFT" relativeTo="$parentGoldIcon" relativePoint="RIGHT" x="5" y="0"/>
|
tercio@3
|
93 </Anchors>
|
tercio@3
|
94 <Color r="1" g="1" b="1" a="1"/>
|
tercio@3
|
95 </FontString>
|
tercio@3
|
96 <Texture name="$parentSilverIcon" parentKey="silverIcon" file="Interface\MONEYFRAME\UI-SilverIcon">
|
tercio@3
|
97 <Size>
|
tercio@3
|
98 <AbsDimension x="20" y="20"/>
|
tercio@3
|
99 </Size>
|
tercio@3
|
100 <Anchors>
|
tercio@3
|
101 <Anchor point="LEFT" relativeTo="$parentSilverText" relativePoint="RIGHT" x="4" y="0"/>
|
tercio@3
|
102 </Anchors>
|
tercio@3
|
103 </Texture>
|
tercio@3
|
104
|
tercio@3
|
105 <FontString text="10000" name="$parentBronzeText" inherits="FriendsFont_Large" parentKey="bronzeText">
|
tercio@3
|
106 <Anchors>
|
tercio@3
|
107 <Anchor point="LEFT" relativeTo="$parentSilverIcon" relativePoint="RIGHT" x="5" y="0"/>
|
tercio@3
|
108 </Anchors>
|
tercio@3
|
109 <Color r="1" g="1" b="1" a="1"/>
|
tercio@3
|
110 </FontString>
|
tercio@3
|
111 <Texture name="$parentBronzeIcon" parentKey="bronzeIcon" file="Interface\MONEYFRAME\UI-CopperIcon">
|
tercio@3
|
112 <Size>
|
tercio@3
|
113 <AbsDimension x="20" y="20"/>
|
tercio@3
|
114 </Size>
|
tercio@3
|
115 <Anchors>
|
tercio@3
|
116 <Anchor point="LEFT" relativeTo="$parentBronzeText" relativePoint="RIGHT" x="4" y="0"/>
|
tercio@3
|
117 </Anchors>
|
tercio@3
|
118 </Texture>
|
tercio@3
|
119 </Layer>
|
tercio@3
|
120 </Layers>
|
tercio@3
|
121
|
tercio@3
|
122 <Animations>
|
tercio@3
|
123 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE">
|
tercio@3
|
124 <!-- hide -->
|
tercio@3
|
125 <Alpha change="-1" duration="0" order="1"/>
|
tercio@3
|
126 <!-- show with alpha
|
tercio@3
|
127 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/>
|
tercio@3
|
128 -->
|
tercio@3
|
129 <Alpha change="1" duration="0.2" order="2"/>
|
tercio@3
|
130 <Scripts>
|
tercio@3
|
131 <OnPlay>
|
tercio@3
|
132 HotCornersAnimOnShowStarted (self:GetParent())
|
tercio@3
|
133 </OnPlay>
|
tercio@3
|
134 <OnFinished>
|
tercio@3
|
135 self:GetParent():Show()
|
tercio@3
|
136 self:GetParent():SetAlpha(1)
|
tercio@3
|
137 </OnFinished>
|
tercio@3
|
138 </Scripts>
|
tercio@3
|
139 </AnimationGroup>
|
tercio@3
|
140 </Animations>
|
tercio@3
|
141
|
tercio@3
|
142 </Frame>
|
tercio@3
|
143
|
tercio@0
|
144 <Frame name="HotCornersFrameCornerTemplate" frameStrata="FULLSCREEN" virtual="true" parent="UIParent">
|
tercio@0
|
145 <Size x="1" y="1"/>
|
tercio@0
|
146 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true">
|
tercio@0
|
147 <TileSize>
|
tercio@0
|
148 <AbsValue val="40"/>
|
tercio@0
|
149 </TileSize>
|
tercio@0
|
150 <BackgroundInsets>
|
tercio@0
|
151 <AbsInset left="0" right="0" top="0" bottom="0"/>
|
tercio@0
|
152 </BackgroundInsets>
|
tercio@0
|
153 </Backdrop>
|
tercio@0
|
154
|
tercio@0
|
155 <Scripts>
|
tercio@0
|
156 <OnEnter>
|
tercio@2
|
157 <!-- HotCornersOnEnter (self); -->
|
tercio@0
|
158 </OnEnter>
|
tercio@0
|
159 <OnLeave>
|
tercio@0
|
160 HotCornersOnLeave (self);
|
tercio@0
|
161 </OnLeave>
|
tercio@0
|
162 </Scripts>
|
tercio@2
|
163
|
tercio@2
|
164 <Frames>
|
tercio@2
|
165 <Frame name="$parentItemListFrame" frameStrata="FULLSCREEN" parentKey="item_frame" hidden="true" EnableMouse="true">
|
tercio@2
|
166 <Size x="100" y="40"/>
|
tercio@2
|
167 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true">
|
tercio@2
|
168 <TileSize>
|
tercio@2
|
169 <AbsValue val="40"/>
|
tercio@2
|
170 </TileSize>
|
tercio@2
|
171 <BackgroundInsets>
|
tercio@2
|
172 <AbsInset left="0" right="0" top="0" bottom="0"/>
|
tercio@2
|
173 </BackgroundInsets>
|
tercio@2
|
174 </Backdrop>
|
tercio@2
|
175 <Anchors>
|
tercio@2
|
176 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT" x="0" y="0"/>
|
tercio@2
|
177 <Anchor point="TOPRIGHT" relativeTo="UIParent" relativePoint="TOPRIGHT" x="0" y="0"/>
|
tercio@2
|
178 <!--<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER" x="0" y="40"/>-->
|
tercio@2
|
179 </Anchors>
|
tercio@2
|
180 </Frame>
|
tercio@2
|
181 </Frames>
|
tercio@3
|
182
|
tercio@3
|
183 <Animations>
|
tercio@3
|
184 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE">
|
tercio@3
|
185 <!-- hide -->
|
tercio@3
|
186 <Alpha change="-1" duration="0" order="1"/>
|
tercio@3
|
187 <!-- show with alpha
|
tercio@3
|
188 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/>
|
tercio@3
|
189 -->
|
tercio@3
|
190 <Alpha change="1" duration="0.2" order="2"/>
|
tercio@3
|
191 <Scripts>
|
tercio@3
|
192 <OnPlay>
|
tercio@3
|
193 HotCornersAnimOnShowStarted (self:GetParent())
|
tercio@3
|
194 </OnPlay>
|
tercio@3
|
195 <OnFinished>
|
tercio@3
|
196 HotCornersAnimOnShowFinished (self:GetParent())
|
tercio@3
|
197 </OnFinished>
|
tercio@3
|
198 </Scripts>
|
tercio@3
|
199 </AnimationGroup>
|
tercio@3
|
200 </Animations>
|
tercio@3
|
201
|
tercio@0
|
202 </Frame>
|
tercio@0
|
203
|
tercio@0
|
204 <Frame name="HotCornersQuickCornerButtonTemplate" frameStrata="FULLSCREEN" virtual="true">
|
tercio@0
|
205 <Size x="1" y="1"/>
|
tercio@0
|
206 <Anchors>
|
tercio@0
|
207 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
|
tercio@0
|
208 </Anchors>
|
tercio@0
|
209
|
tercio@0
|
210 <Scripts>
|
tercio@0
|
211 <OnLoad>
|
tercio@0
|
212 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2);
|
tercio@0
|
213 </OnLoad>
|
tercio@0
|
214 <OnClick>
|
tercio@0
|
215 HotCornersOnQuickClick (self, button);
|
tercio@0
|
216 </OnClick>
|
tercio@0
|
217 <OnEnter>
|
tercio@0
|
218 HotCornersOnEnter (self:GetParent());
|
tercio@0
|
219 </OnEnter>
|
tercio@0
|
220 </Scripts>
|
tercio@0
|
221 </Frame>
|
tercio@0
|
222
|
tercio@2
|
223 <Button name="HotCornersUseItemButtonTemplate" frameStrata="FULLSCREEN" hidden="true" virtual="true" inherits="SecureActionButtonTemplate">
|
tercio@2
|
224 <Size x="32" y="32"/>
|
tercio@2
|
225
|
tercio@2
|
226 <Attributes>
|
tercio@2
|
227 <Attribute name="type" type="string" value="macro"/>
|
tercio@2
|
228 </Attributes>
|
tercio@2
|
229
|
tercio@2
|
230 <Layers>
|
tercio@2
|
231 <Layer level="OVERLAY" textureSubLevel="1">
|
tercio@2
|
232 <Texture name="$parentBGItemCount" parentKey="bg_item_count">
|
tercio@2
|
233 <Size>
|
tercio@2
|
234 <AbsDimension x="20" y="12"/>
|
tercio@2
|
235 </Size>
|
tercio@2
|
236 <Color r="0" g="0" b="0" a=".5"/>
|
tercio@2
|
237 <Anchors>
|
tercio@2
|
238 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
tercio@2
|
239 </Anchors>
|
tercio@2
|
240 </Texture>
|
tercio@2
|
241 </Layer>
|
tercio@2
|
242 <Layer level="OVERLAY" textureSubLevel="2">
|
tercio@2
|
243 <FontString text="0" name="$parentItemCount" inherits="GameFontNormal" parentKey="item_count">
|
tercio@2
|
244 <Anchors>
|
tercio@2
|
245 <Anchor point="CENTER" relativeTo="$parentBGItemCount" relativePoint="CENTER" x="0" y="0"/>
|
tercio@2
|
246 </Anchors>
|
tercio@2
|
247 <Color r="1" g="1" b="1" a="1"/>
|
tercio@2
|
248 </FontString>
|
tercio@2
|
249 </Layer>
|
tercio@2
|
250 </Layers>
|
tercio@2
|
251
|
tercio@2
|
252 <Animations>
|
tercio@2
|
253 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE">
|
tercio@2
|
254 <!-- hide -->
|
tercio@2
|
255 <Alpha change="-1" duration="0" order="1"/>
|
tercio@2
|
256 <!-- show with alpha
|
tercio@2
|
257 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/>
|
tercio@2
|
258 -->
|
tercio@3
|
259 <Alpha change="1" duration="0.2" order="2"/>
|
tercio@2
|
260 <Scripts>
|
tercio@2
|
261 <OnPlay>
|
tercio@2
|
262 HotCornersAnimOnShowStarted (self:GetParent())
|
tercio@2
|
263 </OnPlay>
|
tercio@2
|
264 <OnFinished>
|
tercio@2
|
265 HotCornersAnimOnShowFinished (self:GetParent())
|
tercio@2
|
266 </OnFinished>
|
tercio@2
|
267 </Scripts>
|
tercio@2
|
268 </AnimationGroup>
|
tercio@2
|
269 </Animations>
|
tercio@2
|
270
|
tercio@2
|
271 <Scripts>
|
tercio@2
|
272 <OnLoad>
|
tercio@2
|
273 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2);
|
tercio@2
|
274 </OnLoad>
|
tercio@2
|
275 <OnEnter>
|
tercio@2
|
276 HotCornersButtonOnEnter (self);
|
tercio@2
|
277 </OnEnter>
|
tercio@2
|
278 <OnLeave>
|
tercio@2
|
279 HotCornersButtonOnLeave (self);
|
tercio@2
|
280 </OnLeave>
|
tercio@2
|
281 <OnMouseDown>
|
tercio@2
|
282 HotCornersButtonOnMouseDown (self, button);
|
tercio@2
|
283 </OnMouseDown>
|
tercio@2
|
284 <OnMouseUp>
|
tercio@2
|
285 HotCornersButtonOnMouseUp (self, button);
|
tercio@2
|
286 </OnMouseUp>
|
tercio@2
|
287 </Scripts>
|
tercio@2
|
288
|
tercio@2
|
289 </Button>
|
tercio@2
|
290
|
tercio@0
|
291 <Frame name="HotCornersButtonTemplate" frameStrata="FULLSCREEN" hidden="true" virtual="true">
|
tercio@0
|
292 <Size x="32" y="32"/>
|
tercio@2
|
293
|
tercio@2
|
294 <Animations>
|
tercio@2
|
295 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE">
|
tercio@2
|
296 <!-- hide -->
|
tercio@2
|
297 <Alpha change="-1" duration="0" order="1"/>
|
tercio@2
|
298 <!-- show with alpha
|
tercio@2
|
299 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/>
|
tercio@2
|
300 -->
|
tercio@3
|
301 <Alpha change="1" duration="0.2" order="2"/>
|
tercio@2
|
302 <Scripts>
|
tercio@2
|
303 <OnPlay>
|
tercio@2
|
304 HotCornersAnimOnShowStarted (self:GetParent())
|
tercio@2
|
305 </OnPlay>
|
tercio@2
|
306 <OnFinished>
|
tercio@2
|
307 HotCornersAnimOnShowFinished (self:GetParent())
|
tercio@2
|
308 </OnFinished>
|
tercio@2
|
309 </Scripts>
|
tercio@2
|
310 </AnimationGroup>
|
tercio@2
|
311 </Animations>
|
tercio@2
|
312
|
tercio@0
|
313 <Scripts>
|
tercio@0
|
314 <OnLoad>
|
tercio@0
|
315 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2);
|
tercio@0
|
316 </OnLoad>
|
tercio@0
|
317 <OnEnter>
|
tercio@0
|
318 HotCornersButtonOnEnter (self);
|
tercio@0
|
319 </OnEnter>
|
tercio@0
|
320 <OnLeave>
|
tercio@0
|
321 HotCornersButtonOnLeave (self);
|
tercio@0
|
322 </OnLeave>
|
tercio@0
|
323 <OnMouseDown>
|
tercio@0
|
324 HotCornersButtonOnMouseDown (self, button);
|
tercio@0
|
325 </OnMouseDown>
|
tercio@0
|
326 <OnMouseUp>
|
tercio@0
|
327 HotCornersButtonOnMouseUp (self, button);
|
tercio@0
|
328 </OnMouseUp>
|
tercio@0
|
329 </Scripts>
|
tercio@0
|
330 </Frame>
|
tercio@0
|
331
|
tercio@0
|
332 <Button name="HotCornersOptionsButtonTemplate" frameStrata="FULLSCREEN" hidden="false" virtual="true">
|
tercio@0
|
333 <Size x="32" y="32"/>
|
tercio@0
|
334
|
tercio@0
|
335 <Layers>
|
tercio@0
|
336 <Layer level="OVERLAY">
|
tercio@0
|
337 <FontString text="options" name="$parentText" inherits="GameFontHighlightSmall" justifyH="LEFT" nonspacewrap="true" parentKey="text">
|
tercio@0
|
338 <Anchors>
|
tercio@0
|
339 <Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER"/>
|
tercio@0
|
340 </Anchors>
|
tercio@0
|
341 <Color r="0.8" g="0.8" b="0.8" a="0.8"/>
|
tercio@0
|
342 </FontString>
|
tercio@0
|
343 </Layer>
|
tercio@0
|
344 </Layers>
|
tercio@0
|
345
|
tercio@0
|
346 <Scripts>
|
tercio@0
|
347 <OnLoad>
|
tercio@0
|
348 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2);
|
tercio@0
|
349 </OnLoad>
|
tercio@0
|
350 <OnEnter>
|
tercio@0
|
351 HotCornersOptionsButtonOnEnter (self);
|
tercio@0
|
352 self.text:SetTextColor (1, 1, 1, 1);
|
tercio@0
|
353 </OnEnter>
|
tercio@0
|
354 <OnLeave>
|
tercio@0
|
355 HotCornersOptionsButtonOnLeave (self);
|
tercio@0
|
356 self.text:SetTextColor (0.8, 0.8, 0.8, 0.8);
|
tercio@0
|
357 </OnLeave>
|
tercio@0
|
358 <OnMouseDown>
|
tercio@0
|
359 self.text:SetPoint ("center", self, "center", 1, -1);
|
tercio@0
|
360 </OnMouseDown>
|
tercio@0
|
361 <OnMouseUp>
|
tercio@0
|
362 self.text:SetPoint ("center", self, "center");
|
tercio@0
|
363 HotCornersOpenOptions (self:GetParent());
|
tercio@0
|
364 </OnMouseUp>
|
tercio@0
|
365 </Scripts>
|
tercio@0
|
366 </Button>
|
tercio@0
|
367
|
tercio@0
|
368 <Script file="HotCorners.lua"/>
|
tercio@0
|
369
|
tercio@0
|
370 </Ui> |