Mercurial > wow > hotcorners
comparison HotCorners.xml @ 3:be6f5d3e0a95
- Added Summary Panel.
author | tercio |
---|---|
date | Sun, 31 Aug 2014 21:23:10 -0300 |
parents | a6fb0ff113b1 |
children | d8a463c5ef5a |
comparison
equal
deleted
inserted
replaced
2:a6fb0ff113b1 | 3:be6f5d3e0a95 |
---|---|
12 </OnLoad> | 12 </OnLoad> |
13 <OnEnter> | 13 <OnEnter> |
14 HotCornersBackgroundOnEnter (self); | 14 HotCornersBackgroundOnEnter (self); |
15 </OnEnter> | 15 </OnEnter> |
16 </Scripts> | 16 </Scripts> |
17 | |
18 </Frame> | |
19 | |
20 <Frame name="HotCornersInfosFrame" frameStrata="TOOLTIP" parent="UIParent" hidden="true"> | |
21 <Size x="500" y="150"/> | |
22 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true"> | |
23 <TileSize> | |
24 <AbsValue val="40"/> | |
25 </TileSize> | |
26 <BackgroundInsets> | |
27 <AbsInset left="0" right="0" top="0" bottom="0"/> | |
28 </BackgroundInsets> | |
29 </Backdrop> | |
30 | |
31 <Anchors> | |
32 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="150" y="200"/> | |
33 </Anchors> | |
34 | |
35 <Layers> | |
36 | |
37 <Layer level="OVERLAY" textureSubLevel="1"> | |
38 <!-- repair --> | |
39 | |
40 <FontString text="100%" name="$parentRepairText" inherits="FriendsFont_Large" parentKey="repairText"> | |
41 <Anchors> | |
42 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="20" y="10"/> | |
43 | |
44 </Anchors> | |
45 <Color r="1" g="1" b="1" a="1"/> | |
46 </FontString> | |
47 <Texture name="$parentRepairIcon" parentKey="repairIcon" file="Interface\ICONS\Trade_BlackSmithing"> | |
48 <Size> | |
49 <AbsDimension x="20" y="20"/> | |
50 </Size> | |
51 <Anchors> | |
52 <Anchor point="LEFT" relativeTo="$parentRepairText" relativePoint="RIGHT" x="4" y="0"/> | |
53 </Anchors> | |
54 <TexCoords left="0.0625" right="0.9375" top="0.0625" bottom="0.9375"/> | |
55 </Texture> | |
56 | |
57 <!-- date "SystemFont_OutlineThick_WTF" "GameFont_Gigantic" --> | |
58 | |
59 <FontString text="22:10" name="$parentClockText" inherits="GameFont_Gigantic" parentKey="clockText"> | |
60 <Anchors> | |
61 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="20" y="-10"/> | |
62 </Anchors> | |
63 <Color r="1" g="1" b="1" a="1"/> | |
64 </FontString> | |
65 | |
66 <FontString text="Domingo" name="$parentDayText" inherits="FriendsFont_Large" parentKey="dayText" justifyH="LEFT"> | |
67 <Anchors> | |
68 <Anchor point="LEFT" relativeTo="$parentClockText" relativePoint="RIGHT" x="10" y="0"/> | |
69 </Anchors> | |
70 <Color r="1" g="1" b="1" a="1"/> | |
71 </FontString> | |
72 | |
73 <!-- gold --> | |
74 | |
75 <FontString text="10000" name="$parentGoldText" inherits="FriendsFont_Large" parentKey="goldText"> | |
76 <Anchors> | |
77 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="90" y="10"/> | |
78 </Anchors> | |
79 <Color r="1" g="1" b="1" a="1"/> | |
80 </FontString> | |
81 <Texture name="$parentGoldIcon" parentKey="goldIcon" file="Interface\MONEYFRAME\UI-GoldIcon"> | |
82 <Size> | |
83 <AbsDimension x="20" y="20"/> | |
84 </Size> | |
85 <Anchors> | |
86 <Anchor point="LEFT" relativeTo="$parentGoldText" relativePoint="RIGHT" x="4" y="0"/> | |
87 </Anchors> | |
88 </Texture> | |
89 | |
90 <FontString text="10000" name="$parentSilverText" inherits="FriendsFont_Large" parentKey="silverText"> | |
91 <Anchors> | |
92 <Anchor point="LEFT" relativeTo="$parentGoldIcon" relativePoint="RIGHT" x="5" y="0"/> | |
93 </Anchors> | |
94 <Color r="1" g="1" b="1" a="1"/> | |
95 </FontString> | |
96 <Texture name="$parentSilverIcon" parentKey="silverIcon" file="Interface\MONEYFRAME\UI-SilverIcon"> | |
97 <Size> | |
98 <AbsDimension x="20" y="20"/> | |
99 </Size> | |
100 <Anchors> | |
101 <Anchor point="LEFT" relativeTo="$parentSilverText" relativePoint="RIGHT" x="4" y="0"/> | |
102 </Anchors> | |
103 </Texture> | |
104 | |
105 <FontString text="10000" name="$parentBronzeText" inherits="FriendsFont_Large" parentKey="bronzeText"> | |
106 <Anchors> | |
107 <Anchor point="LEFT" relativeTo="$parentSilverIcon" relativePoint="RIGHT" x="5" y="0"/> | |
108 </Anchors> | |
109 <Color r="1" g="1" b="1" a="1"/> | |
110 </FontString> | |
111 <Texture name="$parentBronzeIcon" parentKey="bronzeIcon" file="Interface\MONEYFRAME\UI-CopperIcon"> | |
112 <Size> | |
113 <AbsDimension x="20" y="20"/> | |
114 </Size> | |
115 <Anchors> | |
116 <Anchor point="LEFT" relativeTo="$parentBronzeText" relativePoint="RIGHT" x="4" y="0"/> | |
117 </Anchors> | |
118 </Texture> | |
119 </Layer> | |
120 </Layers> | |
121 | |
122 <Animations> | |
123 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE"> | |
124 <!-- hide --> | |
125 <Alpha change="-1" duration="0" order="1"/> | |
126 <!-- show with alpha | |
127 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/> | |
128 --> | |
129 <Alpha change="1" duration="0.2" order="2"/> | |
130 <Scripts> | |
131 <OnPlay> | |
132 HotCornersAnimOnShowStarted (self:GetParent()) | |
133 </OnPlay> | |
134 <OnFinished> | |
135 self:GetParent():Show() | |
136 self:GetParent():SetAlpha(1) | |
137 </OnFinished> | |
138 </Scripts> | |
139 </AnimationGroup> | |
140 </Animations> | |
17 | 141 |
18 </Frame> | 142 </Frame> |
19 | 143 |
20 <Frame name="HotCornersFrameCornerTemplate" frameStrata="FULLSCREEN" virtual="true" parent="UIParent"> | 144 <Frame name="HotCornersFrameCornerTemplate" frameStrata="FULLSCREEN" virtual="true" parent="UIParent"> |
21 <Size x="1" y="1"/> | 145 <Size x="1" y="1"/> |
53 <Anchor point="TOPRIGHT" relativeTo="UIParent" relativePoint="TOPRIGHT" x="0" y="0"/> | 177 <Anchor point="TOPRIGHT" relativeTo="UIParent" relativePoint="TOPRIGHT" x="0" y="0"/> |
54 <!--<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER" x="0" y="40"/>--> | 178 <!--<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER" x="0" y="40"/>--> |
55 </Anchors> | 179 </Anchors> |
56 </Frame> | 180 </Frame> |
57 </Frames> | 181 </Frames> |
58 </Frame> | |
59 | |
60 <Frame name="HotCornersQuickCornerButtonTemplate" frameStrata="FULLSCREEN" virtual="true"> | |
61 <Size x="1" y="1"/> | |
62 <Anchors> | |
63 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="0" y="0"/> | |
64 </Anchors> | |
65 | |
66 <Scripts> | |
67 <OnLoad> | |
68 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2); | |
69 </OnLoad> | |
70 <OnClick> | |
71 HotCornersOnQuickClick (self, button); | |
72 </OnClick> | |
73 <OnEnter> | |
74 HotCornersOnEnter (self:GetParent()); | |
75 </OnEnter> | |
76 </Scripts> | |
77 </Frame> | |
78 | |
79 <Button name="HotCornersUseItemButtonTemplate" frameStrata="FULLSCREEN" hidden="true" virtual="true" inherits="SecureActionButtonTemplate"> | |
80 <Size x="32" y="32"/> | |
81 | |
82 <Attributes> | |
83 <Attribute name="type" type="string" value="macro"/> | |
84 </Attributes> | |
85 | |
86 <Layers> | |
87 <Layer level="OVERLAY" textureSubLevel="1"> | |
88 <Texture name="$parentBGItemCount" parentKey="bg_item_count"> | |
89 <Size> | |
90 <AbsDimension x="20" y="12"/> | |
91 </Size> | |
92 <Color r="0" g="0" b="0" a=".5"/> | |
93 <Anchors> | |
94 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/> | |
95 </Anchors> | |
96 </Texture> | |
97 </Layer> | |
98 <Layer level="OVERLAY" textureSubLevel="2"> | |
99 <FontString text="0" name="$parentItemCount" inherits="GameFontNormal" parentKey="item_count"> | |
100 <Anchors> | |
101 <Anchor point="CENTER" relativeTo="$parentBGItemCount" relativePoint="CENTER" x="0" y="0"/> | |
102 </Anchors> | |
103 <Color r="1" g="1" b="1" a="1"/> | |
104 </FontString> | |
105 </Layer> | |
106 </Layers> | |
107 | 182 |
108 <Animations> | 183 <Animations> |
109 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE"> | 184 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE"> |
110 <!-- hide --> | 185 <!-- hide --> |
111 <Alpha change="-1" duration="0" order="1"/> | 186 <Alpha change="-1" duration="0" order="1"/> |
112 <!-- show with alpha | 187 <!-- show with alpha |
113 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/> | 188 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/> |
114 --> | 189 --> |
115 <Alpha change="1" duration="0.3" order="2"/> | 190 <Alpha change="1" duration="0.2" order="2"/> |
116 <Scripts> | 191 <Scripts> |
117 <OnPlay> | 192 <OnPlay> |
118 HotCornersAnimOnShowStarted (self:GetParent()) | 193 HotCornersAnimOnShowStarted (self:GetParent()) |
119 </OnPlay> | 194 </OnPlay> |
120 <OnFinished> | 195 <OnFinished> |
122 </OnFinished> | 197 </OnFinished> |
123 </Scripts> | 198 </Scripts> |
124 </AnimationGroup> | 199 </AnimationGroup> |
125 </Animations> | 200 </Animations> |
126 | 201 |
202 </Frame> | |
203 | |
204 <Frame name="HotCornersQuickCornerButtonTemplate" frameStrata="FULLSCREEN" virtual="true"> | |
205 <Size x="1" y="1"/> | |
206 <Anchors> | |
207 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="0" y="0"/> | |
208 </Anchors> | |
209 | |
210 <Scripts> | |
211 <OnLoad> | |
212 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2); | |
213 </OnLoad> | |
214 <OnClick> | |
215 HotCornersOnQuickClick (self, button); | |
216 </OnClick> | |
217 <OnEnter> | |
218 HotCornersOnEnter (self:GetParent()); | |
219 </OnEnter> | |
220 </Scripts> | |
221 </Frame> | |
222 | |
223 <Button name="HotCornersUseItemButtonTemplate" frameStrata="FULLSCREEN" hidden="true" virtual="true" inherits="SecureActionButtonTemplate"> | |
224 <Size x="32" y="32"/> | |
225 | |
226 <Attributes> | |
227 <Attribute name="type" type="string" value="macro"/> | |
228 </Attributes> | |
229 | |
230 <Layers> | |
231 <Layer level="OVERLAY" textureSubLevel="1"> | |
232 <Texture name="$parentBGItemCount" parentKey="bg_item_count"> | |
233 <Size> | |
234 <AbsDimension x="20" y="12"/> | |
235 </Size> | |
236 <Color r="0" g="0" b="0" a=".5"/> | |
237 <Anchors> | |
238 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/> | |
239 </Anchors> | |
240 </Texture> | |
241 </Layer> | |
242 <Layer level="OVERLAY" textureSubLevel="2"> | |
243 <FontString text="0" name="$parentItemCount" inherits="GameFontNormal" parentKey="item_count"> | |
244 <Anchors> | |
245 <Anchor point="CENTER" relativeTo="$parentBGItemCount" relativePoint="CENTER" x="0" y="0"/> | |
246 </Anchors> | |
247 <Color r="1" g="1" b="1" a="1"/> | |
248 </FontString> | |
249 </Layer> | |
250 </Layers> | |
251 | |
252 <Animations> | |
253 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE"> | |
254 <!-- hide --> | |
255 <Alpha change="-1" duration="0" order="1"/> | |
256 <!-- show with alpha | |
257 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/> | |
258 --> | |
259 <Alpha change="1" duration="0.2" order="2"/> | |
260 <Scripts> | |
261 <OnPlay> | |
262 HotCornersAnimOnShowStarted (self:GetParent()) | |
263 </OnPlay> | |
264 <OnFinished> | |
265 HotCornersAnimOnShowFinished (self:GetParent()) | |
266 </OnFinished> | |
267 </Scripts> | |
268 </AnimationGroup> | |
269 </Animations> | |
270 | |
127 <Scripts> | 271 <Scripts> |
128 <OnLoad> | 272 <OnLoad> |
129 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2); | 273 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2); |
130 </OnLoad> | 274 </OnLoad> |
131 <OnEnter> | 275 <OnEnter> |
152 <!-- hide --> | 296 <!-- hide --> |
153 <Alpha change="-1" duration="0" order="1"/> | 297 <Alpha change="-1" duration="0" order="1"/> |
154 <!-- show with alpha | 298 <!-- show with alpha |
155 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/> | 299 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/> |
156 --> | 300 --> |
157 <Alpha change="1" duration="0.3" order="2"/> | 301 <Alpha change="1" duration="0.2" order="2"/> |
158 <Scripts> | 302 <Scripts> |
159 <OnPlay> | 303 <OnPlay> |
160 HotCornersAnimOnShowStarted (self:GetParent()) | 304 HotCornersAnimOnShowStarted (self:GetParent()) |
161 </OnPlay> | 305 </OnPlay> |
162 <OnFinished> | 306 <OnFinished> |
219 HotCornersOpenOptions (self:GetParent()); | 363 HotCornersOpenOptions (self:GetParent()); |
220 </OnMouseUp> | 364 </OnMouseUp> |
221 </Scripts> | 365 </Scripts> |
222 </Button> | 366 </Button> |
223 | 367 |
224 <Frame name="ATest" frameStrata="FULLSCREEN" parent="UIParent"> | |
225 | |
226 <Size x="32" y="32"/> | |
227 | |
228 <Anchors> | |
229 <Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER" x="0" y="0"/> | |
230 </Anchors> | |
231 | |
232 <Layers> | |
233 <Layer level="OVERLAY"> | |
234 <Texture name="$parentTexture" parentKey="texture"> | |
235 <Size> | |
236 <AbsDimension x="32" y="32"/> | |
237 </Size> | |
238 <Color r="1" g="1" b="1" a="1"/> | |
239 <Anchors> | |
240 <Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER" x="0" y="0"/> | |
241 </Anchors> | |
242 </Texture> | |
243 </Layer> | |
244 </Layers> | |
245 | |
246 <Animations> | |
247 <AnimationGroup name="$parentGo" parentKey="go"> | |
248 | |
249 <Alpha change="-1" duration="0" order="1" startDelay="3"/> | |
250 | |
251 <Translation offsetX="32" offsetY="0" duration="5" order="2"/> | |
252 <Alpha startDelay="0" change="1" duration="5" order="2"/> | |
253 | |
254 </AnimationGroup> | |
255 </Animations> | |
256 | |
257 <Scripts> | |
258 <OnLoad> | |
259 self.go:Play() | |
260 self:Hide() | |
261 </OnLoad> | |
262 </Scripts> | |
263 | |
264 </Frame> | |
265 | |
266 <Script file="HotCorners.lua"/> | 368 <Script file="HotCorners.lua"/> |
267 | 369 |
268 </Ui> | 370 </Ui> |