You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
313 lines
12 KiB
313 lines
12 KiB
|
2 years ago
|
<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="OmniCDTemplate" virtual="true" parent="UIParent" frameStrata="MEDIUM" framelevel="8" movable="true" clampedToScreen="true" dontSavePosition="true" hidden="true">
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="1" y="1"/>
|
||
|
|
</Size>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
<Frames>
|
||
|
|
<Frame name="$parentAnchor" parentKey="anchor" enableMouse="true" clampedToScreen="true">
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="15" y="15"/>
|
||
|
|
</Size>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
<Layers>
|
||
|
|
<Layer level="BACKGROUND">
|
||
|
|
<Texture name="$parentBG" setAllPoints="true" parentKey="background">
|
||
|
|
<Color r="0.756" g="0" b="0.012" a="0.7"/>
|
||
|
|
</Texture>
|
||
|
|
</Layer>
|
||
|
|
<Layer level="ARTWORK">
|
||
|
|
<FontString name="$parentText" parentKey="text" inherits="GameFontNormal">
|
||
|
|
<Color r="1" g="1" b="1" a="1"/>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
</FontString>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
</Frame>
|
||
|
|
<Frame name="$parentIcons" parentKey="container" clampedToScreen="true">
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="1" y="1"/>
|
||
|
|
</Size>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT"/>
|
||
|
|
<Anchor point="BOTTOMRIGHT"/>
|
||
|
|
</Anchors>
|
||
|
|
</Frame>
|
||
|
|
</Frames>
|
||
|
|
</Frame>
|
||
|
|
|
||
|
|
<Button name="OmniCDButtonTemplate" hidden="true" virtual="true">
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="36" y="36"/>
|
||
|
|
</Size>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
<Layers>
|
||
|
|
<Layer level="BACKGROUND">
|
||
|
|
<Texture name="$parentIcon" parentKey="icon"/>
|
||
|
|
</Layer>
|
||
|
|
<Layer level="ARTWORK" textureSubLevel="2">
|
||
|
|
<FontString name="$parentHotKey" inherits="NumberFontNormalSmallGray" parentKey="hotKey" justifyH="RIGHT" text="RANGE_INDICATOR" hidden="true">
|
||
|
|
<Size x="32" y="10"/>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT" x="3" y="-3"/>
|
||
|
|
</Anchors>
|
||
|
|
<Color r="1.0" g="0.2" b="0.2" a="0.8"/><!-- 2772 -->
|
||
|
|
</FontString>
|
||
|
|
<FontString name="$parentCount" inherits="NumberFontNormal" parentKey="count" justifyH="RIGHT">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
|
||
|
|
</Anchors>
|
||
|
|
</FontString>
|
||
|
|
</Layer>
|
||
|
|
<Layer level="OVERLAY">
|
||
|
|
<FontString name="$parentName" parentKey="name" inherits="GameFontHighlightSmallOutline">
|
||
|
|
<Size x="36" y="10"/>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="BOTTOM" x="0" y="2"/>
|
||
|
|
</Anchors>
|
||
|
|
</FontString>
|
||
|
|
</Layer>
|
||
|
|
|
||
|
|
<Layer level="BACKGROUND" textureSubLevel="1">
|
||
|
|
<Texture parentKey="borderTop">
|
||
|
|
<Color r="0" g="0" b="0"/>
|
||
|
|
</Texture>
|
||
|
|
<Texture parentKey="borderBottom">
|
||
|
|
<Color r="0" g="0" b="0"/>
|
||
|
|
</Texture>
|
||
|
|
<Texture parentKey="borderLeft">
|
||
|
|
<Color r="0" g="0" b="0"/>
|
||
|
|
</Texture>
|
||
|
|
<Texture parentKey="borderRight">
|
||
|
|
<Color r="0" g="0" b="0"/>
|
||
|
|
</Texture>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
<Frames>
|
||
|
|
<Cooldown name="$parentCooldown" inherits="CooldownFrameTemplate" parentKey="cooldown" reverse="false" drawBling="false" drawEdge="false" hidden="true">
|
||
|
|
<SwipeTexture>
|
||
|
|
<Color r="1" g="1" b="1" a="0.8"/>
|
||
|
|
</SwipeTexture>
|
||
|
|
</Cooldown>
|
||
|
|
<Frame parentKey="PendingFrame" setAllPoints="true" hidden="true">
|
||
|
|
<Layers>
|
||
|
|
<Layer level="ARTWORK">
|
||
|
|
<Texture parentKey="Glow" file="Interface\Transmogrify\Textures.png">
|
||
|
|
<Size x="58" y="57"/>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
<TexCoords left="0.52343750" right="0.97656250" top="0.38476563" bottom="0.49609375"/>
|
||
|
|
</Texture>
|
||
|
|
</Layer>
|
||
|
|
<Layer level="OVERLAY">
|
||
|
|
<Texture parentKey="Ants" file="Interface\Transmogrify\PurpleIconAlertAnts.png">
|
||
|
|
<Size x="44" y="44"/>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
</Texture>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
<Scripts>
|
||
|
|
<OnUpdate>
|
||
|
|
AnimateTexCoords(self.Ants, 256, 256, 48, 48, 22, elapsed, 0.01);
|
||
|
|
</OnUpdate>
|
||
|
|
</Scripts>
|
||
|
|
</Frame>
|
||
|
|
<Frame parentKey="AnimFrame" setAllPoints="true" hidden="true">
|
||
|
|
<Layers>
|
||
|
|
<Layer level="OVERLAY">
|
||
|
|
<Texture parentKey="Glow" file="Interface\Transmogrify\Textures.png" alpha="0">
|
||
|
|
<Size x="58" y="57"/>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
<TexCoords left="0.52343750" right="0.97656250" top="0.38476563" bottom="0.49609375"/>
|
||
|
|
</Texture>
|
||
|
|
<Texture parentKey="Transition" file="Interface\Transmogrify\Textures.png" hidden="false">
|
||
|
|
<Size x="42" y="41"/>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
<TexCoords left="0.52343750" right="0.97656250" top="0.25781250" bottom="0.36914063"/>
|
||
|
|
</Texture>
|
||
|
|
<Texture parentKey="OuterGlow" file="Interface\SpellActivationOverlay\IconAlert" alpha="0">
|
||
|
|
<Size x="58" y="57"/>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
<TexCoords left="0.00781250" right="0.50781250" top="0.53515625" bottom="0.78515625"/>
|
||
|
|
</Texture>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
<Animations>
|
||
|
|
<AnimationGroup parentKey="animIn">
|
||
|
|
<Alpha childKey="OuterGlow" duration="0.15" fromAlpha="0" toAlpha="1" order="1"/>
|
||
|
|
<Alpha childKey="OuterGlow" duration="0.15" fromAlpha="1" toAlpha="0" order="2"/>
|
||
|
|
<Scale childKey="Transition" duration="0.2" scaleX="1.381" scaleY="1.381" order="2"/>
|
||
|
|
<Alpha childKey="Glow" fromAlpha="1" toAlpha="0" duration="0.2" order="2"/>
|
||
|
|
<Scripts>
|
||
|
|
<OnPlay>
|
||
|
|
local frame = self:GetParent();
|
||
|
|
frame:Show();
|
||
|
|
</OnPlay>
|
||
|
|
<OnFinished>
|
||
|
|
local frame = self:GetParent();
|
||
|
|
frame:Hide();
|
||
|
|
</OnFinished>
|
||
|
|
</Scripts>
|
||
|
|
</AnimationGroup>
|
||
|
|
<AnimationGroup parentKey="animOut">
|
||
|
|
<Alpha childKey="OuterGlow" duration="0.15" fromAlpha="0" toAlpha="1" order="1"/>
|
||
|
|
<Alpha childKey="OuterGlow" duration="0.15" fromAlpha="1" toAlpha="0" order="2"/>
|
||
|
|
<Scale childKey="Transition" duration="0.2" scaleX="1.381" scaleY="1.381" order="2"/>
|
||
|
|
<Alpha childKey="Glow" fromAlpha="1" toAlpha="0" duration="0.2" order="2"/>
|
||
|
|
<Scripts>
|
||
|
|
<OnPlay>
|
||
|
|
local frame = self:GetParent();
|
||
|
|
frame:Show();
|
||
|
|
</OnPlay>
|
||
|
|
<OnFinished>
|
||
|
|
local frame = self:GetParent();
|
||
|
|
frame:Hide();
|
||
|
|
</OnFinished>
|
||
|
|
</Scripts>
|
||
|
|
</AnimationGroup>
|
||
|
|
</Animations>
|
||
|
|
<Scripts>
|
||
|
|
<OnHide>
|
||
|
|
if self.animOut:IsPlaying() then
|
||
|
|
self.animOut:Stop()
|
||
|
|
self:Hide()
|
||
|
|
end
|
||
|
|
</OnHide>
|
||
|
|
</Scripts>
|
||
|
|
</Frame>
|
||
|
|
</Frames>
|
||
|
|
</Button>
|
||
|
|
<Frame name="OmniCDButtonSpellActivationAlert" virtual="true">
|
||
|
|
<Layers>
|
||
|
|
<Layer level="BACKGROUND">
|
||
|
|
<Texture name="$parentSpark" parentKey="spark" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
<TexCoords left="0.00781250" right="0.61718750" top="0.00390625" bottom="0.26953125"/>
|
||
|
|
</Texture>
|
||
|
|
</Layer>
|
||
|
|
<Layer level="ARTWORK">
|
||
|
|
<Texture name="$parentInnerGlow" parentKey="innerGlow" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
<TexCoords left="0.00781250" right="0.50781250" top="0.27734375" bottom="0.52734375"/>
|
||
|
|
</Texture>
|
||
|
|
<Texture name="$parentInnerGlowOver" parentKey="innerGlowOver" file="Interface\SpellActivationOverlay\IconAlert" alpha="0">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT" relativeTo="$parentInnerGlow" relativePoint="TOPLEFT"/>
|
||
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="$parentInnerGlow" relativePoint="BOTTOMRIGHT"/>
|
||
|
|
</Anchors>
|
||
|
|
<TexCoords left="0.00781250" right="0.50781250" top="0.53515625" bottom="0.78515625"/>
|
||
|
|
</Texture>
|
||
|
|
<Texture name="$parentOuterGlow" parentKey="outerGlow" file="Interface\SpellActivationOverlay\IconAlert" alpha="0" setAllPoints="true">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
<TexCoords left="0.00781250" right="0.50781250" top="0.27734375" bottom="0.52734375"/>
|
||
|
|
</Texture>
|
||
|
|
<Texture name="$parentOuterGlowOver" parentKey="outerGlowOver" file="Interface\SpellActivationOverlay\IconAlert" alpha="0">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT" relativeTo="$parentOuterGlow" relativePoint="TOPLEFT"/>
|
||
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="$parentOuterGlow" relativePoint="BOTTOMRIGHT"/>
|
||
|
|
</Anchors>
|
||
|
|
<TexCoords left="0.00781250" right="0.50781250" top="0.53515625" bottom="0.78515625"/>
|
||
|
|
</Texture>
|
||
|
|
</Layer>
|
||
|
|
<Layer level="OVERLAY">
|
||
|
|
<Texture name="$parentAnts" parentKey="ants" file="Interface\SpellActivationOverlay\IconAlertAnts" alpha="0" setAllPoints="true">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER"/>
|
||
|
|
</Anchors>
|
||
|
|
</Texture>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
<Animations>
|
||
|
|
<AnimationGroup parentKey="animIn">
|
||
|
|
<Scale target="$parentSpark" duration="0.2" scaleX="1.5" scaleY="1.5" order="1"/>
|
||
|
|
<Alpha target="$parentSpark" duration="0.2" fromAlpha="0" toAlpha="1" order="1"/>
|
||
|
|
<Scale target="$parentInnerGlow" duration="0.3" scaleX="2" scaleY="2" order="1"/>
|
||
|
|
<Scale target="$parentInnerGlowOver" duration="0.3" scaleX="2" scaleY="2" order="1"/>
|
||
|
|
<Alpha target="$parentInnerGlowOver" duration="0.3" fromAlpha="1" toAlpha="0" order="1"/>
|
||
|
|
<Scale target="$parentOuterGlow" duration="0.3" scaleX="0.5" scaleY="0.5" order="1"/>
|
||
|
|
<Scale target="$parentOuterGlowOver" duration="0.3" scaleX="0.5" scaleY="0.5" order="1"/>
|
||
|
|
<Alpha target="$parentOuterGlowOver" duration="0.3" fromAlpha="1" toAlpha="0" order="1"/>
|
||
|
|
<Scale target="$parentSpark" startDelay="0.2" duration="0.2" scaleX="0.666666" scaleY="0.666666" order="1"/>
|
||
|
|
<Alpha target="$parentSpark" startDelay="0.2" duration="0.2" fromAlpha="1" toAlpha="0" order="1"/>
|
||
|
|
<Alpha target="$parentInnerGlow" startDelay="0.3" duration="0.2" fromAlpha="1" toAlpha="0" order="1"/>
|
||
|
|
<Alpha target="$parentAnts" startDelay="0.3" duration="0.2" fromAlpha="0" toAlpha="1" order="1"/>
|
||
|
|
<Scripts>
|
||
|
|
<OnPlay>
|
||
|
|
local frame = self:GetParent();
|
||
|
|
local frameWidth, frameHeight = frame:GetSize();
|
||
|
|
frame.spark:SetSize(frameWidth, frameHeight);
|
||
|
|
frame.spark:SetAlpha(0.3)
|
||
|
|
frame.innerGlow:SetSize(frameWidth / 2, frameHeight / 2);
|
||
|
|
frame.innerGlow:SetAlpha(1.0);
|
||
|
|
frame.innerGlowOver:SetAlpha(1.0);
|
||
|
|
frame.outerGlow:SetSize(frameWidth * 2, frameHeight * 2);
|
||
|
|
frame.outerGlow:SetAlpha(1.0);
|
||
|
|
frame.outerGlowOver:SetAlpha(1.0);
|
||
|
|
frame.ants:SetSize(frameWidth * 0.85, frameHeight * 0.85)
|
||
|
|
frame.ants:SetAlpha(0);
|
||
|
|
frame:Show();
|
||
|
|
</OnPlay>
|
||
|
|
<OnFinished>
|
||
|
|
local frame = self:GetParent();
|
||
|
|
local frameWidth, frameHeight = frame:GetSize();
|
||
|
|
frame.spark:SetAlpha(0);
|
||
|
|
frame.innerGlow:SetAlpha(0);
|
||
|
|
frame.innerGlow:SetSize(frameWidth, frameHeight);
|
||
|
|
frame.innerGlowOver:SetAlpha(0.0);
|
||
|
|
frame.outerGlow:SetSize(frameWidth, frameHeight);
|
||
|
|
frame.outerGlowOver:SetAlpha(0.0);
|
||
|
|
frame.outerGlowOver:SetSize(frameWidth, frameHeight);
|
||
|
|
frame.ants:SetAlpha(1.0);
|
||
|
|
</OnFinished>
|
||
|
|
</Scripts>
|
||
|
|
</AnimationGroup>
|
||
|
|
<AnimationGroup parentKey="animOut">
|
||
|
|
<Alpha target="$parentOuterGlowOver" duration="0.2" fromAlpha="0" toAlpha="1" order="1"/>
|
||
|
|
<Alpha target="$parentAnts" duration="0.2" fromAlpha="1" toAlpha="0" order="1"/>
|
||
|
|
<Alpha target="$parentOuterGlowOver" duration="0.2" fromAlpha="1" toAlpha="0" order="2"/>
|
||
|
|
<Alpha target="$parentOuterGlow" duration="0.2" fromAlpha="1" toAlpha="0" order="2"/>
|
||
|
|
<!--Scripts>
|
||
|
|
<OnFinished>
|
||
|
|
OmniCDOverlayGlow_AnimOutFinished(self);
|
||
|
|
</OnFinished>
|
||
|
|
</Scripts-->
|
||
|
|
</AnimationGroup>
|
||
|
|
</Animations>
|
||
|
|
<Scripts>
|
||
|
|
<OnUpdate>
|
||
|
|
AnimateTexCoords(self.ants, 256, 256, 48, 48, 22, elapsed, 0.01);
|
||
|
|
</OnUpdate>
|
||
|
|
<!--OnHide>
|
||
|
|
if ( self.animOut:IsPlaying() ) then
|
||
|
|
self.animOut:Stop();
|
||
|
|
OmniCDOverlayGlow_AnimOutFinished(self.animOut);
|
||
|
|
end
|
||
|
|
</OnHide-->
|
||
|
|
</Scripts>
|
||
|
|
</Frame>
|
||
|
|
</Ui>
|