Mercurial > wow > hotcorners
view 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 |
line wrap: on
line source
<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"> <Frame name="HotCornersBackgroundFrame" frameStrata="MEDIUM" parent="UIParent"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="0" y="0"/> <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/> </Anchors> <Scripts> <OnLoad> self:EnableMouse (false); </OnLoad> <OnEnter> HotCornersBackgroundOnEnter (self); </OnEnter> </Scripts> </Frame> <Frame name="HotCornersInfosFrame" frameStrata="TOOLTIP" parent="UIParent" hidden="true"> <Size x="500" y="150"/> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true"> <TileSize> <AbsValue val="40"/> </TileSize> <BackgroundInsets> <AbsInset left="0" right="0" top="0" bottom="0"/> </BackgroundInsets> </Backdrop> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="150" y="200"/> </Anchors> <Layers> <Layer level="OVERLAY" textureSubLevel="1"> <!-- repair --> <FontString text="100%" name="$parentRepairText" inherits="FriendsFont_Large" parentKey="repairText"> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="20" y="10"/> </Anchors> <Color r="1" g="1" b="1" a="1"/> </FontString> <Texture name="$parentRepairIcon" parentKey="repairIcon" file="Interface\ICONS\Trade_BlackSmithing"> <Size> <AbsDimension x="20" y="20"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="$parentRepairText" relativePoint="RIGHT" x="4" y="0"/> </Anchors> <TexCoords left="0.0625" right="0.9375" top="0.0625" bottom="0.9375"/> </Texture> <!-- date "SystemFont_OutlineThick_WTF" "GameFont_Gigantic" --> <FontString text="22:10" name="$parentClockText" inherits="GameFont_Gigantic" parentKey="clockText"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="20" y="-10"/> </Anchors> <Color r="1" g="1" b="1" a="1"/> </FontString> <FontString text="Domingo" name="$parentDayText" inherits="FriendsFont_Large" parentKey="dayText" justifyH="LEFT"> <Anchors> <Anchor point="LEFT" relativeTo="$parentClockText" relativePoint="RIGHT" x="10" y="0"/> </Anchors> <Color r="1" g="1" b="1" a="1"/> </FontString> <!-- gold --> <FontString text="10000" name="$parentGoldText" inherits="FriendsFont_Large" parentKey="goldText"> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="90" y="10"/> </Anchors> <Color r="1" g="1" b="1" a="1"/> </FontString> <Texture name="$parentGoldIcon" parentKey="goldIcon" file="Interface\MONEYFRAME\UI-GoldIcon"> <Size> <AbsDimension x="20" y="20"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="$parentGoldText" relativePoint="RIGHT" x="4" y="0"/> </Anchors> </Texture> <FontString text="10000" name="$parentSilverText" inherits="FriendsFont_Large" parentKey="silverText"> <Anchors> <Anchor point="LEFT" relativeTo="$parentGoldIcon" relativePoint="RIGHT" x="5" y="0"/> </Anchors> <Color r="1" g="1" b="1" a="1"/> </FontString> <Texture name="$parentSilverIcon" parentKey="silverIcon" file="Interface\MONEYFRAME\UI-SilverIcon"> <Size> <AbsDimension x="20" y="20"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="$parentSilverText" relativePoint="RIGHT" x="4" y="0"/> </Anchors> </Texture> <FontString text="10000" name="$parentBronzeText" inherits="FriendsFont_Large" parentKey="bronzeText"> <Anchors> <Anchor point="LEFT" relativeTo="$parentSilverIcon" relativePoint="RIGHT" x="5" y="0"/> </Anchors> <Color r="1" g="1" b="1" a="1"/> </FontString> <Texture name="$parentBronzeIcon" parentKey="bronzeIcon" file="Interface\MONEYFRAME\UI-CopperIcon"> <Size> <AbsDimension x="20" y="20"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="$parentBronzeText" relativePoint="RIGHT" x="4" y="0"/> </Anchors> </Texture> </Layer> </Layers> <Animations> <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE"> <!-- hide --> <Alpha fromAlpha="0" toAlpha="0" duration="0" order="1"/> <!-- show --> <Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="2"/> <Scripts> <OnPlay> HotCornersAnimOnShowStarted (self:GetParent()) </OnPlay> <OnFinished> self:GetParent():Show() self:GetParent():SetAlpha(1) </OnFinished> </Scripts> </AnimationGroup> </Animations> </Frame> <Frame name="HotCornersFrameCornerTemplate" frameStrata="FULLSCREEN" virtual="true" parent="UIParent"> <Size x="1" y="1"/> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true"> <TileSize> <AbsValue val="40"/> </TileSize> <BackgroundInsets> <AbsInset left="0" right="0" top="0" bottom="0"/> </BackgroundInsets> </Backdrop> <Scripts> <OnEnter> <!-- HotCornersOnEnter (self); --> </OnEnter> <OnLeave> HotCornersOnLeave (self); </OnLeave> </Scripts> <Frames> <Frame name="$parentItemListFrame" frameStrata="FULLSCREEN" parentKey="item_frame" hidden="true" EnableMouse="true"> <Size x="100" y="40"/> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true"> <TileSize> <AbsValue val="40"/> </TileSize> <BackgroundInsets> <AbsInset left="0" right="0" top="0" bottom="0"/> </BackgroundInsets> </Backdrop> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT" x="0" y="0"/> <Anchor point="TOPRIGHT" relativeTo="UIParent" relativePoint="TOPRIGHT" x="0" y="0"/> <!--<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER" x="0" y="40"/>--> </Anchors> </Frame> </Frames> <Animations> <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE"> <!-- hide --> <Alpha fromAlpha="0" toAlpha="0" duration="0" order="1"/> <!-- show with alpha <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/> --> <Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="2"/> <Scripts> <OnPlay> HotCornersAnimOnShowStarted (self:GetParent()) </OnPlay> <OnFinished> self:GetParent():Show() self:GetParent():SetAlpha(1) HotCornersAnimOnShowFinished (self:GetParent()) </OnFinished> </Scripts> </AnimationGroup> </Animations> </Frame> <Frame name="HotCornersQuickCornerButtonTemplate" frameStrata="FULLSCREEN" virtual="true"> <Size x="1" y="1"/> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="0" y="0"/> </Anchors> <Scripts> <OnLoad> self:SetFrameLevel (self:GetParent():GetFrameLevel()+2); </OnLoad> <OnClick> HotCornersOnQuickClick (self, button); </OnClick> <OnEnter> HotCornersOnEnter (self:GetParent()); </OnEnter> </Scripts> </Frame> <Button name="HotCornersUseItemButtonTemplate" frameStrata="FULLSCREEN" hidden="true" virtual="true" inherits="SecureActionButtonTemplate"> <Size x="32" y="32"/> <Attributes> <Attribute name="type" type="string" value="macro"/> </Attributes> <Layers> <Layer level="OVERLAY" textureSubLevel="1"> <Texture name="$parentBGItemCount" parentKey="bg_item_count"> <Size> <AbsDimension x="20" y="12"/> </Size> <Color r="0" g="0" b="0" a=".5"/> <Anchors> <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/> </Anchors> </Texture> </Layer> <Layer level="OVERLAY" textureSubLevel="2"> <FontString text="0" name="$parentItemCount" inherits="GameFontNormal" parentKey="item_count"> <Anchors> <Anchor point="CENTER" relativeTo="$parentBGItemCount" relativePoint="CENTER" x="0" y="0"/> </Anchors> <Color r="1" g="1" b="1" a="1"/> </FontString> </Layer> </Layers> <Frames> <Cooldown parentKey="cooldown" inherits="CooldownFrameTemplate"> <Size x="32" y="32"/> <Anchors> <Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER"/> </Anchors> </Cooldown> </Frames> <Animations> <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE"> <!-- hide --> <Alpha fromAlpha="0" toAlpha="0" duration="0" order="1"/> <!-- show with alpha <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/> --> <Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="2"/> <Scripts> <OnPlay> HotCornersAnimOnShowStarted (self:GetParent()) </OnPlay> <OnFinished> self:GetParent():Show() self:GetParent():SetAlpha(1) HotCornersAnimOnShowFinished (self:GetParent()) </OnFinished> </Scripts> </AnimationGroup> </Animations> <Scripts> <OnLoad> self:SetFrameLevel (self:GetParent():GetFrameLevel()+2); </OnLoad> <OnEnter> HotCornersButtonOnEnter (self); </OnEnter> <OnLeave> HotCornersButtonOnLeave (self); </OnLeave> <OnMouseDown> HotCornersButtonOnMouseDown (self, button); </OnMouseDown> <OnMouseUp> HotCornersButtonOnMouseUp (self, button); </OnMouseUp> </Scripts> </Button> <Frame name="HotCornersButtonTemplate" frameStrata="FULLSCREEN" hidden="true" virtual="true"> <Size x="32" y="32"/> <Animations> <AnimationGroup name="$parentOnShow" parentKey="AnimOnShow" looping="NONE"> <!-- hide --> <Alpha fromAlpha="0" toAlpha="0" duration="0" order="1"/> <!-- show with alpha <Translation offsetX="32" offsetY="0" duration="0.3" order="2"/> --> <Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="2"/> <Scripts> <OnPlay> HotCornersAnimOnShowStarted (self:GetParent()) </OnPlay> <OnFinished> self:GetParent():Show() self:GetParent():SetAlpha(1) HotCornersAnimOnShowFinished (self:GetParent()) </OnFinished> </Scripts> </AnimationGroup> </Animations> <Scripts> <OnLoad> self:SetFrameLevel (self:GetParent():GetFrameLevel()+2); </OnLoad> <OnEnter> HotCornersButtonOnEnter (self); </OnEnter> <OnLeave> HotCornersButtonOnLeave (self); </OnLeave> <OnMouseDown> HotCornersButtonOnMouseDown (self, button); </OnMouseDown> <OnMouseUp> HotCornersButtonOnMouseUp (self, button); </OnMouseUp> </Scripts> </Frame> <Button name="HotCornersOptionsButtonTemplate" frameStrata="FULLSCREEN" hidden="false" virtual="true"> <Size x="32" y="32"/> <Layers> <Layer level="OVERLAY"> <FontString text="options" name="$parentText" inherits="GameFontHighlightSmall" justifyH="LEFT" nonspacewrap="true" parentKey="text"> <Anchors> <Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER"/> </Anchors> <Color r="0.8" g="0.8" b="0.8" a="0.8"/> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetFrameLevel (self:GetParent():GetFrameLevel()+2); </OnLoad> <OnEnter> HotCornersOptionsButtonOnEnter (self); self.text:SetTextColor (1, 1, 1, 1); </OnEnter> <OnLeave> HotCornersOptionsButtonOnLeave (self); self.text:SetTextColor (0.8, 0.8, 0.8, 0.8); </OnLeave> <OnMouseDown> self.text:SetPoint ("center", self, "center", 1, -1); </OnMouseDown> <OnMouseUp> self.text:SetPoint ("center", self, "center"); HotCornersOpenOptions (self:GetParent()); </OnMouseUp> </Scripts> </Button> <Script file="HotCorners.lua"/> </Ui>