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.

142 lines
7.6 KiB

<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
<Script file="Alert.lua"/>
<Script file="Container.lua"/>
<Frame name="Narci_MsgAlertContainer" mixin="NarciMsgAlertContainerMixin" frameStrata="FULLSCREEN" hidden="true">
<Size x="64" y="64"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="UIParent" relativePoint="BOTTOMLEFT"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\AddOns\Narcissus\Art\Modules\MsgAlert\CornerLight" parentKey="CornerLight" alpha="0">
<Size x="512" y="388"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT"/>
</Anchors>
<Animations>
<AnimationGroup parentKey="FadeIn" setToFinalAlpha="true">
<Alpha fromAlpha="0" toAlpha="1" duration="0.5" order="1"/>
</AnimationGroup>
<AnimationGroup parentKey="FadeOut" setToFinalAlpha="true">
<Alpha fromAlpha="1" toAlpha="0" duration="1" order="1"/>
</AnimationGroup>
</Animations>
</Texture>
</Layer>
</Layers>
<Frames>
<Button parentKey="MsgButton" mixin="NarciMsgAlertMixin" hidden="true" registerForClicks="LeftButtonUp, RightButtonUp">
<Size x="149" y="60"/>
<Anchors>
<Anchor point="BOTTOMLEFT" x="16" y="16"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString inherits="NarciFontMedium12" justifyH="LEFT" justifyV="TOP" parentKey="Sender" text="">
<Size x="0" y="0"/>
<Color r="0.98" g="0.95" b="0.78"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="LEFT" x="52" y="2"/>
</Anchors>
</FontString>
<FontString inherits="NarciFontMedium12" justifyH="LEFT" justifyV="TOP" parentKey="Message" text="" maxLines="1">
<Size x="0" y="0"/>
<Color r="1" g="1" b="1"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="LEFT" x="52" y="-2"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Cooldown parentKey="ProgressRing" hideCountdownNumbers="true">
<Size x="42" y="42"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent" relativePoint="LEFT" x="30"/>
</Anchors>
<SwipeTexture file="Interface\AddOns\Narcissus\Art\Modules\MsgAlert\ProgressRing"/>
<Scripts>
<OnCooldownDone>
self:GetParent():OnMsgPlayed();
</OnCooldownDone>
</Scripts>
</Cooldown>
<Frame parentKey="ExtraFrame" hidden="true" Alpha="0">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Left" file="Interface\AddOns\Narcissus\Art\Modules\MsgAlert\Popup">
<Size x="42" y="85"/>
<TexCoords left="0" right="0.25" top="0" bottom="0.5"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="-10" y="-2"/>
</Anchors>
</Texture>
<Texture parentKey="Center" file="Interface\AddOns\Narcissus\Art\Modules\MsgAlert\Popup">
<Size x="85" y="85"/>
<TexCoords left="0.25" right="0.75" top="0" bottom="0.5"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Left" relativePoint="RIGHT"/>
</Anchors>
</Texture>
<Texture parentKey="Right" file="Interface\AddOns\Narcissus\Art\Modules\MsgAlert\Popup">
<Size x="42" y="85"/>
<TexCoords left="0.75" right="1" top="0" bottom="0.5"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Center" relativePoint="RIGHT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Button parentKey="CloseButton" registerForClicks="LeftButtonUp, RightButtonUp" Alpha="0.5">
<Size x="24" y="24"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent" relativePoint="TOPRIGHT" x="-14" y="-14"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture parentKey="Icon" file="Interface\AddOns\Narcissus\Art\Modules\MsgAlert\Popup">
<Size x="20" y="20"/>
<TexCoords left="0.25" right="0.375" top="0.5" bottom="0.625"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Button>
</Frames>
</Frame>
</Frames>
<Animations>
<AnimationGroup parentKey="FlyUp">
<Translation offsetY="-8" duration="0" order="1"/>
<Translation offsetY="8" duration="0.32" order="2" smoothing="OUT"/>
</AnimationGroup>
</Animations>
<Scripts>
<OnLoad method="OnLoad"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
<OnShow method="OnShow"/>
<OnHide method="OnHide"/>
<OnMouseDown method="OnMouseDown"/>
<OnMouseUp method="OnMouseUp"/>
<OnClick method="OnClick"/>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad method="OnLoad"/>
<OnEvent method="OnEvent"/>
<OnShow method="OnShow"/>
<OnHide method="OnHide"/>
</Scripts>
</Frame>
</Ui>