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.
2821 lines
101 KiB
2821 lines
101 KiB
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
|
|
<Script file="Main.lua"/>
|
|
|
|
<EditBox name="NarciEditBoxHideTooltipTemplate" virtual="true" inherits="NarciEditBoxTemplate">
|
|
<Scripts>
|
|
<OnEditFocusGained>
|
|
Narci:HideButtonTooltip();
|
|
Narci.UserIsInputing = true;
|
|
</OnEditFocusGained>
|
|
</Scripts>
|
|
</EditBox>
|
|
|
|
<DressUpModel name="ModelPieceTemplate" virtual="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.$parent.FigureModelReference" relativePoint="TOPLEFT" x="-2" y="14"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.$parent.FigureModelReference" relativePoint="BOTTOMRIGHT" x="-2" y="14"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" parentKey="Color">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="0" b="0" a="0"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:SetUnit("player");
|
|
local frame = self:GetParent():GetParent();
|
|
if not frame.Pieces then
|
|
frame.Pieces = {};
|
|
end
|
|
tinsert(frame.Pieces, self);
|
|
</OnLoad>
|
|
<!--OnShow function="Narci_PortraitPieces_OnLoad"/-->
|
|
</Scripts>
|
|
</DressUpModel>
|
|
|
|
<Frame name="ModelPieceFrameTemplate" clipChildren="true" virtual="true" frameLevel="2">
|
|
<Frames>
|
|
<DressUpModel inherits="ModelPieceTemplate"/>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<!--Frame name="ModelPieceFrame" clipChildren="true" hidden="false">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="-100"/>
|
|
</Anchors>
|
|
<Size x="100" y="100"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" parentKey="Color">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="0" b="0" a="0.5"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<DressUpModel parent="Test1" virtual="false">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" parentKey="Color">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="0" g="0" b="0" a="0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
Narci_PortraitPieces_OnLoad(self)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</DressUpModel>
|
|
</Frames>
|
|
</Frame-->
|
|
|
|
|
|
<Button name="NarciWidgetButtonTemplate" virtual="true">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY" textureSubLevel="6">
|
|
<FontString inherits="NarciFontMedium12" justifyH="LEFT" justifyV="MIDDLE" parentKey="Label" text="Token">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="10" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="OVERLAY" textureSubLevel="3">
|
|
<Texture setAllPoints="true" parentKey="Color" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="0.6"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY" textureSubLevel="1">
|
|
<Texture setAllPoints="true" parentKey="Background" hidden="false" >
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="0" g="0" b="0" a="0.9"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame inherits="NarciClickFeedbackTemplate"/>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnEnter>
|
|
self.Color:Show();
|
|
</OnEnter>
|
|
<OnLeave>
|
|
self.Color:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="NarciWidgetCheckboxButtonTemplate" inherits="NarciWidgetButtonTemplate" virtual="true">
|
|
<Size>
|
|
<AbsDimension y="20"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="OVERLAY" textureSubLevel="4">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\Arrows\Tick" parentKey="Tick" hidden="true">
|
|
<Size x="12" y="12"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" x="-10"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY" textureSubLevel="3">
|
|
<Texture setAllPoints="true" parentKey="HighlightColor" hidden="true" Alpha="0.5">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="0" g="0" b="0" a="0.5"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self.Background:SetColorTexture(0.06, 0.06, 0.06, 0.8)
|
|
self.IsOn = false;
|
|
</OnLoad>
|
|
<OnShow function="Narci_SetButtonColor"/>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Texture name="NarciTextureArrowH" file="Interface\AddOns\Narcissus\Art\Widgets\Arrows\Arrow-H" virtual="true">
|
|
<Size x="12" y="12"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT" x="-10" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
|
|
<Frame name="Narci_RadarTemplate" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="96" y="96"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" hidden="false">
|
|
<TexCoords left="0.94921875" right="1" top="0.890625" bottom="1"/>
|
|
<Size>
|
|
<AbsDimension x="9" y="96"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="LEFT" x="-2" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" hidden="false">
|
|
<TexCoords left="0.94921875" right="1" top="0.890625" bottom="1"/>
|
|
<Size>
|
|
<AbsDimension x="9" y="96"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="RIGHT" x="2" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" hidden="false">
|
|
<TexCoords left="0" right="0.87890625" top="0.94921875" bottom="1"/>
|
|
<Size x="96" y="9"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="TOP" x="0" y="2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" hidden="false">
|
|
<TexCoords left="0.87890625" right="0" top="1" bottom="0.94921875"/>
|
|
<Size x="96" y="9"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="BOTTOM" x="0" y="-2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="RectTopLeftCorner" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" virtual="true">
|
|
<TexCoords left="0.8828125" right="1" top="0" bottom="0.1171875"/>
|
|
<Size x="21" y="21"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="TOPLEFT" x="4" y="-4"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="RectTopRightCorner" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" virtual="true">
|
|
<TexCoords left="1" right="0.8828125" top="0" bottom="0.1171875"/>
|
|
<Size x="21" y="21"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="TOPRIGHT" x="-4" y="-4"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="RectBottomLeftCorner" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" virtual="true">
|
|
<TexCoords left="0.8828125" right="1" top="0.1171875" bottom="0"/>
|
|
<Size x="21" y="21"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="4" y="4"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="RectBottomRightCorner" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" virtual="true">
|
|
<TexCoords left="1" right="0.8828125" top="0.1171875" bottom="0"/>
|
|
<Size x="21" y="21"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="-4" y="4"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_AttributeTemplate" virtual="true" inherits="NarciAttributeSharedTemplate">
|
|
<Size>
|
|
<AbsDimension x="240" y="24"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture setAllPoints="true" parentKey="Color1">
|
|
<Size x="120" y="24" />
|
|
<Color r="0.06" g="0.627" b="0.537" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="1" r="1" g="1" b="1"/>
|
|
<MaxColor a="1" r="0.6" g="0.6" b="0.6"/>
|
|
</Gradient>
|
|
</Texture>
|
|
<Texture setAllPoints="true" parentKey="Color2">
|
|
<Size x="120" y="24" />
|
|
<Color r="0.06" g="0.627" b="0.537" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="1" r="0.45" g="0.45" b="0.45"/>
|
|
<MaxColor a="1" r="0.85" g="0.85" b="0.85"/>
|
|
</Gradient>
|
|
</Texture>
|
|
|
|
<FontString inherits="NarciFontMedium12" justifyH="LEFT" justifyV="MIDDLE" parentKey="Label" text="Label">
|
|
<Size x="0" y="0"/>
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.GL" relativePoint="LEFT" x="12" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<FontString inherits="NarciFontStatusNumber" justifyH="RIGHT" justifyV="MIDDLE" parentKey="Value" text="1208">
|
|
<Size x="0" y="0"/>
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent.GR" relativePoint="RIGHT" x="-12" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<FontString inherits="NarciFontStatusNumber" justifyH="RIGHT" justifyV="MIDDLE" parentKey="ValueRating" text="1208" hidden="true">
|
|
<Size x="0" y="0"/>
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent.Color" relativePoint="RIGHT" x="-12" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Animations>
|
|
<AnimationGroup parentKey="animIn">
|
|
<Alpha parentKey="A1" fromAlpha="0" toAlpha="0" duration="0.2" order="1"/>
|
|
<Alpha parentKey="A2" fromAlpha="0" toAlpha="1" duration="0.4" order="2"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
</OnPlay>
|
|
<OnFinished>
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
<Scripts>
|
|
<OnLoad>
|
|
Narci_AttributeFrame_OnLoad(self);
|
|
local delay = (self:GetID())/20;
|
|
self.animIn.A2:SetStartDelay(delay);
|
|
</OnLoad>
|
|
<OnEnter>
|
|
Narci_ShowStatTooltip(self);
|
|
</OnEnter>
|
|
<OnShow function="Narci_AttributeFrame_UpdateBackgroundColor"/>
|
|
<OnLeave>
|
|
Narci:HideButtonTooltip();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_DetailedAttributeTemplate" virtual="true" inherits="NarciAttributeSharedTemplate">
|
|
<Size>
|
|
<AbsDimension x="160" y="24"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString inherits="NarciFontMedium12" justifyH="LEFT" justifyV="MIDDLE" parentKey="Label" text="Label">
|
|
<Size x="90" y="0"/>
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="10" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<FontString inherits="NarciFontStatusNumber" justifyH="RIGHT" justifyV="MIDDLE" parentKey="Value" text="1208">
|
|
<Size x="0" y="0"/>
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT" x="-10" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Animations>
|
|
<AnimationGroup parentKey="animIn">
|
|
<Alpha parentKey="A1" fromAlpha="0" toAlpha="0" duration="0.2" order="1"/>
|
|
<Alpha parentKey="A2" fromAlpha="0" toAlpha="1" duration="0.4" order="2"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
--self:GetParent():Show()
|
|
</OnPlay>
|
|
<OnFinished>
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
<Scripts>
|
|
<OnLoad>
|
|
Narci_AttributeFrame_OnLoad(self);
|
|
local delay = (self:GetID())/20;
|
|
self.animIn.A2:SetStartDelay(delay);
|
|
</OnLoad>
|
|
<OnEnter>
|
|
Narci_ShowStatTooltip(self);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
Narci:HideButtonTooltip();
|
|
</OnLeave>
|
|
<OnShow function="Narci_AttributeFrame_UpdateBackgroundColor"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_DetailedAttributeTemplateShortLeft" virtual="true" frameLevel="9" inherits="NarciAttributeSharedTemplate">
|
|
<Size>
|
|
<AbsDimension x="112" y="48"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" parentKey="Black">
|
|
<Size x="112" y="24"/>
|
|
<Color r="0.1" g="0.1" b="0.1" a="0.75"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent" relativePoint="TOP" x="0" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="1" r="1" g="1" b="1"/>
|
|
<MaxColor a="1" r="0.6" g="0.6" b="0.6"/>
|
|
</Gradient>
|
|
</Texture>
|
|
<Texture setAllPoints="true" parentKey="Color">
|
|
<Size x="112" y="24"/>
|
|
<Color r="0.06" g="0.627" b="0.537" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="1" r="1" g="1" b="1"/>
|
|
<MaxColor a="1" r="0.6" g="0.6" b="0.6"/>
|
|
</Gradient>
|
|
</Texture>
|
|
</Layer>
|
|
|
|
<Layer level="OVERLAY">
|
|
<FontString inherits="NarciFontMedium12" justifyH="CENTER" justifyV="MIDDLE" parentKey="Label" text="Label">
|
|
<Size x="92" y="0"/>
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent.Black" relativePoint="CENTER" x="-1" y="0"/> <!--Compensate for Radar's Border-->
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<FontString inherits="NarciFontStatusNumber" justifyH="LEFT" justifyV="MIDDLE" parentKey="Value" text="12.08%">
|
|
<Size x="0" y="0"/>
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Color" relativePoint="LEFT" x="10" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<FontString inherits="NarciFontStatusNumber" justifyH="RIGHT" justifyV="MIDDLE" parentKey="ValueRating" text="1208">
|
|
<Size x="0" y="0"/>
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent.Color" relativePoint="RIGHT" x="-11" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<!--Animations>
|
|
<AnimationGroup parentKey="animIn" smoothing="OUT">
|
|
<Alpha parentKey="A1" fromAlpha="0" toAlpha="0" duration="0.2" order="1"/>
|
|
<Alpha parentKey="A2" fromAlpha="0" toAlpha="1" duration="0.4" order="2"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
|
|
</OnPlay>
|
|
<OnFinished>
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations-->
|
|
<Scripts>
|
|
<OnLoad>
|
|
Narci_AttributeFrame_OnLoad(self);
|
|
</OnLoad>
|
|
<OnEnter>
|
|
Narci_ShowStatTooltip(self);
|
|
self:GetParent():SetVerticeSize(self, 15);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
Narci:HideButtonTooltip();
|
|
self:GetParent():SetVerticeSize(self, 12);
|
|
</OnLeave>
|
|
<OnShow function="Narci_AttributeFrame_UpdateBackgroundColor"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_DetailedAttributeTemplateShortRight" virtual="true" frameLevel="9" inherits="NarciAttributeSharedTemplate">
|
|
<Size>
|
|
<AbsDimension x="112" y="48"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" parentKey="Black">
|
|
<Size x="112" y="24"/>
|
|
<Color r="0.1" g="0.1" b="0.1" a="0.75"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent" relativePoint="TOP" x="0" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="1" r="0.45" g="0.45" b="0.45"/>
|
|
<MaxColor a="1" r="0.85" g="0.85" b="0.85"/>
|
|
</Gradient>
|
|
</Texture>
|
|
<Texture setAllPoints="true" parentKey="Color">
|
|
<Size x="112" y="24" />
|
|
<Color r="0.06" g="0.627" b="0.537" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="1" r="0.45" g="0.45" b="0.45"/>
|
|
<MaxColor a="1" r="0.85" g="0.85" b="0.85"/>
|
|
</Gradient>
|
|
</Texture>
|
|
</Layer>
|
|
|
|
<Layer level="OVERLAY">
|
|
<FontString inherits="NarciFontMedium12" justifyH="CENTER" justifyV="MIDDLE" parentKey="Label" text="Label">
|
|
<Size x="92" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent.Black" relativePoint="CENTER" x="1" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<FontString inherits="NarciFontStatusNumber" justifyH="LEFT" justifyV="MIDDLE" parentKey="Value" text="12.08%">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Color" relativePoint="LEFT" x="11" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<FontString inherits="NarciFontStatusNumber" justifyH="RIGHT" justifyV="MIDDLE" parentKey="ValueRating" text="1208">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent.Color" relativePoint="RIGHT" x="-10" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<!--Animations>
|
|
<AnimationGroup parentKey="animIn" smoothing="OUT">
|
|
<Alpha parentKey="A1" fromAlpha="0" toAlpha="0" duration="0.2" order="1"/>
|
|
<Alpha parentKey="A2" fromAlpha="0" toAlpha="1" duration="0.4" order="2"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
|
|
</OnPlay>
|
|
<OnFinished>
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations-->
|
|
<Scripts>
|
|
<OnLoad>
|
|
Narci_AttributeFrame_OnLoad(self);
|
|
</OnLoad>
|
|
<OnEnter>
|
|
Narci_ShowStatTooltip(self);
|
|
self:GetParent():SetVerticeSize(self, 15);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
Narci:HideButtonTooltip();
|
|
self:GetParent():SetVerticeSize(self, 12);
|
|
</OnLeave>
|
|
<OnShow function="Narci_AttributeFrame_UpdateBackgroundColor"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_DetailedAttributeTemplateLeft" inherits="Narci_DetailedAttributeTemplate" virtual="true">
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" parentKey="Color">
|
|
<Size x="160" y="24"/>
|
|
<Color r="0.06" g="0.627" b="0.537" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="1" r="1" g="1" b="1"/>
|
|
<MaxColor a="1" r="0.6" g="0.6" b="0.6"/>
|
|
</Gradient>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_DetailedAttributeTemplateRight" inherits="Narci_DetailedAttributeTemplate" virtual="true">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="160"/>
|
|
</Anchors>
|
|
<Size>
|
|
<AbsDimension x="160" y="24"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" parentKey="Color">
|
|
<Size x="160" y="24" />
|
|
<Color r="0.06" g="0.627" b="0.537" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="1" r="0.45" g="0.45" b="0.45"/>
|
|
<MaxColor a="1" r="0.85" g="0.85" b="0.85"/>
|
|
</Gradient>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Animations>
|
|
<AnimationGroup parentKey="animIn">
|
|
<Alpha parentKey="A1" fromAlpha="0" toAlpha="0" duration="0.2" order="1"/>
|
|
<Alpha parentKey="A2" fromAlpha="0" toAlpha="1" duration="0.4" order="2"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
--self:GetParent():Show()
|
|
</OnPlay>
|
|
<OnFinished>
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
<Scripts>
|
|
<OnLoad>
|
|
Narci_AttributeFrame_OnLoad(self);
|
|
local delay = (self:GetID())/20;
|
|
self.animIn.A2:SetStartDelay(delay);
|
|
</OnLoad>
|
|
<OnEnter>
|
|
Narci_ShowStatTooltip(self);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
Narci:HideButtonTooltip();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Button name="NarciRuneSlotTemplate" parentKey="RuneSlot" useParentLevel="true" hidden="true" virtual="true">
|
|
<Scripts>
|
|
<OnEnter function="Narci_RuneButton_OnEnter"/>
|
|
<OnLeave>
|
|
Narci:HideButtonTooltip();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="NarciRuneSlotLeftTemplate" inherits="NarciRuneSlotTemplate" virtual="true">
|
|
<Size x="30" y="30"/>
|
|
<HitRectInsets>
|
|
<AbsInset left="6" right="8" top="-4" bottom="-4"/>
|
|
</HitRectInsets>
|
|
<Layers>
|
|
<Layer level="OVERLAY" textureSubLevel="4">
|
|
<FontString inherits="NarciRuneFont" parentKey="RuneLetter" Alpha="1" hidden="true" justifyH="CENTER">
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Shadow>
|
|
<Offset>
|
|
<AbsDimension x="-0.8" y="-0.6"/>
|
|
</Offset>
|
|
<Color a="1" r="0.8" g="0.8" b="0.8"/>
|
|
</Shadow>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
|
|
<Button name="NarciRuneSlotRightTemplate" inherits="NarciRuneSlotTemplate" virtual="true">
|
|
<Size x="30" y="30"/>
|
|
<HitRectInsets>
|
|
<AbsInset left="8" right="6" top="-4" bottom="-4"/>
|
|
</HitRectInsets>
|
|
<Layers>
|
|
<Layer level="OVERLAY" textureSubLevel="4">
|
|
<FontString inherits="NarciRuneFont" parentKey="RuneLetter" Alpha="1" hidden="true" justifyH="CENTER"> <!--
ᛏ-->
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="2" y="0"/>
|
|
</Anchors>
|
|
<Shadow>
|
|
<Offset>
|
|
<AbsDimension x="0.8" y="-0.6"/>
|
|
</Offset>
|
|
<Color a="1" r="0.8" g="0.8" b="0.8"/>
|
|
</Shadow>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
|
|
<Button name="NarciSlotButtonTemplate" registerForClicks="LeftButtonUp, RightButtonDown, RightButtonUp" virtual="true" frameLevel="6" inherits="SecureActionButtonTemplate" mixin="NarciItemButtonSharedMixin"> <!--inherits="SecureActionButtonTemplate" inherits="SecureHandlerClickTemplate" -->
|
|
<Size>
|
|
<AbsDimension x="70" y="72"/>
|
|
</Size>
|
|
<HitRectInsets>
|
|
<AbsInset left="12" right="12" top="12" bottom="12"/>
|
|
</HitRectInsets>
|
|
<Layers>
|
|
<Layer level="ARTWORK" textureSubLevel="2">
|
|
<Texture parentKey="Icon">
|
|
<Size x="50" y="50"/> <!--48-->
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="anim">
|
|
<Alpha startDelay="0.1" fromAlpha="1" toAlpha="0" duration="0.2" order="1"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
local overlay = self:GetParent():GetParent().IconOverlay;
|
|
overlay:SetDesaturated(self:GetParent():IsDesaturated());
|
|
overlay:Show();
|
|
overlay:SetAlpha(1);
|
|
</OnPlay>
|
|
<OnFinished>
|
|
local tex = self:GetParent();
|
|
local overlay = tex:GetParent().IconOverlay;
|
|
tex:SetAlpha(0)
|
|
tex:SetTexture(overlay:GetTexture());
|
|
tex:SetAlpha(1)
|
|
overlay:SetAlpha(0);
|
|
overlay:Hide();
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK" textureSubLevel="1">
|
|
<Texture parentKey="IconOverlay" Alpha="0" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Icon" relativePoint="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon" relativePoint="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY" textureSubLevel="2">
|
|
<Texture parentKey="Border">
|
|
<Size x="128" y="128"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<MaskTexture parentKey="IconMask" file="Interface\AddOns\Narcissus\Art\Masks\HexagonMask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
|
|
<Size>
|
|
<AbsDimension x="64" y="64"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="Icon"/>
|
|
<MaskedTexture childKey="IconOverlay"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
|
|
</Layer>
|
|
<Layer level="OVERLAY" textureSubLevel="1">
|
|
<Texture parentKey="Highlight" hidden="true" file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\GenericHighlight" alphaMode="ADD" Alpha="0">
|
|
<Size x="52" y="52"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="-1"/>
|
|
</Anchors>
|
|
<!--Animations>
|
|
<AnimationGroup parentKey="BlingIn" looping="NONE" setToFinalAlpha="true">
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="1" parentKey="a1"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self.a1:SetFromAlpha(self:GetParent():GetAlpha());
|
|
self:GetParent():Show();
|
|
</OnPlay>
|
|
<OnFinished>
|
|
if not self:GetParent():GetParent():IsMouseOver() then
|
|
self:GetParent().BlingOut:Play();
|
|
end
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="BlingOut" looping="NONE" setToFinalAlpha="true">
|
|
<Alpha toAlpha="0" duration="0.6" order="1" parentKey="a1"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self.a1:SetFromAlpha(self:GetParent():GetAlpha());
|
|
</OnPlay>
|
|
<OnFinished>
|
|
self:GetParent():Hide();
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations-->
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame parentKey="ItemLevelCenter" hidden="true">
|
|
<Layers>
|
|
<Layer level="OVERLAY" textureSubLevel="3">
|
|
<FontString parentKey="ItemLevel" inherits="NarciFontNormal10White" justifyH="CENTER" justifyV="MIDDLE" text="">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent.$parent.Border" relativePoint="CENTER" x="0" y="-8"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BORDER" textureSubLevel="1">
|
|
<Texture setAllPoints="true" parentKey="GradientBackgroundCenterLeft">
|
|
<Size x="16" y="14" />
|
|
<Color r="0" g="0" b="0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent.ItemLevel" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="0" r="0" g="0" b="0"/>
|
|
<MaxColor a="0.8" r="0" g="0" b="0"/>
|
|
</Gradient>
|
|
</Texture>
|
|
<Texture setAllPoints="true" parentKey="GradientBackgroundCenterRight">
|
|
<Size x="16" y="14" />
|
|
<Color r="0" g="0" b="0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.ItemLevel" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="0.8" r="0" g="0" b="0"/>
|
|
<MaxColor a="0" r="0" g="0" b="0"/>
|
|
</Gradient>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
</Frames>
|
|
<Attributes>
|
|
</Attributes>
|
|
</Button>
|
|
|
|
<Button name="NarciEquipmentFlyoutButtonTemplate" inherits="NarciSlotButtonTemplate" frameStrata="DIALOG" virtual="true" mixin="NarciEquipmentFlyoutButtonMixin">
|
|
<Scripts>
|
|
<OnLoad>
|
|
</OnLoad>
|
|
<OnClick method="OnClick"/>
|
|
<OnEnter method="OnEnter"/>
|
|
<OnLeave method="OnLeave"/>
|
|
<OnEvent method="OnEvent"/>
|
|
</Scripts>
|
|
<Frames>
|
|
<Button inherits="NarciRuneSlotRightTemplate">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" x="4" y="0"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter/>
|
|
<OnLeave/>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<Animations>
|
|
<AnimationGroup parentKey="FlyUp">
|
|
<Translation offsetY="-8" duration="0" order="1"/>
|
|
<Alpha fromAlpha="0" toAlpha="0" duration="0" order="1"/>
|
|
<Translation offsetY="8" duration="0.2" order="2" smoothing="OUT" parentKey="Move"/>
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="2" parentKey="Fade"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Button>
|
|
|
|
<Button name="NarciEquipmentSlotButtonTemplate" inherits="NarciSlotButtonTemplate" virtual="true" mixin="NarciEquipmentSlotMixin"> <!--inherits="SecureActionButtonTemplate"-->
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnDragStart method="OnDragStart"/>
|
|
<OnReceiveDrag method="OnReceiveDrag"/>
|
|
<OnHide method="OnHide"/>
|
|
<PreClick method="PreClick"/>
|
|
<PostClick method="PostClick"/>
|
|
<OnEnter method="OnEnter"/>
|
|
<OnLeave method="OnLeave"/>
|
|
<OnEvent method="OnEvent"/>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="NarciSlotButtonLeftTemplate" inherits="NarciEquipmentSlotButtonTemplate" virtual="true">
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" parentKey="GradientBackground">
|
|
<Size x="140" y="40"/>
|
|
<Color r="0" g="0" b="0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="RIGHT" x="-32" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="0.8" r="1" g="1" b="1"/>
|
|
<MaxColor a="0" r="1" g="1" b="1"/>
|
|
</Gradient>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Name" inherits="NarciFontItemName" justifyH="LEFT" justifyV="TOP" text="Item Name" maxLines="2">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.GradientBackground" relativePoint="TOPLEFT" x="30" y="-7"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="anim1">
|
|
<Alpha fromAlpha="1" toAlpha="0" duration="0.2" order="1"/>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="anim2">
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="1"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</FontString>
|
|
<FontString parentKey="ItemLevel" inherits="NarciFontNormal10White" justifyH="LEFT" justifyV="TOP" text="355" maxLines="2">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent.GradientBackground" relativePoint="BOTTOMLEFT" x="30" y="6"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="anim1">
|
|
<Alpha fromAlpha="1" toAlpha="0" duration="0.2" order="1"/>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="anim2">
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="1"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button inherits="NarciClickableGemSlotTemplate">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="LEFT" x="11" y="0"/>
|
|
</Anchors>
|
|
<HitRectInsets>
|
|
<AbsInset left="2" right="8" top="4" bottom="4"/>
|
|
</HitRectInsets>
|
|
</Button>
|
|
<Button inherits="NarciRuneSlotLeftTemplate">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="-4" y="0"/>
|
|
</Anchors>
|
|
</Button>
|
|
</Frames>
|
|
<Animations>
|
|
<AnimationGroup parentKey="animOut">
|
|
<Translation smoothing="IN" offsetX="-120" duration="0.6" order="1"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Button>
|
|
|
|
<Button name="NarciSlotButtonRightTemplate" inherits="NarciEquipmentSlotButtonTemplate" virtual="true">
|
|
<KeyValues>
|
|
<KeyValue key="isRight" value="true" type="boolean"/>
|
|
</KeyValues>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" parentKey="GradientBackground">
|
|
<Size x="140" y="40" />
|
|
<Color r="0" g="0" b="0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="LEFT" x="32" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="0" r="1" g="1" b="1"/>
|
|
<MaxColor a="0.8" r="1" g="1" b="1"/>
|
|
</Gradient>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Name" inherits="NarciFontItemName" justifyH="RIGHT" justifyV="TOP" text="Item Name" maxLines="2">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.GradientBackground" relativePoint="TOPRIGHT" x="-30" y="-7"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="anim1">
|
|
<Alpha fromAlpha="1" toAlpha="0" duration="0.2" order="1"/>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="anim2">
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="1"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</FontString>
|
|
<FontString parentKey="ItemLevel" inherits="NarciFontNormal10White" justifyH="RIGHT" justifyV="TOP" text="355" maxLines="2">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.GradientBackground" relativePoint="BOTTOMRIGHT" x="-30" y="6"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="anim1">
|
|
<Alpha fromAlpha="1" toAlpha="0" duration="0.2" order="1"/>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="anim2">
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="1"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button inherits="NarciClickableGemSlotTemplate">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="RIGHT" x="-11" y="0"/>
|
|
</Anchors>
|
|
<HitRectInsets>
|
|
<AbsInset left="8" right="2" top="4" bottom="4"/>
|
|
</HitRectInsets>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self.isRight = true;
|
|
self.GemBorder:SetTexCoord(1, 0, 0, 1);
|
|
self.GemBorderShadow:SetTexCoord(1, 0, 0, 1);
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button inherits="NarciRuneSlotRightTemplate">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" x="4" y="0"/>
|
|
</Anchors>
|
|
</Button>
|
|
</Frames>
|
|
<Animations>
|
|
<AnimationGroup parentKey="animOut">
|
|
<Translation smoothing="IN" offsetX="120" duration="0.6" order="1"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Button>
|
|
|
|
<Frame name="Narci_GuideLineFrame" setAllPoints="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="TOPLEFT" x="0"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="UIParent" relativePoint="BOTTOMRIGHT" x="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" hidden="true">
|
|
<Color r="0.18" g="0.20" b="1" a="0.25"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame name="Narci_VirtualLineLeft" parentKey="VirtualLineLeft">
|
|
<Size>
|
|
<AbsDimension x="1" y="1"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="80" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" hidden="true">
|
|
<Size x="1" y="1000" />
|
|
<Color r="0.64" g="0.21" b="0.93" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame parentKey="AnimFrame" inherits="NarciAnimContainerFrame" hidden="true">
|
|
<Scripts>
|
|
<OnUpdate function="Narci_LeftLineAnimFrame_OnUpdate"/>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_VirtualLineRight" parentKey="VirtualLineRight">
|
|
<Size>
|
|
<AbsDimension x="1" y="1"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" x="-496" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" hidden="true">
|
|
<Size x="1" y="1000" />
|
|
<Color r="0.64" g="0.21" b="0.93" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame parentKey="AnimFrame" inherits="NarciAnimContainerFrame" hidden="true">
|
|
<Scripts>
|
|
<OnUpdate function="Narci_RightLineAnimFrame_OnUpdate"/>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_VirtualLineCenter" parentKey="VirtualLineCenter" hidden="true" setAllPoints="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Narci_VirtualLineLeft" relativePoint="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="Narci_VirtualLineRight" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" hidden="true">
|
|
<Size x="2" y="1000" />
|
|
<Color r="1" g="1" b="1" a="0.2"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<Frame name="Narci_VirtualLineRightCenter" parentKey="VirtualLineRightCenter" hidden="false" setAllPoints="true">
|
|
<Size y="1"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="Narci_VirtualLineRight" relativePoint="LEFT" x="0" y="0"/>
|
|
<Anchor point="RIGHT"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" hidden="true">
|
|
<Color r="1" g="1" b="1" a="0.6"/>
|
|
<Anchors>
|
|
<Anchor point="TOP"/>
|
|
<Anchor point="BOTTOM"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad function="Narci_GuideLineFrame_OnSizing"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_Character" setAllPoints="true" hidden="true">
|
|
<Frames>
|
|
<Frame name="Narci_EquipmentFlyoutFrame" hidden="true" enableMouse="false" frameStrata="HIGH" mixin="NarciEquipmentFlyoutFrameMixin">
|
|
<Size x="64" y="64"/>
|
|
<Frames>
|
|
<Frame frameStrata="HIGH" enableMouse="true" parentKey="ButtonFrame" clampedToScreen="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
</Frames>
|
|
<Layers>
|
|
<Layer level="BORDER">
|
|
<Texture setAllPoints="true" hidden="true">
|
|
<Color r="0.4" g="0.4" b="1" a="0.6"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY" textureSubLevel="6">
|
|
<Texture parentKey="Arrow" file="Interface\AddOns\Narcissus\Art\Widgets\Arrows\UnequipArrow-Yellow.tga" hidden="true">
|
|
<Size x="36" y="36" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="LEFT" x="-32" y="8"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="anim" looping="REPEAT">
|
|
<Translation parentKey="Translation" offsetY="-8" duration="0.6" order="1" smoothing="IN"/>
|
|
<Translation parentKey="Translation" offsetY="8" duration="0.6" order="2" smoothing="OUT"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnHide method="OnHide"/>
|
|
<OnShow method="OnShow"/>
|
|
<OnEvent method="OnEvent"/>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="Narci_FlyoutBlack" hidden="false" frameStrata="MEDIUM" setAllPoints="true" Alpha="0" frameLevel="8" mixin="NarciFlyoutOverlayMixin">
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" parentKey="Black">
|
|
<Color r="0" g="0" b="0" a="0.5"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnHide method="OnHide"/>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="Narci_XmogNameFrame" parentKey="XmogNameFrame" Alpha="1" hidden="true" frameStrata="HIGH" ignoreParentScale="true" scale="0.8">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Narci_GuideLineFrame" relativePoint="TOPLEFT" x="20" y="-20"/>
|
|
</Anchors>
|
|
<Size x="100" y="100"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND" textureSubLevel="1">
|
|
<Texture setAllPoints="true" parentKey="Background">
|
|
<Size x="240" y="60" />
|
|
<Color r="0" g="0" b="0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="CENTER" x="20" y="0"/>
|
|
</Anchors>
|
|
<Gradient orientation="HORIZONTAL">
|
|
<MinColor a="0.6" r="0" g="0" b="0"/>
|
|
<MaxColor a="0" r="0" g="0" b="0"/>
|
|
</Gradient>
|
|
</Texture>
|
|
<Texture name="Narci_FigureModelReference" parentKey="FigureModelReference">
|
|
<Size x="140" y="100"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="ArmorString" inherits="NarciFontPlayerInfo" justifyH="LEFT" justifyV="TOP" text="1208 Peterodox">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Background" relativePoint="TOPLEFT" x="26" y="-9"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame frameLevel="1">
|
|
<Size x="102" y="102"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND" textureSubLevel="2">
|
|
<Texture hidden="false" file="Interface\AddOns\Narcissus\Art\BasicShapes\Hexagon" Alpha="0.8">
|
|
<Size x="80" y="80"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="BACKGROUND" textureSubLevel="3">
|
|
<Texture parentKey="TubeBorder" file="Interface\AddOns\Narcissus\Art\Widgets\Portrait\PortraitBorder" >
|
|
<TexCoords left="0" right="0.5" top="0" bottom="0.55859375"/>
|
|
<Size x="91" y="102"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<Frame frameLevel="3">
|
|
<Size x="102" y="102"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="TubeBorder" file="Interface\AddOns\Narcissus\Art\Widgets\Portrait\PortraitBorder" >
|
|
<TexCoords left="0.5" right="1" top="0" bottom="0.55859375"/>
|
|
<Size x="91" y="102"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<Frame parentKey="C0" inherits="ModelPieceFrameTemplate">
|
|
<Size x="20" y="50"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent" relativePoint="BOTTOM" x="0" y="10"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame parentKey="C1" inherits="ModelPieceFrameTemplate">
|
|
<Size x="100" y="50"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.C0" relativePoint="TOP" x="0" y="-1"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame parentKey="L1" inherits="ModelPieceFrameTemplate">
|
|
<Size x="20" y="38"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.C0" relativePoint="BOTTOMLEFT" x="0.5" y="12"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame parentKey="L2" inherits="ModelPieceFrameTemplate">
|
|
<Size x="8" y="34"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.L1" relativePoint="BOTTOMLEFT" x="0.5" y="4"/>
|
|
</Anchors>
|
|
</Frame>
|
|
|
|
<Frame parentKey="R1" inherits="ModelPieceFrameTemplate">
|
|
<Size x="20" y="38"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent.C0" relativePoint="BOTTOMRIGHT" x="-0.5" y="12"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame parentKey="R2" inherits="ModelPieceFrameTemplate">
|
|
<Size x="8" y="34"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent.R1" relativePoint="BOTTOMRIGHT" x="-0.5" y="4"/>
|
|
</Anchors>
|
|
</Frame>
|
|
|
|
<EditBox parentKey="PlayerName" clipChildren="false" autoFocus="false" letters="24" multiLine="false" name="Narci_XmogNameEditbox" inherits="NarciEditBoxHideTooltipTemplate">
|
|
<Size>
|
|
<AbsDimension x="400" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent.Background" relativePoint="BOTTOMLEFT" x="26" y="8"/>
|
|
</Anchors>
|
|
<FontString justifyH="LEFT" justifyV="BOTTOM"/>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self.tooltipHeadline = "Name Your Set -PH"
|
|
self.tooltipLine1 = "Left-click to modify this text."
|
|
</OnLoad>
|
|
<OnEnter>
|
|
if self:GetParent():GetAlpha() ~= 1 then
|
|
return;
|
|
end
|
|
Narci_ShowButtonTooltip(self);
|
|
SetCursor("Interface/CURSOR/Cast.blp")
|
|
</OnEnter>
|
|
<OnTextChanged>
|
|
NarciAPI.SmartFontType(self)
|
|
local LetterNum = self:GetNumLetters()
|
|
local w = math.max(LetterNum*16, 180)
|
|
self:GetParent().Background:SetWidth(w)
|
|
</OnTextChanged>
|
|
<OnEscapePressed>
|
|
self:ClearFocus();
|
|
</OnEscapePressed>
|
|
<OnEnterPressed>
|
|
self:ClearFocus();
|
|
</OnEnterPressed>
|
|
<OnLeave>
|
|
Narci:HideButtonTooltip();
|
|
SetCursor("Interface/CURSOR/Point.blp")
|
|
</OnLeave>
|
|
</Scripts>
|
|
</EditBox>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnShow function="Narci_PortraitPieces_OnLoad"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Button inherits="NarciSlotButtonLeftTemplate" parentKey="ChestSlot" id="5">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="ChestSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="Narci_VirtualLineLeft" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonLeftTemplate" parentKey="BackSlot" id="15">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="BackSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.ChestSlot" relativePoint="TOP" x="0" y="2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonLeftTemplate" parentKey="ShoulderSlot" id="3">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="ShoulderSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.BackSlot" relativePoint="TOP" x="0" y="2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonLeftTemplate" parentKey="NeckSlot" id="2">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="NeckSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.ShoulderSlot" relativePoint="TOP" x="0" y="2" />
|
|
</Anchors>
|
|
<Frames>
|
|
<Frame name="Narci_HeartofAzeroth_AnimFrame" ignoreParentScale="false" Alpha="0" clampedToScreen="true">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="2" y="-2"/>
|
|
</Anchors>
|
|
<Size x="256" y="144"/>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture parentKey="Sequence" file="Interface\AddOns\Narcissus\Art\Animations\HeartBox">
|
|
<TexCoords left="0" right="0.25" top="0" bottom="0.140625"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<FontString parentKey="Quote" inherits="NarciFontNormal10White" justifyH="CENTER" justifyV="MIDDLE" text=" " Alpha="0">
|
|
<Size x="86" y="0"/>
|
|
<Color r="0.8" g="0.8" b="0.8" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="66" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="SN" inherits="NarciFontNormal10White" justifyH="CENTER" justifyV="MIDDLE" text=" " Alpha="0">
|
|
<Size x="0" y="0"/>
|
|
<Color r="0.4" g="0.4" b="0.4" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent.Quote" relativePoint="CENTER" x="0" y="-48"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="Background" file="Interface\AddOns\Narcissus\Art\Animations\HeartBox-Static" Alpha="0">
|
|
<TexCoords left="0" right="1" top="0" bottom="0.5625"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnEnter>
|
|
self:OnEnter();
|
|
if self.isAzeriteItem then
|
|
AnimationSequenceContainer_Heart:Hide();
|
|
AnimationSequenceContainer_Heart:Show();
|
|
AnimationSequenceContainer_Heart.OppoDirection = false;
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
self:OnLeave();
|
|
AnimationSequenceContainer_Heart:Hide();
|
|
AnimationSequenceContainer_Heart:Show();
|
|
AnimationSequenceContainer_Heart.OppoDirection = true
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonLeftTemplate" parentKey="HeadSlot" id="1">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="HeadSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.NeckSlot" relativePoint="TOP" x="0" y="2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonLeftTemplate" parentKey="WristSlot" id="9">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="WristSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.ChestSlot" relativePoint="BOTTOM" x="0" y="-2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonLeftTemplate" parentKey="MainHandSlot" id="16">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="MainHandSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.WristSlot" relativePoint="BOTTOM" x="0" y="-2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonLeftTemplate" parentKey="SecondaryHandSlot" id="17">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="SecondaryHandSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.MainHandSlot" relativePoint="BOTTOM" x="0" y="-2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonLeftTemplate" parentKey="ShirtSlot">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="ShirtSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.SecondaryHandSlot" relativePoint="BOTTOM" x="0" y="-2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonRightTemplate" parentKey="Finger0Slot" id="11">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="Finger0Slot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="Narci_VirtualLineRight" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonRightTemplate" parentKey="FeetSlot" id="8">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="FeetSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.Finger0Slot" relativePoint="TOP" x="0" y="2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonRightTemplate" parentKey="LegsSlot" id="7">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="LegsSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.FeetSlot" relativePoint="TOP" x="0" y="2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonRightTemplate" parentKey="WaistSlot" id="6">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="WaistSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.LegsSlot" relativePoint="TOP" x="0" y="2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonRightTemplate" parentKey="HandsSlot" id="10">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="HandsSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.WaistSlot" relativePoint="TOP" x="0" y="2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonRightTemplate" parentKey="Finger1Slot" id="12">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="Finger1Slot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Finger0Slot" relativePoint="BOTTOM" x="0" y="-2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonRightTemplate" parentKey="Trinket0Slot" id="13">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="Trinket0Slot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Finger1Slot" relativePoint="BOTTOM" x="0" y="-2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonRightTemplate" parentKey="Trinket1Slot" id="14">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="Trinket1Slot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Trinket0Slot" relativePoint="BOTTOM" x="0" y="-2" />
|
|
</Anchors>
|
|
</Button>
|
|
|
|
<Button inherits="NarciSlotButtonRightTemplate" parentKey="TabardSlot">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="TabardSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Trinket1Slot" relativePoint="BOTTOM" x="0" y="-2" />
|
|
</Anchors>
|
|
</Button>
|
|
</Frames>
|
|
<Animations>
|
|
<AnimationGroup parentKey="animOut">
|
|
<Alpha fromAlpha="1" toAlpha="0" duration="0.4" order="1"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self:GetParent():UnregisterEvent("PLAYER_REGEN_ENABLED");
|
|
</OnPlay>
|
|
<OnFinished>
|
|
self:GetParent():Hide();
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="AutoStand">
|
|
<Translation startDelay="23" duration="0" order="1"/>
|
|
<Scripts>
|
|
<OnFinished>
|
|
DoEmote("Stand", "none");
|
|
self:Play();
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
<Scripts>
|
|
<OnShow>
|
|
self:RegisterEvent("PLAYER_REGEN_DISABLED");
|
|
</OnShow>
|
|
<OnHide>
|
|
self:Hide();
|
|
self:SetAlpha(0);
|
|
self:StopAnimating();
|
|
self:UnregisterEvent("PLAYER_REGEN_DISABLED");
|
|
</OnHide>
|
|
<OnEvent>
|
|
if event == "PLAYER_REGEN_DISABLED" then
|
|
self:Hide();
|
|
self:RegisterEvent("PLAYER_REGEN_ENABLED");
|
|
elseif event == "PLAYER_REGEN_ENABLED" then
|
|
self:UnregisterEvent(event);
|
|
if Narci_Attribute:IsVisible() and Narci.isActive then
|
|
self:Show();
|
|
self:SetAlpha(1);
|
|
end
|
|
end
|
|
</OnEvent>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_Attribute" hidden="true" frameStrata="MEDIUM" frameLevel="8">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="Narci_GuideLineFrame" relativePoint="BOTTOMRIGHT"/>
|
|
<Anchor point="TOPLEFT" relativeTo="Narci_VirtualLineRight" relativePoint="CENTER" y="302"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<!--Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" hidden="false">
|
|
<Color r="0.64" g="0.21" b="0.93" a="0.5"/>
|
|
</Texture>
|
|
</Layer-->
|
|
</Layers>
|
|
<Frames>
|
|
<Frame name="Narci_PlayerInfoFrame" parentKey="PlayerInfo" frameLevel="20">
|
|
<Size>
|
|
<AbsDimension x="200" y="40"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent" relativePoint="TOP" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Miscellaneous" inherits="NarciFontPlayerInfo" justifyH="CENTER" justifyV="BOTTOM" text="1208 Peterodox">
|
|
<Size x="0" y="0"/>
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<EditBox parentKey="PlayerName" clipChildren="false" autoFocus="false" letters="24" multiLine="false" name="Narci_PlayerNameEditbox" inherits="NarciEditBoxHideTooltipTemplate">
|
|
<Size>
|
|
<AbsDimension x="400" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent" relativePoint="TOP" x="0" y="0"/>
|
|
</Anchors>
|
|
<FontString justifyH="CENTER" justifyV="TOP">
|
|
<Color r="0.92" g="0.92" b="0.92"/>
|
|
</FontString>
|
|
<Scripts>
|
|
<OnShow>
|
|
local LetterNum = self:GetNumLetters()
|
|
local w = math.max(LetterNum*16, 180)
|
|
self:SetWidth(w);
|
|
</OnShow>
|
|
<OnEnter>
|
|
if self:GetParent():GetAlpha() ~= 1 then
|
|
return;
|
|
end
|
|
if self:IsEnabled() then
|
|
SetCursor("Interface/CURSOR/Cast.blp")
|
|
end
|
|
</OnEnter>
|
|
<OnTextChanged>
|
|
NarciAPI.SmartFontType(self)
|
|
local LetterNum = self:GetNumLetters()
|
|
local w = math.max(LetterNum*16, 160)
|
|
self:SetWidth(w);
|
|
</OnTextChanged>
|
|
<OnEscapePressed>
|
|
self:ClearFocus();
|
|
self:HighlightText(0,0);
|
|
local text = strtrim(self:GetText());
|
|
self:SetText(text);
|
|
NarcissusDB_PC.PlayerAlias = text;
|
|
</OnEscapePressed>
|
|
<OnEnterPressed>
|
|
self:ClearFocus();
|
|
self:HighlightText(0,0);
|
|
local text = strtrim(self:GetText());
|
|
self:SetText(text);
|
|
NarcissusDB_PC.PlayerAlias = text;
|
|
</OnEnterPressed>
|
|
<OnLeave>
|
|
Narci:HideButtonTooltip();
|
|
SetCursor("Interface/CURSOR/Point.blp")
|
|
</OnLeave>
|
|
<OnHide>
|
|
self:ClearFocus();
|
|
self:HighlightText(0,0);
|
|
</OnHide>
|
|
</Scripts>
|
|
<Frames>
|
|
<Button name="Narci_AliasButton" parentKey="TooltipFrame" Alpha="0">
|
|
<Size x="160" y="20"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent" relativePoint="TOP" x="0" y="4"/>
|
|
</Anchors>
|
|
<ButtonText inherits="NarciFontNormal10" justifyH="CENTER" maxLines="1" parentKey="Label">
|
|
<Size x="0" y="0"/>
|
|
<Color r="0.25" g="0.78" b="0.92" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</ButtonText>
|
|
<PushedTextOffset>
|
|
<AbsDimension x="0.8" y="-0.8"/>
|
|
</PushedTextOffset>
|
|
<Layers>
|
|
<Layer level="BACKGROUND" textureSubLevel="10">
|
|
<Texture parentKey="Background" setAllPoints="true">
|
|
<Size y="20"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Label" relativePoint="LEFT" x="-6"/>
|
|
<Anchor point="RIGHT" relativeKey="$parent.Label" relativePoint="RIGHT" x="6"/>
|
|
</Anchors>
|
|
<Color a="0.4" r="1" g="1" b="1"/>
|
|
<Gradient orientation="VERTICAL">
|
|
<MinColor a="1" r="0.0" g="0.0" b="0.0"/>
|
|
<MaxColor a="1" r="0.1" g="0.1" b="0.1"/>
|
|
</Gradient>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="BORDER">
|
|
<Texture parentKey="Highlight" setAllPoints="true" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Background" relativePoint="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Background" relativePoint="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
<Color a="1" r="1" g="1" b="1"/>
|
|
<Gradient orientation="VERTICAL">
|
|
<MinColor a="1" r="0.65" g="0.65" b="0.65"/>
|
|
<MaxColor a="1" r="1" g="1" b="1"/>
|
|
</Gradient>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:SetWidth(self.Label:GetWidth()+12)
|
|
</OnLoad>
|
|
<OnEnter>
|
|
self.Label:SetTextColor(0, 0, 0);
|
|
self.Label:SetShadowColor(1, 1, 1);
|
|
self.Highlight:Show();
|
|
</OnEnter>
|
|
<OnLeave>
|
|
self.Label:SetTextColor(0.25, 0.78, 0.92);
|
|
self.Label:SetShadowColor(0, 0, 0);
|
|
self.Highlight:Hide();
|
|
</OnLeave>
|
|
<OnHide>
|
|
self:SetAlpha(0)
|
|
self.Label:SetTextColor(0.25, 0.78, 0.92);
|
|
self.Label:SetShadowColor(0, 0, 0);
|
|
self.Highlight:Hide();
|
|
</OnHide>
|
|
<OnClick function="Narci_AliasButton_OnClick"/>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</EditBox>
|
|
|
|
<Frame parentKey="MouseOverFrame" frameLevel="20">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="-80" y="60"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="80" y="-40"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND" textureSubLevel="10">
|
|
<Texture parentKey="Background" setAllPoints="true" hidden="true">
|
|
<Color a="1" r="0" g="0" b="1"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
local TooltipFrame = self:GetParent().PlayerName.TooltipFrame;
|
|
UIFrameFadeIn(TooltipFrame, 0.15, TooltipFrame:GetAlpha(), 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
Narci:HideButtonTooltip();
|
|
SetCursor("Interface/CURSOR/Point.blp")
|
|
local TooltipFrame = self:GetParent().PlayerName.TooltipFrame;
|
|
--print("leave")
|
|
if not self:IsMouseOver() then
|
|
UIFrameFadeOut(TooltipFrame, 0.15, TooltipFrame:GetAlpha(), 0);
|
|
Narci_PlayerInfoFrame.PlayerName:HighlightText(0,0)
|
|
if NarcissusDB_PC.UseAlias then
|
|
local editBox = Narci_PlayerInfoFrame.PlayerName;
|
|
local text = strtrim(editBox:GetText());
|
|
editBox:SetText(text);
|
|
NarcissusDB_PC.PlayerAlias = text;
|
|
end
|
|
Narci_PlayerInfoFrame.PlayerName:ClearFocus()
|
|
end
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad function="Narci_SetPlayerName"/>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="Narci_ItemLevelFrame" parentKey="ItemLevelFrame" mixin="NarciItemLevelFrameMixin">
|
|
<Size>
|
|
<AbsDimension x="200" y="100"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.PlayerInfo" relativePoint="BOTTOM" y="-24"/>
|
|
</Anchors>
|
|
<Frames>
|
|
<Button parentKey="CenterButton" mixin="NarciItemLevelCenterButtonMixin">
|
|
<Size x="102" y="102"/>
|
|
<HitRectInsets>
|
|
<AbsInset left="10" right="10" top="10" bottom="10"/>
|
|
</HitRectInsets>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK" textureSubLevel="3">
|
|
<Texture parentKey="Reference">
|
|
<Size x="80" y="80"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture setAllPoints="true" parentKey="Fluid">
|
|
<Size x="100" y="42" />
|
|
<Color r="0.64" g="0.21" b="0.93" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.Reference" relativePoint="BOTTOM" x="0" y="-3"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture setAllPoints="true" parentKey="Surface" alphaMode="ADD">
|
|
<Size x="100" y="2" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Fluid" relativePoint="TOP" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="0.8"/>
|
|
<Gradient orientation="VERTICAL">
|
|
<MinColor a="0" r="1" g="1" b="1"/>
|
|
<MaxColor a="1" r="1" g="1" b="1"/>
|
|
</Gradient>
|
|
</Texture>
|
|
<MaskTexture file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\HexagonTube-Mask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
|
|
<Size>
|
|
<AbsDimension x="91" y="91"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="Fluid"/>
|
|
<MaskedTexture childKey="Surface"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
</Layer>
|
|
<Layer level="BACKGROUND" textureSubLevel="-1">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\HexagonBackground" hidden="true">
|
|
<Size x="80" y="80"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK" textureSubLevel="1">
|
|
<Texture parentKey="Background" hidden="false" file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\QualityGrey" snapToPixelGrid="false" texelSnappingBias="0">
|
|
<Size x="80" y="80"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK" textureSubLevel="2">
|
|
<Texture parentKey="FluidBackground" file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\HexagonTube" snapToPixelGrid="false" texelSnappingBias="0">
|
|
<TexCoords left="0.5" right="1" top="0" bottom="0.5"/>
|
|
<Size x="104.0" y="104.0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY" textureSubLevel="2">
|
|
<Texture parentKey="TubeBorder" file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\HexagonTube" snapToPixelGrid="false" texelSnappingBias="0">
|
|
<TexCoords left="0" right="0.5" top="0" bottom="0.5"/>
|
|
<Size x="104.0" y="104.0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY" textureSubLevel="1">
|
|
<Texture parentKey="Highlight" hidden="true" file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\GenericHighlight" alphaMode="ADD" Alpha="0">
|
|
<Size x="100" y="100"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" x="0" y="0"/>
|
|
</Anchors>
|
|
<Animations>
|
|
<AnimationGroup parentKey="Bling" looping="NONE">
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.4" order="1"/>
|
|
<Alpha fromAlpha="1" toAlpha="1" duration="0.2" order="2"/>
|
|
<Alpha fromAlpha="1" toAlpha="0" duration="1.4" order="3"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
PlaySound(54133);
|
|
self:GetParent():Show();
|
|
</OnPlay>
|
|
<OnFinished>
|
|
self:GetParent():Hide();
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
<FontString parentKey="Level" inherits="NarciFontNumber24" justifyH="CENTER" justifyV="MIDDLE" text="N/A">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent.Reference" relativePoint="CENTER" x="0" y="-4"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString inherits="NarciFontSemplicita9" justifyH="CENTER" justifyV="BOTTOM" text="MAX" parentKey="Header">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.Level" relativePoint="TOP" x="0" y="2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<!--Frame parentKey="CorruptionEffect">
|
|
<Size x="250" y="250"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent"/>
|
|
</Anchors>
|
|
<Frames>
|
|
<ModelScene parentKey="Effect" useParentLevel="false" drawLayer="OVERLAY" alpha="0" inherits="NarciNonInteractableModelSceneTemplate">
|
|
<Size x="250" y="250"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" />
|
|
</Anchors>
|
|
</ModelScene>
|
|
</Frames>
|
|
<Animations>
|
|
<AnimationGroup parentKey="Bling">
|
|
<Alpha duration="1" fromAlpha="1" toAlpha="1" order="1"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
local Effect = self:GetParent().Effect;
|
|
Effect:Show();
|
|
Effect:SetAlpha(1);
|
|
local TOAST_MODEL_SCENE_INFO = StaticModelInfo.CreateModelSceneEntry(111, 3152608, 3152608);
|
|
StaticModelInfo.SetupModelScene(Effect, TOAST_MODEL_SCENE_INFO, true);
|
|
</OnPlay>
|
|
<OnFinished>
|
|
self:GetParent().Effect:Hide();
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Frame-->
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<!--OnMouseDown method="OnMouseDown"/>
|
|
<OnMouseUp method="OnMouseUp"/>
|
|
<OnClick method="OnClick"/-->
|
|
<OnEnter method="OnEnter"/>
|
|
<OnLeave method="OnLeave"/>
|
|
<OnHide method="OnHide"/>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button parentKey="LeftButton" hidden="true">
|
|
<Size x="76" y="76"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="Background" hidden="false" file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\HexagonTube" snapToPixelGrid="false">
|
|
<TexCoords left="0.5" right="1" top="0.5" bottom="1"/>
|
|
<Size x="104.0" y="104.0" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="Highlight" file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\HexagonTube" Alpha="0" snapToPixelGrid="false">
|
|
<TexCoords left="0" right="0.5" top="0.5" bottom="1"/>
|
|
<Size x="104.0" y="104.0" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="BACKGROUND" textureSubLevel="2">
|
|
<FontString parentKey="Level" inherits="NarciFontNumber12" justifyH="CENTER" justifyV="MIDDLE" text="128" hidden="false">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0"/>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.$parent.CenterButton.Level" relativePoint="BOTTOM" y="3"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString inherits="NarciFontSemplicita9" justifyH="CENTER" justifyV="BOTTOM" text="EA" hidden="false">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.Level" relativePoint="TOP" x="0" y="2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
|
|
<Button parentKey="RightButton" hidden="true">
|
|
<Size x="76" y="76"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="Background" hidden="false" file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\HexagonTube" snapToPixelGrid="false">
|
|
<TexCoords left="1" right="0.5" top="0.5" bottom="1"/>
|
|
<Size x="104.0" y="104.0" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="Highlight" file="Interface\AddOns\Narcissus\Art\Widgets\ItemLevel\HexagonTube" Alpha="0" snapToPixelGrid="false">
|
|
<TexCoords left="0.5" right="0" top="0.5" bottom="1"/>
|
|
<Size x="104.0" y="104.0" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="BACKGROUND" textureSubLevel="2">
|
|
<FontString parentKey="Number" inherits="NarciFontNumber12" justifyH="CENTER" justifyV="MIDDLE" text="0" hidden="false">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0"/>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.$parent.CenterButton.Level" relativePoint="BOTTOM" y="3"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString inherits="NarciFontSemplicita9" justifyH="CENTER" justifyV="BOTTOM" text="RN" hidden="false" parentKey="Header">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeKey="$parent.Number" relativePoint="TOP" x="0" y="2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
|
|
<Frame parentKey="DominationOverlay" hidden="true" id="1" frameLevel="12">
|
|
<Size x="104.0" y="104.0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\Domination\SpellIconBorder" parentKey="IconBorder" hidden="true"/>
|
|
</Layer>
|
|
<Layer level="OVERLAY" textureSubLevel="1">
|
|
<Texture parentKey="SpellIcon" hidden="true">
|
|
<Size x="52" y="52"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<MaskTexture parentKey="SpellIconMask" file="Interface\AddOns\Narcissus\Art\Widgets\Domination\SpellIconMask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
|
|
<Size x="52" y="52"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="SpellIcon"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Frame parentKey="ClassSetOverlay" hidden="true" frameLevel="12">
|
|
<Size x="104.0" y="104.0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</Frame>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_DetailedStatFrame" setAllPoints="true" hidden="false" Alpha="0" parentKey="DetailedStatFrame">
|
|
<Frames>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateLeft" parentKey="Primary" id="1" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Primary" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.$parent.ItemLevelFrame" relativePoint="BOTTOM" x="0" y="-98"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateLeft" parentKey="Stamina" id="2" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Stamina" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Primary" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateLeft" parentKey="Damage" id="3" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Damage" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Stamina" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateLeft" parentKey="AttackSpeed" id="4" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="AttackSpeed" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Damage" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateLeft" parentKey="Power" id="5" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Power" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.AttackSpeed" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateLeft" parentKey="Regen" id="6" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Regen" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Power" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
|
|
<Frame inherits="Narci_DetailedAttributeTemplateRight" parentKey="Health" id="1" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Health" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Primary" relativePoint="RIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateRight" parentKey="Armor" id="2" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Armor" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Health" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateRight" parentKey="Reduction" id="3" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Reduction" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Armor" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateRight" parentKey="Dodge" id="4" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Dodge" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Reduction" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateRight" parentKey="Parry" id="5" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Parry" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Dodge" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateRight" parentKey="Block" id="6" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Block" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Parry" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_RadarChartFrame" parentKey="RadarChart" inherits="Narci_RadarTemplate" frameLevel="10" mixin="NarciRadarChartMixin">
|
|
<Size>
|
|
<AbsDimension x="96" y="96"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.DetailedStatFrame.Regen" relativePoint="BOTTOMRIGHT" x="0" y="-26"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" Alpha="0.9" hidden="false">
|
|
<TexCoords left="0" right="0.625" top="0" bottom="0.625"/>
|
|
<Size x="98" y="98"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK" textureSubLevel="2">
|
|
<Texture setAllPoints="true" parentKey="MaskedBackground" Alpha="0.4">
|
|
<Size x="100" y="100" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1"/>
|
|
</Texture>
|
|
<Texture setAllPoints="true" parentKey="MaskedBackground2" Alpha="0.4">
|
|
<Size x="100" y="100" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1"/>
|
|
</Texture>
|
|
<MaskTexture parentKey="Mask1" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Mask-2Square" hWrapMode="CLAMPTOBLACK" vWrapMode="CLAMPTOBLACK" rotation="0">
|
|
<Size>
|
|
<AbsDimension x="200" y="200"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="MaskedBackground"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
<MaskTexture parentKey="Mask2" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Mask-2Square" hWrapMode="CLAMPTOBLACK" vWrapMode="CLAMPTOBLACK" rotation="0">
|
|
<Size>
|
|
<AbsDimension x="400" y="400"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="MaskedBackground"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
<MaskTexture parentKey="Mask3" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Mask-2Square" hWrapMode="CLAMPTOBLACK" vWrapMode="CLAMPTOBLACK" rotation="0">
|
|
<Size>
|
|
<AbsDimension x="400" y="400"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="MaskedBackground2"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
<MaskTexture parentKey="Mask4" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Mask-2Square" hWrapMode="CLAMPTOBLACK" vWrapMode="CLAMPTOBLACK" rotation="0">
|
|
<Size>
|
|
<AbsDimension x="400" y="400"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="MaskedBackground2"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
<MaskTexture parentKey="MaskHalf1" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Mask2" hWrapMode="CLAMPTOBLACK" vWrapMode="CLAMPTOBLACK">
|
|
<Size>
|
|
<AbsDimension x="100" y="100"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="MaskedBackground"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
<MaskTexture parentKey="MaskHalf2" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Mask2" hWrapMode="CLAMPTOBLACK" vWrapMode="CLAMPTOBLACK" rotation="180">
|
|
<Size>
|
|
<AbsDimension x="100" y="100"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="MaskedBackground2"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
</Layer>
|
|
<Layer level="ARTWORK" textureSubLevel="1">
|
|
<Line setAllPoints="true" thickness="1" parentKey="Diagonal1" Alpha="0.8">
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="0" g="0" b="0" a="0.6"/>
|
|
<StartAnchor relativeKey="$parent" relativePoint="TOPLEFT" x="1" y="-1"/>
|
|
<EndAnchor relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="-1" y="1"/>
|
|
</Line>
|
|
<Line setAllPoints="true" thickness="1" parentKey="Diagonal2" Alpha="0.8">
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="0" g="0" b="0" a="0.6"/>
|
|
<StartAnchor relativeKey="$parent" relativePoint="TOPRIGHT" x="-1" y="-1"/>
|
|
<EndAnchor relativeKey="$parent" relativePoint="BOTTOMLEFT" x="1" y="1"/>
|
|
</Line>
|
|
</Layer>
|
|
<Layer level="OVERLAY" textureSubLevel="1"> <!--Line of Ratings-->
|
|
<Texture setAllPoints="true" parentKey="MaskedLine1" Alpha="0.8">
|
|
<Size x="100" y="100" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1"/>
|
|
</Texture>
|
|
<Texture setAllPoints="true" parentKey="MaskedLine2" Alpha="0.8">
|
|
<Size x="100" y="100" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1"/>
|
|
</Texture>
|
|
<Texture setAllPoints="true" parentKey="MaskedLine3" Alpha="0.8">
|
|
<Size x="100" y="100" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1"/>
|
|
</Texture>
|
|
<Texture setAllPoints="true" parentKey="MaskedLine4" Alpha="0.8">
|
|
<Size x="100" y="100" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1"/>
|
|
</Texture>
|
|
<MaskTexture parentKey="MaskLine1" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Mask-Line" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
|
|
<Size>
|
|
<AbsDimension x="200" y="200"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="MaskedLine1"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
<MaskTexture parentKey="MaskLine2" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Mask-Line" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
|
|
<Size>
|
|
<AbsDimension x="200" y="200"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="MaskedLine2"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
<MaskTexture parentKey="MaskLine3" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Mask-Line" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
|
|
<Size>
|
|
<AbsDimension x="200" y="200"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="MaskedLine3"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
<MaskTexture parentKey="MaskLine4" file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Mask-Line" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
|
|
<Size>
|
|
<AbsDimension x="200" y="200"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="MaskedLine4"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateShortLeft" parentKey="Crit" id="8" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Crit" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateShortLeft" parentKey="Haste" id="10" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Haste" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Crit" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateShortRight" parentKey="Mastery" id="8" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Mastery" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPRIGHT" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateShortRight" parentKey="Versatility" id="10" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Versatility" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Mastery" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
|
|
<Frame inherits="Narci_DetailedAttributeTemplateLeft" parentKey="Primary" hidden="true" Alpha="0" id="0" useParentLevel="true">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Primary" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Haste" relativePoint="BOTTOMLEFT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
</OnShow>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame inherits="Narci_DetailedAttributeTemplateRight" parentKey="Health" hidden="true" Alpha="0" id="0" useParentLevel="true">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Health" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Primary" relativePoint="RIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
</OnShow>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
<Animations>
|
|
<AnimationGroup parentKey="animIn">
|
|
<Alpha parentKey="A1" fromAlpha="0" toAlpha="0" duration="0.2" order="1"/>
|
|
<Alpha parentKey="A2" startDelay="0.45" fromAlpha="0" toAlpha="1" duration="0.5" order="2"/><!--0.75-->
|
|
<Scripts>
|
|
<OnPlay>
|
|
local parent = self:GetParent();
|
|
parent:SetAlpha(0);
|
|
C_Timer.After(0.7, function()
|
|
parent:AnimateValue();
|
|
end)
|
|
</OnPlay>
|
|
<OnFinished>
|
|
self:GetParent():SetAlpha(1);
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnShow method="OnShow"/>
|
|
<OnHide method="OnHide"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame inherits="Narci_DetailedAttributeTemplateLeft" parentKey="Leech" id="11" hidden="false" parent="Narci_DetailedStatFrame">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Leech" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Narci_RadarChartFrame" relativePoint="BOTTOMLEFT" x="-112" y="-26"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BORDER">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" hidden="true">
|
|
<TexCoords left="0" right="0.87890625" top="0.94921875" bottom="1"/>
|
|
<Size x="160" y="9"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="TOP" x="0" y="2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Frame inherits="Narci_DetailedAttributeTemplateRight" parentKey="Avoidance" id="11" hidden="false" parent="Narci_DetailedStatFrame">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Avoidance" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Leech" relativePoint="RIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BORDER">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" hidden="true">
|
|
<TexCoords left="0.87890625" right="0" top="0.94921875" bottom="1"/>
|
|
<Size x="160" y="9"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="TOP" x="0" y="2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Frame inherits="Narci_DetailedAttributeTemplateLeft" parentKey="MovementSpeed" id="12" hidden="false" parent="Narci_DetailedStatFrame">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="MovementSpeed" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Leech" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BORDER">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" hidden="true">
|
|
<TexCoords left="0" right="0.87890625" top="1" bottom="0.94921875"/>
|
|
<Size x="160" y="9"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="BOTTOM" x="0" y="-2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Frame inherits="Narci_DetailedAttributeTemplateRight" parentKey="Speed" id="12" hidden="false" parent="Narci_DetailedStatFrame">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Speed" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Avoidance" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BORDER">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Widgets\RadarChart\Radar-Border" hidden="true">
|
|
<TexCoords left="0.87890625" right="0" top="1" bottom="0.94921875"/>
|
|
<Size x="160" y="9"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="BOTTOM" x="0" y="-2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_ConciseStatFrame" setAllPoints="true" hidden="true" Alpha="0">
|
|
<Frames>
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Primary" id="1" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Primary" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.$parent.ItemLevelFrame" relativePoint="BOTTOM" x="0" y="-98"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Stamina" id="2" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Stamina" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Primary" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Health" id="3" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Health" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Stamina" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Power" id="4" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Power" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Health" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Regen" id="5" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Regen" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Power" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Crit" id="7" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Crit" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Regen" relativePoint="BOTTOM" x="0" y="-26"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Haste" id="8" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Haste" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Crit" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Mastery" id="9" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Mastery" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Haste" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Versatility" id="10" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Versatility" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Mastery" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Leech" id="11" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Leech" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Versatility" relativePoint="BOTTOM" x="0" y="-26"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Avoidance" id="12" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Avoidance" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Leech" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame inherits="Narci_AttributeTemplate" parentKey="Speed" id="13" hidden="false">
|
|
<KeyValues>
|
|
<KeyValue key="token" value="Speed" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Avoidance" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
</Frames>
|
|
<Animations>
|
|
<AnimationGroup parentKey="animOut">
|
|
<Alpha parentKey="A1" fromAlpha="1" toAlpha="0" duration="0.4" order="1"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self.A1:SetFromAlpha(self:GetParent():GetAlpha());
|
|
</OnPlay>
|
|
<OnFinished>
|
|
self:GetParent():Hide();
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
<Scripts>
|
|
<OnHide>
|
|
self.animOut:Stop();
|
|
</OnHide>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="Narci_Vignette" setAllPoints="true" hidden="true" Alpha="0" parentKey="Narci_Vignette" frameStrata="BACKGROUND">
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture name="Narci_VignetteRightLarge" parentKey="VignetteRight" file="Interface\AddOns\Narcissus\Art\Vignetting\Vignetting-Right"><!--182-->
|
|
<!--TexCoords left="0" right="1" top="0" bottom="0.75"/-->
|
|
<Animations>
|
|
<AnimationGroup parentKey="animIn">
|
|
<Translation parentKey="Translation" offsetX="100" duration="0" order="0"/>
|
|
<Translation parentKey="Translation" offsetX="-100" duration="0.8" order="1" smoothing="OUT"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self:GetParent():Show();
|
|
Narci_Character:SetAlpha(0);
|
|
</OnPlay>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
|
|
<Texture name="Narci_VignetteRightSmall" parentKey="VignetteRightSmall" file="Interface\AddOns\Narcissus\Art\Vignetting\Vignetting-Left" Alpha="0" hidden="true">
|
|
<TexCoords left="1" right="0" top="0" bottom="1"/>
|
|
<Animations>
|
|
<AnimationGroup parentKey="animIn">
|
|
<Translation parentKey="Translation" offsetX="100" duration="0" order="0"/>
|
|
<Translation parentKey="Translation" offsetX="-100" duration="0.8" order="1" smoothing="OUT"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self:GetParent():Show()
|
|
</OnPlay>
|
|
<OnFinished>
|
|
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
|
|
<Texture name="Narci_VignetteLeft" parentKey="VignetteLeft" file="Interface\AddOns\Narcissus\Art\Vignetting\Vignetting-Left" Alpha="0.8">
|
|
<Animations>
|
|
<AnimationGroup parentKey="animIn">
|
|
<Translation parentKey="Translation" offsetX="-100" duration="0" order="0"/>
|
|
<Translation parentKey="Translation" offsetX="100" duration="0.8" order="1" smoothing="OUT"/>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self:GetParent():Show()
|
|
</OnPlay>
|
|
<OnFinished>
|
|
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnHide>
|
|
self.VignetteRight.animIn:Play();
|
|
</OnHide>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame parent="PaperDollFrame" mixin="NarciPaperDollDoubleClickTriggerMixin">
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnShow method="OnShow"/>
|
|
<OnHide method="OnHide"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<!--Frame parentKey="VisibilityTracker" parent="WorldMapFrame">
|
|
<Scripts>
|
|
<OnLoad>
|
|
self.state = false;
|
|
</OnLoad>
|
|
<OnShow>
|
|
self.state = true;
|
|
</OnShow>
|
|
<OnHide>
|
|
C_Timer.After(0, function()
|
|
self.state = false;
|
|
end)
|
|
</OnHide>
|
|
</Scripts>
|
|
</Frame-->
|
|
|
|
<!--Frame name="VisualCenterGuideLine" hidden="false" setAllPoints="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="Narci_ChestSlot" relativePoint="TOP" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="Narci_Finger0Slot" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<Texture setAllPoints="true">
|
|
<Size x="0.6" y="2000" />
|
|
<Color r="1" g="1" b="1" a="0.0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<FontString parentKey="Readings" justifyH="CENTER" justifyV="TOP" text="Readings" inherits="NarciFontMedium12">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent" relativePoint="TOP" x="0" y="20"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self.last = 0;
|
|
self.t = 1;
|
|
</OnLoad>
|
|
<OnUpdate>
|
|
self.last = self.last + elapsed
|
|
if self.last >= self.t then
|
|
local Zoom = GetCameraZoom();
|
|
local shoulder = GetCVar("test_cameraOverShoulder");
|
|
self.Readings:SetText(Zoom.."\n"..shoulder);
|
|
self.last = 0;
|
|
end
|
|
</OnUpdate>
|
|
</Scripts>
|
|
</Frame-->
|
|
|
|
|
|
<!--Frame name="NarciVFXTestFrame">
|
|
<Size x="64" y="64"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"/>
|
|
</Anchors>
|
|
<Frames>
|
|
<Button inherits="NarciSlotButtonLeftTemplate" parentKey="ItemSlot" useParentLevel="true" hidden="true">
|
|
<KeyValues>
|
|
<KeyValue key="slotName" value="ChestSlot" type="string"/>
|
|
</KeyValues>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</Button>
|
|
<ModelScene inherits="NarciItemVFXTemplate" parentKey="ModelScene" name="NarciItemVFX" drawLayer="OVERLAY">
|
|
<Size x="64" y="64"/>
|
|
</ModelScene>
|
|
</Frames>
|
|
</Frame-->
|
|
|
|
</Ui>
|