annotate HotCorners.xml @ 25:ac501d71c890 tip

Added tag v8.2.0.024 for changeset 389dcaeebc47
author Tercioo
date Fri, 28 Jun 2019 20:07:27 -0300
parents 371e14cd2feb
children
rev   line source
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@11 122
tercio@3 123 <Animations>
tercio@3 124 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE">
tercio@3 125 <!-- hide -->
Tercio@11 126 <Alpha fromAlpha="0" toAlpha="0" duration="0" order="1"/>
Tercio@11 127 <!-- show -->
Tercio@11 128 <Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="2"/>
tercio@3 129 <Scripts>
tercio@3 130 <OnPlay>
tercio@3 131 HotCornersAnimOnShowStarted (self:GetParent())
tercio@3 132 </OnPlay>
tercio@3 133 <OnFinished>
tercio@3 134 self:GetParent():Show()
tercio@3 135 self:GetParent():SetAlpha(1)
tercio@3 136 </OnFinished>
tercio@3 137 </Scripts>
tercio@3 138 </AnimationGroup>
tercio@3 139 </Animations>
tercio@3 140
tercio@3 141 </Frame>
tercio@3 142
tercio@0 143 <Frame name="HotCornersFrameCornerTemplate" frameStrata="FULLSCREEN" virtual="true" parent="UIParent">
tercio@0 144 <Size x="1" y="1"/>
tercio@0 145 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true">
tercio@0 146 <TileSize>
tercio@0 147 <AbsValue val="40"/>
tercio@0 148 </TileSize>
tercio@0 149 <BackgroundInsets>
tercio@0 150 <AbsInset left="0" right="0" top="0" bottom="0"/>
tercio@0 151 </BackgroundInsets>
tercio@0 152 </Backdrop>
tercio@0 153
tercio@0 154 <Scripts>
tercio@0 155 <OnEnter>
tercio@2 156 <!-- HotCornersOnEnter (self); -->
tercio@0 157 </OnEnter>
tercio@0 158 <OnLeave>
tercio@0 159 HotCornersOnLeave (self);
tercio@0 160 </OnLeave>
tercio@0 161 </Scripts>
tercio@2 162
tercio@2 163 <Frames>
tercio@2 164 <Frame name="$parentItemListFrame" frameStrata="FULLSCREEN" parentKey="item_frame" hidden="true" EnableMouse="true">
tercio@2 165 <Size x="100" y="40"/>
tercio@2 166 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true">
tercio@2 167 <TileSize>
tercio@2 168 <AbsValue val="40"/>
tercio@2 169 </TileSize>
tercio@2 170 <BackgroundInsets>
tercio@2 171 <AbsInset left="0" right="0" top="0" bottom="0"/>
tercio@2 172 </BackgroundInsets>
tercio@2 173 </Backdrop>
tercio@2 174 <Anchors>
tercio@2 175 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT" x="0" y="0"/>
tercio@2 176 <Anchor point="TOPRIGHT" relativeTo="UIParent" relativePoint="TOPRIGHT" x="0" y="0"/>
tercio@2 177 <!--<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER" x="0" y="40"/>-->
tercio@2 178 </Anchors>
tercio@2 179 </Frame>
tercio@2 180 </Frames>
tercio@3 181
tercio@3 182 <Animations>
tercio@3 183 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE">
tercio@3 184 <!-- hide -->
Tercio@11 185 <Alpha fromAlpha="0" toAlpha="0" duration="0" order="1"/>
tercio@3 186 <!-- show with alpha
tercio@3 187 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/>
tercio@3 188 -->
Tercio@11 189 <Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="2"/>
tercio@3 190 <Scripts>
tercio@3 191 <OnPlay>
tercio@3 192 HotCornersAnimOnShowStarted (self:GetParent())
tercio@3 193 </OnPlay>
tercio@3 194 <OnFinished>
Tercio@11 195 self:GetParent():Show()
Tercio@11 196 self:GetParent():SetAlpha(1)
tercio@3 197 HotCornersAnimOnShowFinished (self:GetParent())
tercio@3 198 </OnFinished>
tercio@3 199 </Scripts>
tercio@3 200 </AnimationGroup>
tercio@3 201 </Animations>
tercio@3 202
tercio@0 203 </Frame>
tercio@0 204
tercio@0 205 <Frame name="HotCornersQuickCornerButtonTemplate" frameStrata="FULLSCREEN" virtual="true">
tercio@0 206 <Size x="1" y="1"/>
tercio@0 207 <Anchors>
tercio@0 208 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
tercio@0 209 </Anchors>
tercio@0 210
tercio@0 211 <Scripts>
tercio@0 212 <OnLoad>
tercio@0 213 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2);
tercio@0 214 </OnLoad>
tercio@0 215 <OnClick>
tercio@0 216 HotCornersOnQuickClick (self, button);
tercio@0 217 </OnClick>
tercio@0 218 <OnEnter>
tercio@0 219 HotCornersOnEnter (self:GetParent());
tercio@0 220 </OnEnter>
tercio@0 221 </Scripts>
tercio@0 222 </Frame>
tercio@0 223
tercio@2 224 <Button name="HotCornersUseItemButtonTemplate" frameStrata="FULLSCREEN" hidden="true" virtual="true" inherits="SecureActionButtonTemplate">
tercio@2 225 <Size x="32" y="32"/>
tercio@2 226
tercio@2 227 <Attributes>
tercio@2 228 <Attribute name="type" type="string" value="macro"/>
tercio@2 229 </Attributes>
tercio@2 230
tercio@2 231 <Layers>
tercio@2 232 <Layer level="OVERLAY" textureSubLevel="1">
tercio@2 233 <Texture name="$parentBGItemCount" parentKey="bg_item_count">
tercio@2 234 <Size>
tercio@2 235 <AbsDimension x="20" y="12"/>
tercio@2 236 </Size>
tercio@2 237 <Color r="0" g="0" b="0" a=".5"/>
tercio@2 238 <Anchors>
tercio@2 239 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
tercio@2 240 </Anchors>
tercio@2 241 </Texture>
tercio@2 242 </Layer>
tercio@2 243 <Layer level="OVERLAY" textureSubLevel="2">
tercio@2 244 <FontString text="0" name="$parentItemCount" inherits="GameFontNormal" parentKey="item_count">
tercio@2 245 <Anchors>
tercio@2 246 <Anchor point="CENTER" relativeTo="$parentBGItemCount" relativePoint="CENTER" x="0" y="0"/>
tercio@2 247 </Anchors>
tercio@2 248 <Color r="1" g="1" b="1" a="1"/>
tercio@2 249 </FontString>
tercio@2 250 </Layer>
tercio@2 251 </Layers>
tercio@2 252
Tercio@7 253 <Frames>
Tercio@7 254 <Cooldown parentKey="cooldown" inherits="CooldownFrameTemplate">
Tercio@7 255 <Size x="32" y="32"/>
Tercio@7 256 <Anchors>
Tercio@7 257 <Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER"/>
Tercio@7 258 </Anchors>
Tercio@7 259 </Cooldown>
Tercio@7 260 </Frames>
Tercio@7 261
tercio@2 262 <Animations>
tercio@2 263 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE">
tercio@2 264 <!-- hide -->
Tercio@11 265 <Alpha fromAlpha="0" toAlpha="0" duration="0" order="1"/>
tercio@2 266 <!-- show with alpha
tercio@2 267 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/>
tercio@2 268 -->
Tercio@11 269 <Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="2"/>
tercio@2 270 <Scripts>
tercio@2 271 <OnPlay>
tercio@2 272 HotCornersAnimOnShowStarted (self:GetParent())
tercio@2 273 </OnPlay>
tercio@2 274 <OnFinished>
Tercio@11 275 self:GetParent():Show()
Tercio@11 276 self:GetParent():SetAlpha(1)
tercio@2 277 HotCornersAnimOnShowFinished (self:GetParent())
tercio@2 278 </OnFinished>
tercio@2 279 </Scripts>
tercio@2 280 </AnimationGroup>
tercio@2 281 </Animations>
tercio@2 282
tercio@2 283 <Scripts>
tercio@2 284 <OnLoad>
tercio@2 285 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2);
tercio@2 286 </OnLoad>
tercio@2 287 <OnEnter>
tercio@2 288 HotCornersButtonOnEnter (self);
tercio@2 289 </OnEnter>
tercio@2 290 <OnLeave>
tercio@2 291 HotCornersButtonOnLeave (self);
tercio@2 292 </OnLeave>
tercio@2 293 <OnMouseDown>
tercio@2 294 HotCornersButtonOnMouseDown (self, button);
tercio@2 295 </OnMouseDown>
tercio@2 296 <OnMouseUp>
tercio@2 297 HotCornersButtonOnMouseUp (self, button);
tercio@2 298 </OnMouseUp>
tercio@2 299 </Scripts>
tercio@2 300
tercio@2 301 </Button>
tercio@2 302
tercio@0 303 <Frame name="HotCornersButtonTemplate" frameStrata="FULLSCREEN" hidden="true" virtual="true">
tercio@0 304 <Size x="32" y="32"/>
tercio@2 305
tercio@2 306 <Animations>
tercio@2 307 <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE">
tercio@2 308 <!-- hide -->
Tercio@11 309 <Alpha fromAlpha="0" toAlpha="0" duration="0" order="1"/>
tercio@2 310 <!-- show with alpha
tercio@2 311 <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/>
tercio@2 312 -->
Tercio@11 313 <Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="2"/>
tercio@2 314 <Scripts>
tercio@2 315 <OnPlay>
tercio@2 316 HotCornersAnimOnShowStarted (self:GetParent())
tercio@2 317 </OnPlay>
tercio@2 318 <OnFinished>
Tercio@11 319 self:GetParent():Show()
Tercio@11 320 self:GetParent():SetAlpha(1)
tercio@2 321 HotCornersAnimOnShowFinished (self:GetParent())
tercio@2 322 </OnFinished>
tercio@2 323 </Scripts>
tercio@2 324 </AnimationGroup>
tercio@2 325 </Animations>
tercio@2 326
tercio@0 327 <Scripts>
tercio@0 328 <OnLoad>
tercio@0 329 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2);
tercio@0 330 </OnLoad>
tercio@0 331 <OnEnter>
tercio@0 332 HotCornersButtonOnEnter (self);
tercio@0 333 </OnEnter>
tercio@0 334 <OnLeave>
tercio@0 335 HotCornersButtonOnLeave (self);
tercio@0 336 </OnLeave>
tercio@0 337 <OnMouseDown>
tercio@0 338 HotCornersButtonOnMouseDown (self, button);
tercio@0 339 </OnMouseDown>
tercio@0 340 <OnMouseUp>
tercio@0 341 HotCornersButtonOnMouseUp (self, button);
tercio@0 342 </OnMouseUp>
tercio@0 343 </Scripts>
tercio@0 344 </Frame>
tercio@0 345
tercio@0 346 <Button name="HotCornersOptionsButtonTemplate" frameStrata="FULLSCREEN" hidden="false" virtual="true">
tercio@0 347 <Size x="32" y="32"/>
tercio@0 348
tercio@0 349 <Layers>
tercio@0 350 <Layer level="OVERLAY">
tercio@0 351 <FontString text="options" name="$parentText" inherits="GameFontHighlightSmall" justifyH="LEFT" nonspacewrap="true" parentKey="text">
tercio@0 352 <Anchors>
tercio@0 353 <Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER"/>
tercio@0 354 </Anchors>
tercio@0 355 <Color r="0.8" g="0.8" b="0.8" a="0.8"/>
tercio@0 356 </FontString>
tercio@0 357 </Layer>
tercio@0 358 </Layers>
tercio@0 359
tercio@0 360 <Scripts>
tercio@0 361 <OnLoad>
tercio@0 362 self:SetFrameLevel (self:GetParent():GetFrameLevel()+2);
tercio@0 363 </OnLoad>
tercio@0 364 <OnEnter>
tercio@0 365 HotCornersOptionsButtonOnEnter (self);
tercio@0 366 self.text:SetTextColor (1, 1, 1, 1);
tercio@0 367 </OnEnter>
tercio@0 368 <OnLeave>
tercio@0 369 HotCornersOptionsButtonOnLeave (self);
tercio@0 370 self.text:SetTextColor (0.8, 0.8, 0.8, 0.8);
tercio@0 371 </OnLeave>
tercio@0 372 <OnMouseDown>
tercio@0 373 self.text:SetPoint ("center", self, "center", 1, -1);
tercio@0 374 </OnMouseDown>
tercio@0 375 <OnMouseUp>
tercio@0 376 self.text:SetPoint ("center", self, "center");
tercio@0 377 HotCornersOpenOptions (self:GetParent());
tercio@0 378 </OnMouseUp>
tercio@0 379 </Scripts>
tercio@0 380 </Button>
tercio@0 381
tercio@0 382 <Script file="HotCorners.lua"/>
tercio@0 383
tercio@0 384 </Ui>