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.
329 lines
13 KiB
329 lines
13 KiB
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
|
|
<Script file="ItemSocketing.lua"/>
|
|
<Script file="GemExtractor.lua"/>
|
|
|
|
<Button name="NarciGemSlotTemplate" parentKey="GemSlot" hidden="true" virtual="true">
|
|
<Size x="30" y="30"/>
|
|
<HitRectInsets>
|
|
<AbsInset left="8" right="8" top="4" bottom="4"/>
|
|
</HitRectInsets>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="GemBorderShadow" hidden="true" file="Interface\AddOns\Narcissus\Art\GemBorder\GemBorderMask">
|
|
<Size x="54" y="54"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="BORDER" textureSubLevel="2">
|
|
<Texture parentKey="GemBorder" hidden="false">
|
|
<Size x="54" y="54"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="BORDER" textureSubLevel="1">
|
|
<Texture parentKey="GemIcon" hidden="true">
|
|
<Size x="10" y="10"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent.GemBorder" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Animations>
|
|
<AnimationGroup parentKey="animIn">
|
|
<Alpha startDelay="0.1" fromAlpha="0" toAlpha="1" duration="0.2" order="1"/>
|
|
<Scripts>
|
|
<OnFinished>
|
|
self:GetParent():SetAlpha(1);
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="animOut">
|
|
<Alpha startDelay="0.1" fromAlpha="1" toAlpha="0" duration="0.2" order="1"/>
|
|
<Scripts>
|
|
<OnFinished>
|
|
self:GetParent():Hide();
|
|
self:GetParent():SetAlpha(0);
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Button>
|
|
|
|
<Button name="NarciClickableGemSlotTemplate" inherits="NarciGemSlotTemplate" mixin="NarciGemSlotMixin" useParentLevel="true" parentKey="GemSlot" virtual="true">
|
|
<Scripts>
|
|
<OnEnter method="OnEnter"/>
|
|
<OnLeave method="OnLeave"/>
|
|
<OnClick method="OnClick"/>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Frame name="NarciGearEnhancementTooltipTemplate" clipChildren="false" virtual="true" Alpha="0">
|
|
<Size x="180" y="48"/>
|
|
<Layers>
|
|
<!--Layer level="BACKGROUND" textureSubLevel="1">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Tooltip\DropShadowx4" parentKey="Shadow">
|
|
<TexCoords left="0" right="0.37109375" top="0.75" bottom="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="-16" y="4"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="26" y="-26"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer-->
|
|
<Layer level="ARTWORK" textureSubLevel="2">
|
|
<Texture parentKey="Icon" desaturated="false" Alpha="1">
|
|
<TexCoords left="0.05" right="0.95" top="0.14" bottom="0.86"/>
|
|
<Size x="60" y="48"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<MaskTexture parentKey="IconMask" file="Interface\AddOns\Narcissus\Art\GemFlyout\IconMaskLeft" hWrapMode="CLAMPTOWHITE" vWrapMode="CLAMPTOWHITE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Icon" relativePoint="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="Icon"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
</Layer>
|
|
<Layer level="BACKGROUND" textureSubLevel="2">
|
|
<Texture parentKey="Background" setAllPoints="true">
|
|
<Color a="1" r="0.05" g="0.05" b="0.05"/>
|
|
</Texture>
|
|
<Texture parentKey="WhiteStrip">
|
|
<Size y="16"/>
|
|
<Color r="0.8" g="0.8" b="0.8" a="0.8"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT"/>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<MaskTexture parentKey="TailMask" file="Interface\AddOns\Narcissus\Art\Masks\Linear-ShowRight" hWrapMode="CLAMPTOWHITE" vWrapMode="CLAMPTOWHITE">
|
|
<Size x="60" y="80"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="LEFT"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="Background"/>
|
|
<MaskedTexture childKey="WhiteStrip"/>
|
|
<MaskedTexture childKey="Icon"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
</Layer>
|
|
|
|
<Layer level="OVERLAY" textureSubLevel="3">
|
|
<Texture setAllPoints="true" parentKey="Border0">
|
|
<Size x="40" y="40"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="8"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<FontString inherits="NarciFontMedium12" justifyH="LEFT" justifyV="BOTTOM" hidden="false" parentKey="Bonus" maxLines="1">
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
<Size x="180"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="LEFT" x="0" y="1"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString inherits="NarciFontNormal10White" justifyH="LEFT" justifyV="TOP" hidden="false" parentKey="ItemName">
|
|
<Color r="1" g="1" b="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="LEFT" x="0" y="-3"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Button name="Narci_GearEnhancement_Tooltip" inherits="NarciGearEnhancementTooltipTemplate" frameStrata="FULLSCREEN">
|
|
<Frames>
|
|
<Frame parentKey="SpareGemFrame">
|
|
<Size x="16" y="16"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.WhiteStrip" relativePoint="LEFT"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString inherits="NarciTooltipDescriptionFontRegularBlack" parentKey="Text" justifyV="MIDDLE">
|
|
<Size y="16"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture parentKey="ColorBlock" hidden="true">
|
|
<Size x="12" y="12"/>
|
|
<Color r="0" g="0" b="0"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString inherits="NarciFontNormal9" parentKey="More" justifyH="CENTER" justifyV="MIDDLE" hidden="true">
|
|
<Size y="16"/>
|
|
<Color r="0.8" g="0.8" b="0.8"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent.ColorBlock" relativePoint="CENTER" x="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
</Frames>
|
|
</Button>
|
|
|
|
<Frame name="Narci_ItemSocketing_GemFrame" inherits="NarciGemSlotTemplate" parentKey="GemFrame" frameStrata="TOOLTIP" frameLevel="20">
|
|
<Size x="30" y="30"/>
|
|
<Layers>
|
|
<Layer level="OVERLAY" textureSubLevel="5">
|
|
<Texture parentKey="Bling" file="Interface\AddOns\Narcissus\Art\GemBorder\GemSlotHighlight" hidden="false" Alpha="0">
|
|
<TexCoords left="0" right="0.5" top="0" bottom="1"/>
|
|
<Size x="60" y="60"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="FadeOut" setToFinalAlpha="true">
|
|
<Alpha startDelay="1.4" fromAlpha="1" toAlpha="0" duration="0.5" order="1"/>
|
|
<Scripts>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
<Texture parentKey="Flare" file="Interface\AddOns\Narcissus\Art\GemBorder\GemSlotHighlight" hidden="false" Alpha="0">
|
|
<TexCoords left="0.5" right="1" top="0" bottom="1"/>
|
|
<Size x="72" y="72"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent.GemIcon" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="Rotate" setToFinalAlpha="true">
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="1"/>
|
|
<Alpha startDelay="0.8" fromAlpha="1" toAlpha="0" duration="0.5" order="1"/>
|
|
<Rotation degrees="45" duration="1.5" order="1"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self:GetParent():SetAlpha(1);
|
|
local root = self:GetParent():GetParent()
|
|
root.Bling:SetAlpha(1);
|
|
root.Bling.FadeOut:Play();
|
|
root.GemBorder:SetTexture(nil);
|
|
root.GemIcon:SetTexture(nil);
|
|
</OnPlay>
|
|
<OnStop>
|
|
self:GetParent():SetAlpha(0);
|
|
self:GetParent():GetParent().Bling:SetAlpha(0);
|
|
</OnStop>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
<Texture parentKey="Pulse" file="Interface\AddOns\Narcissus\Art\GemBorder\Domination\Pulse" hidden="false" Alpha="0" alphaMode="ADD">
|
|
<Size x="64" y="64"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="Shrink">
|
|
<Alpha fromAlpha="0" toAlpha="0" duration="0" order="1"/>
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.25" order="2"/>
|
|
<Scale fromScaleX="1.5" toScaleX="1" fromScaleY="1.5" toScaleY="1" duration="0.25" smoothing="IN_OUT" order="2"/>
|
|
<Alpha fromAlpha="1" toAlpha="1" duration="2" order="3"/>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="Expand">
|
|
<Alpha fromAlpha="1" toAlpha="0" duration="0.25" order="1"/>
|
|
<Scale scaleX="2" scaleY="2" duration="0.25" smoothing="IN_OUT" order="1"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self.GemIcon:Show();
|
|
</OnLoad>
|
|
<OnHide>
|
|
self:Hide();
|
|
</OnHide>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Button name="NarciItemSocketingActionButton" mixin="NarciItemSocketingActionButtonMixin" inherits="SecureActionButtonTemplate" parent="NarciSecureFrameContainer">
|
|
<Size x="240" y="48"/>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString inherits="NarciFontMedium12" justifyH="CENTER" justifyV="MIDDLE" parentKey="Label">
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<Texture parentKey="ArrowLeft" file="Interface\AddOns\Narcissus\Art\Widgets\Domination\LabelArrows">
|
|
<TexCoords left="0" right="0.5" top="0" bottom="1"/>
|
|
<Size x="10" y="10"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent.Label" relativePoint="LEFT" x="-2" y="0.5"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="Close">
|
|
<Translation offsetX="2" duration="0.12" smoothing="OUT" order="1"/>
|
|
<Translation offsetX="0" duration="10" order="2"/>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="Expand">
|
|
<Translation offsetX="2" duration="0" order="1"/>
|
|
<Translation offsetX="-12" duration="0.5" smoothing="IN_OUT" order="2"/>
|
|
<Alpha fromAlpha="1" toAlpha="0" startDelay="0.1" duration="0.4" order="2"/>
|
|
<Translation offsetX="10" duration="0" order="3"/>
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.25" order="4"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
|
|
<Texture parentKey="ArrowRight" file="Interface\AddOns\Narcissus\Art\Widgets\Domination\LabelArrows">
|
|
<TexCoords left="0.5" right="1" top="0" bottom="1"/>
|
|
<Size x="10" y="10"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Label" relativePoint="RIGHT" x="2" y="0.5"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="Close">
|
|
<Translation offsetX="-2" duration="0.12" smoothing="OUT" order="1"/>
|
|
<Translation offsetX="0" duration="10" order="2"/>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="Expand">
|
|
<Translation offsetX="-2" duration="0" order="1"/>
|
|
<Translation offsetX="12" duration="0.5" smoothing="IN_OUT" order="2"/>
|
|
<Alpha fromAlpha="1" toAlpha="0" startDelay="0.1" duration="0.4" order="2"/>
|
|
<Translation offsetX="-10" duration="0" order="3"/>
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.25" order="4"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Animations>
|
|
<AnimationGroup parentKey="FadeIn">
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.2"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnEnter method="OnEnter"/>
|
|
<OnLeave method="OnLeave"/>
|
|
<OnShow method="OnShow"/>
|
|
<OnHide method="OnHide"/>
|
|
<OnEvent method="OnEvent"/>
|
|
<OnEnable method="OnEnable"/>
|
|
<OnDisable method="OnDisable"/>
|
|
<PreClick method="PreClick"/>
|
|
</Scripts>
|
|
</Button>
|
|
</Ui>
|