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.

1149 lines
59 KiB

5 years ago
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
<Script file="OutfitModelInfo.lua"/>
<Script file="ItemCollection.lua"/>
<Script file="Outfit.lua"/>
<Frame name="NarciOuftiDropdownMenuSectorTemplate" virtual="true">
<Backdrop edgeFile="Interface\AddOns\Narcissus\Art\Modules\Outfit\InnerShadow" tile="true"> <!-- bgFile="Interface\AddOns\Narcissus\Art\Modules\Outfit\SectorPattern"-->
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="0" right="0" top="0" bottom="0"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="BACKGROUND">
<Texture>
<Color r="1" g="1" b="1" a="0.08"/>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="NarciOutfitDropdownMenuTemplate" virtual="true" mixin="NarciOutfitDropdownMenuMixin">
<Frames>
<Frame inherits="NarciFrameShadowTemplate"/>
</Frames>
<Layers>
<Layer>
<MaskTexture parentKey="BlurMask" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\Mask-Full" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
<MaskedTextures>
<MaskedTexture childKey="$parent.$parent.ButtonBlur"/>
</MaskedTextures>
</MaskTexture>
</Layer>
</Layers>
<Scripts>
<OnLoad method="OnLoad"/>
<OnShow method="OnShow"/>
<OnHide method="OnHide"/>
<OnEvent method="OnEvent"/>
</Scripts>
</Frame>
<Button name="NarciOutfitDropdownButtonTemplate" virtual="true">
<Size x="0" y="18"/>
<Layers>
<Layer level="OVERLAY" textureSubLevel="1">
<Texture parentKey="Highlight" Alpha="0">
<Color r="1" g="1" b="1"/>
</Texture>
</Layer>
<Layer level="OVERLAY" textureSubLevel="2">
<Texture parentKey="TextReference">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="6"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="-6"/>
</Anchors>
</Texture>
<FontString inherits="NarciFontNormal9Shadow" parentKey="Text" justifyH="LEFT" justifyV="MIDDLE" maxLines="1" ignoreParentScale="true">
<size x="0" y="0"/>
<Color r="0.46" g="0.46" b="0.46"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.TextReference" relativePoint="LEFT" x="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
self.Highlight:SetAlpha(0.1);
self.Text:SetTextColor(0.8, 0.8, 0.8);
</OnEnter>
<OnLeave>
self.Highlight:SetAlpha(0);
if not self.isOn then
self.Text:SetTextColor(0.46, 0.46, 0.46);
else
self.Text:SetTextColor(0.8, 0.8, 0.8);
end
</OnLeave>
<OnDisable>
self.Highlight:SetColorTexture(0, 0, 0, 1);
self.Highlight:SetAlpha(0.5);
self.Text:SetJustifyH("CENTER");
self.Text:ClearAllPoints();
self.Text:SetPoint("CENTER", self.TextReference, "CENTER", 0, 0);
</OnDisable>
<OnEnable>
self.Highlight:SetColorTexture(1, 1, 1, 0);
self.Text:SetJustifyH("LEFT");
self.Text:ClearAllPoints();
self.Text:SetPoint("LEFT", self.TextReference, "LEFT", 0, 0);
</OnEnable>
<OnMouseDown>
self.Highlight:SetAlpha(0.2);
</OnMouseDown>
<OnMouseUp>
if self:IsMouseOver() then
self.Highlight:SetAlpha(0.1);
else
self.Highlight:SetAlpha(0);
end
</OnMouseUp>
</Scripts>
</Button>
<Actor name="NarciOutfitModelSceneActorTemplate" mixin="NarciModelSceneActorMixin" virtual="true">
<Scripts>
<OnModelLoaded method="OnModelLoaded"/>
<OnAnimFinished method="OnAnimFinished"/>
</Scripts>
</Actor>
<Texture name="Narci_OutfitModelGroundshadowTemplate" virtual="true" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\GroundShadow">
<Size x="128" y="64"/>
</Texture>
<Texture name="Narci_OutfitModelGroundshadowCicularTemplate" virtual="true" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\GroundShadowCircular">
<Size x="128" y="64"/>
</Texture>
<Button name="Narci_TextNavigationButtonTemplate" mixin="NarciOutfitNavigationButtonMixin" virtual="true">
<Size x="24" y="12"/>
<Layers>
<Layer>
<FontString inherits="NarciFontCapped12" parentKey="Label" justifyH="LEFT" justifyV="TOP">
<Size x="0" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
<OnClick method="OnClick"/>
</Scripts>
</Button>
<Button name="Narci_TabNavigationButtonTemplate" virtual="true">
<Size x="60" y="24"/>
<Layers>
<Layer levle="BACKGROUND">
<!--Texture parentKey="Background">
<Color r="1" g="0" b="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="-8"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
<Gradient orientation="VERTICAL">
<MaxColor a="0"/>
<MinColor a="1"/>
</Gradient>
</Texture-->
</Layer>
<Layer level="OVERLAY" textureSubLevel="4">
<FontString inherits="NarciFontNormal9Shadow" parentKey="Label" justifyH="CENTER" justifyV="TOP" maxLines="2">
<Size x="60" y="0"/>
<Color r="0.46" g="0.46" b="0.46"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
self.Label:SetTextColor(0.8, 0.8, 0.8);
</OnEnter>
<OnLeave>
if self.isOn then
self.Label:SetTextColor(0.8, 0.8, 0.8);
else
self.Label:SetTextColor(0.46, 0.46, 0.46);
end
</OnLeave>
</Scripts>
</Button>
<DressUpModel name="Narci_OufitCardModelTemplate" virtual="true" drawLayer="OVERLAY" hidden="true">
<Size x="171" y="85"/>
<Layers>
<Layer level="OVERLAY">
<!--Texture>
<Size x="1" y="85"/>
<Color r="1" g="0" b="0"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture-->
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.needRefresh = true;
self:SetUseTransmogSkin(true);
self:SetUnit("player", false);
self:SetKeepModelOnHide(true);
NarciAPI_InitializeModelLight(self);
</OnLoad>
<OnShow>
if self.needRefresh then
self.needRefresh = nil;
self:RefreshUnit();
self:Undress();
self:FreezeAnimation(0, 0, 0);
self:SetPortraitZoom(0.67);
self:MakeCurrentCameraCustom();
local x, y, z = self:GetCameraPosition();
self:SetCameraPosition(x, 0, z);
self:SetViewTranslation(-9, -30);
for sourceID, isCollected in pairs(self.sources) do
self:TryOn(sourceID);
end
end
</OnShow>
<OnModelLoaded>
</OnModelLoaded>
</Scripts>
</DressUpModel>
<Button name="Narci_OutfitCardTemplate" virtual="true" hidden="false" mixin="NarciOutfitCardMixin">
<Size x="171" y="85"/>
<Layers>
<Layer level="BACKGROUND">
<Texture>
<Size x="10"/>
<Anchors>
<Anchor point="TOPLEFT" parentKey="$parent" relativePoint="TOPRIGHT"/>
<Anchor point="BOTTOMLEFT" parentKey="$parent" relativePoint="BOTTOMRIGHT"/>
</Anchors>
<Color a="1" r="0" g="0" b="0"/>
<Gradient orientation="HORIZONTAL">
<MinColor a="0.5" r="0" g="0" b="0"/>
<MaxColor a="0" r="0" g="0" b="0"/>
</Gradient>
</Texture>
<Texture file="Interface\AddOns\Narcissus\Art\Modules\Outfit\Lights" parentKey="Highlight" hidden="true" Alpha="0" nounLoad="true">
<Size x="170" y="170"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent" relativePoint="TOP"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString inherits="NarciFontCapped12" parentKey="Name" justifyH="CENTER" justifyV="BOTTOM" maxLines="2">
<Color r="1" g="1" b="1" a="0.8"/>
<Size x="150"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent" relativePoint="TOP" x="0" y="-16"/>
</Anchors>
</FontString>
<FontString inherits="NarciFontNormal9Shadow" parentKey="Label" justifyH="CENTER" justifyV="TOP" maxLines="1">
<Color r="1" g="1" b="1" a="0.46"/>
<Size x="150"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Name" relativePoint="BOTTOM" x="0" y="-2"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick method="OnClick"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
<OnMouseDown/>
</Scripts>
</Button>
<Button name="Narci_OutfitSourceButtonTemplate" registerForClicks="LeftButtonUp, RightButtonUp" mixin="NarciOutfitSourceButtonMixin" virtual="true">
<Size x="40" y="40"/>
<Layers>
<Layer level="BACKGROUND">
<Texture inherits="NarciBorderlessIconTemplate" parentKey="Icon"/>
<MaskTexture parentKey="IconMask" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\IconMask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Icon" relativePoint="TOPLEFT" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
<MaskedTextures>
<MaskedTexture childKey="Icon"/>
</MaskedTextures>
</MaskTexture>
<Texture parentKey="TextReference">
<Size x="6" y="40"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent" relativePoint="RIGHT"/>
</Anchors>
</Texture>
<FontString parentKey="Header" inherits="NarciFontNormal9Shadow" justifyH="LEFT" justifyV="TOP" maxLines="2">
<Size x="200" y="0"/>
<Color r="0.8" g="0.8" b="0.8"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.TextReference" relativePoint="TOPRIGHT" x="0" y="-6"/>
</Anchors>
</FontString>
<FontString parentKey="Text" inherits="NarciFontNormal9Shadow" justifyH="LEFT" justifyV="TOP" maxLines="2">
<Size x="200" y="0"/>
<Color r="0.8" g="0.8" b="0.8"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent.TextReference" relativePoint="BOTTOMRIGHT" x="0" y="6"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
<OnClick method="OnClick"/>
</Scripts>
</Button>
<DressUpModel name="Narci_OutfitItemModelTemplate" virtual="true" mixin="NarciOutfitItemModelMixin" hidden="true" useParentLevel="true">
<Size x="63" y="84"/> <!--78 104-->
<Layers>
<Layer level="BACKGROUND">
<!--Texture parentKey="Top">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="TOPRIGHT" x="0" y="-2.5"/>
</Anchors>
<Color r="1" g="1" b="1"/>
<Gradient orientation="VERTICAL">
<MaxColor a="1" r="0.25" g="0.25" b="0.25"/>
<MinColor a="1" r="0.12" g="0.12" b="0.12"/>
</Gradient>
</Texture-->
<Texture>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
<Color r="1" g="1" b="1"/>
<Gradient orientation="VERTICAL">
<MaxColor a="1" r="0.12" g="0.12" b="0.12"/>
<MinColor a="1" r="0" g="0" b="0"/>
</Gradient>
</Texture>
<Texture hidden="true" Alpha="0" parentKey="Highlight" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\ItemButtonBackground">
<TexCoords left="0" right="1" top="0" bottom="0.75"/>
</Texture>
</Layer>
<Layer level="ARTWORK" textureSubLevel="2">
<FontString inherits="NarciFontNormal9Shadow" parentKey="Label" justifyH="CENTER" justifyV="TOP" maxLines="2" text="Slot" hidden="true" ignoreParentScale="true">
<Color r="0.46" g="0.46" b="0.46" a="1"/>
<Size x="56"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent" relativePoint="TOP" x="0" y="-4"/>
</Anchors>
</FontString>
</Layer>
<Layer level="ARTWORK" textureSubLevel="1">
<Texture parentKey="Border" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\ItemButtonInnerShadow">
<TexCoords left="0" right="0.75" top="0" bottom="1"/>
<Size x="64" y="85"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
<Texture parentKey="LabelBackground">
<Color r="0" g="0" b="0" a="0.66"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
<Anchor point="TOPRIGHT" relativeKey="$parent" relativePoint="TOPRIGHT" x="0" y="0"/>
<Anchor point="BOTTOM" relativeKey="$parent.Label" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK" textureSubLevel="3">
<Texture parentKey="Star" hidden="true">
<TexCoords left="0" right="0.25" top="0" bottom="0.25"/>
<Size x="16" y="16"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
</Anchors>
</Texture>
<Texture parentKey="Status" hidden="true">
<TexCoords left="0.25" right="0.5" top="0" bottom="0.25"/>
<Size x="16" y="16"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent" relativePoint="TOPRIGHT" x="0" y="0"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad method="OnLoad"/>
<OnShow method="OnShow"/>
<OnModelLoaded method="OnModelLoaded"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
<OnMouseUp method="OnMouseUp"/>
</Scripts>
</DressUpModel>
<Texture name="NarciModelScene3DPointTemplate" virtual="true" hidden="true">
<Color r="1" g="0" b="0" a="1"/>
<Size x="4" y="4"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
</Texture>
<FontString name="NarciModelScene3DTextTemplate" inherits="NarciFontCapped12" virtual="true" justifyH="CENTER" justifyV="TOP">
<Size x="0" y="0"/>
</FontString>
<Button name="NarciOutfitCameraPanelButtonTemplate" virtual="true">
<Size x="24" y="24"/>
<Layers>
<Layer level="OVERLAY">
<Texture file="Interface\AddOns\Narcissus\Art\Modules\Outfit\CircularHighlight" parentKey="Highlight" hidden="true" Alpha="1"/>
</Layer>
<Layer level="OVERLAY" textureSubLevel="1">
<Texture file="Interface\AddOns\Narcissus\Art\Modules\Outfit\OutfitIcons" parentKey="Icon"/>
<FontString inherits="NarciFontNormal9Shadow" parentKey="Label" justifyH="RIGHT" justifyV="MIDDLE" Alpha="0.46">
<Anchors>
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="LEFT" x="-6" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
self.Highlight:Show();
self.Label:SetAlpha(0.8);
</OnEnter>
<OnLeave>
self.Highlight:Hide();
self.Label:SetAlpha(0.46);
</OnLeave>
</Scripts>
</Button>
<Frame name="Narci_Outfit" mixin="NarciOutfitMixin" frameStrata="MEDIUM" hidden="true" toplevel="true">
<Size x="855" y="481"/>
<Anchors>
<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER" x="0" y="20"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND" hidden="true">
<Texture parentKey="Background"/>
</Layer>
</Layers>
<Frames>
<Frame parentKey="Inset">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="20" y="-20"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="-20" y="20"/>
</Anchors>
</Frame>
<Frame inherits="NarciFrameShadowTemplate"/>
<Button inherits="NarciCloseButtonTemplate" frameLevel="5">
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent" relativePoint="TOPRIGHT" x="-2" y="-2"/>
</Anchors>
</Button>
<Button inherits="NarciMaximizeButtonTemplate" frameLevel="5">
<Anchors>
<Anchor point="RIGHT" relativeKey="$parent.CloseButton" relativePoint="LEFT" x="0" y="0"/>
</Anchors>
</Button>
<ModelScene name="Narci_OutfitModelScene" mixin="NarciOutfitModelSceneMixin" clipChildren="true" parentKey="ModelScene">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0.5"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<!--Texture>
<Color r="1" g="0" b="0" a="0.2"/>
</Texture-->
<Texture parentKey="GreyBackdrop" nounLoad="true" Alpha="0"/>
<Texture parentKey="Backdrop" nounLoad="true"/>
</Layer>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture parentKey="BackdropBlur" nounLoad="true"/>
</Layer>
<Layer level="BACKGROUND" textureSubLevel="-2">
<Texture parentKey="Backdrop2" nounLoad="true"/>
</Layer>
<Layer level="BACKGROUND" textureSubLevel="-3">
<Texture parentKey="Backdrop3" nounLoad="true"/>
</Layer>
</Layers>
<Frames>
<Frame parentKey="TextFrame">
<Size x="228" y="85"/>
<Anchors>
<Anchor point="BOTTOM" relativeKey="$parent" relativePoint="BOTTOM"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Background" hidden="true">
<Color r="0" g="0" b="0"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString inherits="NarciFontCapped16" parentKey="Name" justifyH="CENTER" justifyV="BOTTOM">
<Anchors>
<Anchor point="TOP" relativeKey="$parent" relativePoint="TOP" x="0" y="-24"/>
</Anchors>
</FontString>
<FontString inherits="NarciFontMedium12" parentKey="Label" justifyH="CENTER" justifyV="TOP">
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Name" relativePoint="BOTTOM" x="0" y="-2"/>
</Anchors>
</FontString>
</Layer>
<Layer level="BACKGROUND">
<Texture>
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent.Name" relativePoint="TOP" x="0" y="6"/>
<Anchor point="LEFT" relativeKey="$parent.Name" relativePoint="LEFT" x="-20" y="0"/>
<Anchor point="BOTTOM" relativeKey="$parent.Label" relativePoint="BOTTOM" x="0" y="-6"/>
</Anchors>
<Color a="1" r="0" g="0" b="0"/>
<Gradient orientation="HORIZONTAL">
<MinColor a="0" r="0" g="0" b="0"/>
<MaxColor a="0.5" r="0" g="0" b="0"/>
</Gradient>
</Texture>
<Texture>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Name" relativePoint="TOP" x="0" y="6"/>
<Anchor point="RIGHT" relativeKey="$parent.Name" relativePoint="RIGHT" x="20" y="0"/>
<Anchor point="BOTTOM" relativeKey="$parent.Label" relativePoint="BOTTOM" x="0" y="-6"/>
</Anchors>
<Color a="1" r="0" g="0" b="0"/>
<Gradient orientation="HORIZONTAL">
<MinColor a="0.5" r="0" g="0" b="0"/>
<MaxColor a="0" r="0" g="0" b="0"/>
</Gradient>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="NarciOutfitWorgenPreview" parentKey="WorgenPreview" hidden="true">
<Size x="481"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent" relativePoint="TOPRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="Image" nounLoad="true" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\Worgen-Female" Alpha="0.6"/>
</Layer>
<Layer level="OVERLAY">
<FontString inherits="NarciFontNormal9Shadow" justifyH="CENTER" justifyV="MIDDLE" maxLines="1" parentKey="Note" text="Left click to initialize alternative form.">
<Color r="0.8" g="0.8" b="0.8"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnShow>
if not InCombatLockdown() then
self.actionButton:Show();
end
</OnShow>
<OnHide>
if not InCombatLockdown() then
self.actionButton:Hide();
end
</OnHide>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad method="OnLoadNew"/>
<OnMouseUp method="OnMouseUp"/>
<OnMouseDown method="OnMouseDown"/>
<OnMouseWheel method="OnMouseWheel"/>
<OnUpdate method="OnUpdate"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
<OnShow method="OnShow"/>
<OnSizeChanged method="OnSizeChanged"/>
</Scripts>
</ModelScene>
<Frame parentKey="BlackOverlay" frameLevel="3" hidden="true" Alpha="0">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="FullOverlay">
<Color r="0" g="0" b="0" a="0.8"/>
</Texture>
</Layer>
</Layers>
</Frame>
<ScrollFrame parentKey="SetList" frameLevel="4" clipChildren="true">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="0" y="200"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND" textureSubLevel="2">
<Texture parentKey="Background">
<Size y="2"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="-2"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<ScrollChild>
<Frame parentKey="ScrollChild" frameLevel="5">
<Size x="10" y="10"/>
<Layers>
<Layer>
<Texture hidden="true">
<Color r="1" g="0" b="0" a="0.5"/>
</Texture>
</Layer>
</Layers>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT"/>
</Anchors>
</Frame>
</ScrollChild>
<Frames>
<Slider parentKey="scrollBar" frameLevel="10" orientation="HORIZONTAL" enable="false">
<Size x="200" y="4"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Background" relativePoint="TOP" x="0" y="-80"/>
</Anchors>
<ThumbTexture setAllPoints="true" parentKey="Thumb" Alpha="1" hidden="true">
<Size x="32" y="2"/>
<Color r="1" g="1" b="1" a="0.12"/>
</ThumbTexture>
</Slider>
<Frame parentKey="ModelContainer" clipChildren="true" hidden="true" frameLevel="8">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="-120" y="0"/>
</Anchors>
</Frame>
</Frames>
</ScrollFrame>
<Frame parentKey="LeftTab" frameLevel="2" clipChildren="false" hidden="true" Alpha="0">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="20" y="-44"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="-20" y="20"/>
</Anchors>
<Layers>
<Layer>
<Texture parentKey="Inset" hidden="true">
<Color r="1" g="0" b="0" a="0.5"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame parentKey="Navigation">
<Size x="100" y="24"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Inset">
<Color r="0" g="0" b="0"/>
<Size x="20" y="16"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
<Gradient orientation="VERTICAL">
<MaxColor a="0"/>
<MinColor a="1"/>
</Gradient>
</Texture>
<Texture parentKey="ShadowGradient">
<Color r="0" g="0" b="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="-8"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
<Gradient orientation="VERTICAL">
<MaxColor a="0"/>
<MinColor a="1"/>
</Gradient>
</Texture>
</Layer>
<Layer level="ARTWORK">
<MaskTexture parentKey="BackgroundMask" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\Mask-Negative" hWrapMode="CLAMPTOWHITE" vWrapMode="CLAMPTOWHITE">
<Size x="61" y="25"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent" relativePoint="LEFT" x="30.5" y="0"/>
</Anchors>
<MaskedTextures>
<MaskedTexture childKey="ShadowGradient"/>
</MaskedTextures>
</MaskTexture>
<Texture parentKey="Highlight">
<Size x="60" y="6"/>
<Color r="1" g="1" b="1"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent.BackgroundMask" relativePoint="TOP" x="0" y="0"/>
</Anchors>
<Gradient orientation="VERTICAL">
<MaxColor r="1" g="1" b="1" a="0.12"/>
<MinColor r="1" g="1" b="1" a="0"/>
</Gradient>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame parentKey="HighlightFrame" clipChildren="true">
<Size x="60" y="25"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.BackgroundMask" relativePoint="CENTER" x="0" y="0"/>
</Anchors>
</Frame>
</Frames>
</Frame>
<Frame parentKey="Create" mixin="NarciItemCollectionMixin" name="Narci_ItemCollection">
<Size x="100"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
<Layers>
<!--Layer>
<Texture parentKey="Central">
<Color r="0" g="1" b="0" a="0.5"/>
<Size y="1"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent" relativePoint="RIGHT" x="0" y="0"/>
<Anchor point="RIGHT" relativeKey="$parent.$parent.$parent" relativePoint="RIGHT" x="0" y="0"/>
</Anchors>
</Texture>
<Texture>
<Color r="1" g="0" b="0" a="0.5"/>
<Size x="1" y="800"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.Central" relativePoint="CENTER" x="0" y="0"/>
</Anchors>
</Texture>
</Layer-->
<Layer level="OVERLAY" textureSubLevel="6">
<Texture file="Interface\AddOns\Narcissus\Art\Modules\Outfit\Backdrop\DropdownBlur" parentKey="ButtonBlur"/>
</Layer>
</Layers>
<Frames>
<EditBox name="NarciOutfitSearchBox" parentKey="SearchBox" autoFocus="false" mixin="NarciOutfitSearchBoxMixin" hidden="true" Alpha="0">
<Size x="120" y="18"/>
<FontString inherits="NarciFontNormal9Shadow" justifyH="LEFT" justifyV="MIDDLE" maxLines="1">
<Color r="0.8" g="0.8" b="0.8"/>
</FontString>
<TextInsets>
<AbsInset left="6"/>
</TextInsets>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Background">
<Color r="0" g="0" b="0"/>
<Gradient orientation="HORIZONTAL">
<MinColor a="1"/>
<MaxColor a="0"/>
</Gradient>
</Texture>
<Texture parentKey="Icon">
<TexCoords left="0.25" right="0.5" top="0.25" bottom="0.5"/>
<Size x="20" y="20"/>
<Anchors>
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT" x="2"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString inherits="NarciFontNormal9Shadow" parentKey="DefaultText" justifyH="LEFT" justifyV="MIDDLE" maxLines="1" text="Search" ignoreParentScale="true">
<Size x="60" y="0"/>
<Color r="0.46" g="0.46" b="0.46"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="6" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad method="OnLoad"/>
<OnEscapePressed method="QuitEdit"/>
<OnEnterPressed method="QuitEdit"/>
<OnEditFocusGained method="OnEditFocusGained"/>
<OnEditFocusLost method="QuitEdit"/>
<OnTextChanged method="OnTextChanged"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
</Scripts>
</EditBox>
<Button parentKey="ProgressBar" mixin="NarciOutfitProgressBarMixin" hidden="true" Alpha="0">
<Size x="100" y="18"/>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Green">
<Size x="80" y="2"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
<Color r="0.235" g="0.722" b="0.471" a="0.5"/>
<Gradient orientation="HORIZONTAL">
<MaxColor a="1" r="1" g="1" b="1"/>
<MinColor a="0.5" r="1" g="1" b="1"/>
</Gradient>
</Texture>
<Texture parentKey="Yellow">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
<Anchor point="TOPLEFT" relativeKey="$parent.Green" relativePoint="TOPRIGHT" x="2" y="0"/>
</Anchors>
<Color r="1" g="0.824" b="0" a="0.5"/>
<Gradient orientation="HORIZONTAL">
<MaxColor a="0.5" r="1" g="1" b="1"/>
<MinColor a="1" r="1" g="1" b="1"/>
</Gradient>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="Thumb">
<Size x="8" y="8"/>
<TexCoords left="0" right="0.25" top="0" bottom="1"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.Green" relativePoint="LEFT" x="0"/>
</Anchors>
</Texture>
<FontString inherits="NarciFontNormal9Shadow" parentKey="numCollected" justifyH="LEFT" justifyV="TOP" text="12" ignoreParentScale="true">
<Color r="0.46" g="0.46" b="0.46"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="0"/>
</Anchors>
</FontString>
<FontString inherits="NarciFontNormal9Shadow" parentKey="numUncollected" justifyH="RIGHT" justifyV="TOP" text="08" ignoreParentScale="true">
<Color r="0.46" g="0.46" b="0.46"/>
<Anchors>
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT" x="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad method="OnLoad"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
<OnClick method="OnClick"/>
</Scripts>
</Button>
<Button parentKey="Filter" mixin="NarciOutfitFilterMixin" hidden="true" Alpha="0">
<Size x="120" y="18"/>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Background">
<Color r="0" g="0" b="0"/>
<Gradient orientation="HORIZONTAL">
<MinColor a="0"/>
<MaxColor a="1"/>
</Gradient>
</Texture>
<Texture parentKey="Arrow" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\OutfitIcons">
<TexCoords left="0" right="0.25" top="0.25" bottom="0.5"/>
<Size x="16" y="16"/>
<Anchors>
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT" x="0"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture parentKey="TextReference">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="6" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="-20" y="0"/>
</Anchors>
</Texture>
<FontString inherits="NarciFontNormal9Shadow" parentKey="Text" justifyH="LEFT" justifyV="MIDDLE" maxLines="1" text="Collected First" ignoreParentScale="true">
<Size x="0" y="0"/>
<Color r="1" g="1" b="1" a="0.46"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.TextReference" relativePoint="LEFT" x="0" y="0"/>
<Anchor point="RIGHT" relativeKey="$parent.TextReference" relativePoint="RIGHT" x="0" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad method="OnLoad"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
<OnClick method="OnClick"/>
</Scripts>
</Button>
<Frame parentKey="HighlightBorder" Alpha="0">
<Size x="63" y="84"/>
<Layers>
<Layer level="OVERLAY">
<Texture file="Interface\AddOns\Narcissus\Art\Modules\Outfit\HighlightBorder-V">
<Size x="4" y="32"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent" relativePoint="TOPLEFT" y="4"/>
</Anchors>
</Texture>
<Texture file="Interface\AddOns\Narcissus\Art\Modules\Outfit\HighlightBorder-V">
<Size x="4" y="32"/>
<TexCoords left="1" right="0" top="1" bottom="0"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" y="-4"/>
</Anchors>
</Texture>
<Texture file="Interface\AddOns\Narcissus\Art\Modules\Outfit\HighlightBorder-H">
<Size x="32" y="4"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="-4"/>
</Anchors>
</Texture>
<Texture file="Interface\AddOns\Narcissus\Art\Modules\Outfit\HighlightBorder-H">
<Size x="32" y="4"/>
<TexCoords left="1" right="0" top="1" bottom="0"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="TOPRIGHT" x="4"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnHide>
self:SetAlpha(0);
</OnHide>
</Scripts>
</Frame>
<Frame parentKey="CameraPanel" mixin="NarciOutfitCameraPanelMixin" ignoreParentScale="true">
<Size x="32" y="128"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.$parent.$parent" relativePoint="BOTTOMRIGHT" y="28"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Background" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\CameraPanel"/>
</Layer>
</Layers>
<Frames>
<Button inherits="NarciOutfitCameraPanelButtonTemplate" parentKey="AutoZoom">
<Anchors>
<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="1" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
self.Icon:SetTexCoord(0, 0.25, 0.5, 0.75);
self.Label:SetText("Disable Auto-zoom");
</OnLoad>
</Scripts>
</Button>
<Button inherits="NarciOutfitCameraPanelButtonTemplate" parentKey="SheatheWeapon">
<Anchors>
<Anchor point="TOP" relativeKey="$parent.AutoZoom" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
<Scripts>
<OnLoad>
self.isSheathed = false;
self.Icon:SetTexCoord(0.5, 0.75, 0.25, 0.5);
self.Label:SetText("Sheathe Weapon (Z)");
</OnLoad>
</Scripts>
</Button>
<Button inherits="NarciOutfitCameraPanelButtonTemplate" parentKey="CombatView">
<Anchors>
<Anchor point="BOTTOM" relativeKey="$parent.AutoZoom" relativePoint="TOP" x="0" y="4"/>
</Anchors>
<Scripts>
<OnLoad>
self.Icon:SetTexCoord(0.25, 0.5, 0.5, 0.75);
self.Label:SetText("Combat View (V)");
</OnLoad>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad method="OnLoad"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnMouseWheel method="OnMouseWheel"/>
</Scripts>
</Frame>
<Frame parentKey="ItemList" mixin="NarciItemListMixin" name="NarciItemList" hidden="true">
<Size x="100"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.$parent" relativePoint="TOPLEFT" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
</Scripts>
</Frame>
<Frame parentKey="Reference" frameLevel="20" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture parentKey="Central">
<Size x="1" y="310"/>
<Color r="1" g="0" b="0" a="0.8"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
<Texture parentKey="Top">
<Size x="600" y="1"/>
<Color r="" g="0" b="1" a="0.8"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Central" relativePoint="TOP" y="0"/>
</Anchors>
</Texture>
<Texture parentKey="Bottom">
<Size x="600" y="1"/>
<Color r="" g="0" b="1" a="0.8"/>
<Anchors>
<Anchor point="BOTTOM" relativeKey="$parent.Central" relativePoint="BOTTOM" y="0"/>
</Anchors>
</Texture>
<Texture parentKey="RightCentralX">
<Color r="0" g="0" b="1" a="0.8"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.$parent.LeftTab" relativePoint="RIGHT"/>
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT"/>
</Anchors>
</Texture>
<Texture parentKey="RightCentralY">
<Size x="1" y="310"/>
<Color r="1" g="0" b="0" a="0.8"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.RightCentralX" relativePoint="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
<OnLoad method="OnLoad"/>
<OnKeyDown method="OnKeyDown"/>
<OnKeyUp method="OnKeyUp"/>
<OnMouseDown/>
</Scripts>
</Frame>
<Button name="NarciWorgenTransformButton" registerForClicks="LeftButtonUp" inherits="SecureActionButtonTemplate" hidden="true" frameStrata="HIGH">
<Size x="480" y="480"/>
<Anchors>
<Anchor point="CENTER" relativeTo="UIParent" relativePoint="BOTTOMLEFT" x="0"/>
</Anchors>
<Layers>
<Layer>
<!--Texture>
<Color r="1" g="0" b="0" a="0.5"/>
</Texture-->
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.parent = NarciOutfitWorgenPreview;
NarciOutfitWorgenPreview.actionButton = self;
self:SetAttribute("type1", "spell");
self:SetAttribute("spell", 68996);
local x, y = NarciOutfitWorgenPreview:GetCenter()
local scale = UIParent:GetEffectiveScale();
self:SetPoint("CENTER", UIParent, "BOTTOMLEFT", x, y)
</OnLoad>
<OnShow>
self:RegisterEvent("PLAYER_REGEN_DISABLED");
self.parent.Note:SetText("Left click to initialize alternative form.")
</OnShow>
<OnHide>
self:UnregisterEvent("PLAYER_REGEN_DISABLED");
</OnHide>
<OnEvent>
if event == "PLAYER_REGEN_DISABLED" then
self.parent.Note:SetText("Cast Two Forms to initialize alternative form.")
self:Hide();
end
</OnEvent>
</Scripts>
</Button>
<Frame hidden="true">
<Size x="200" y="200"/>
<Anchors>
<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture parentKey="tex" name="TestTexture" file="Interface\AddOns\Narcissus\Art\Modules\Outfit\Check"/>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.timer = 0
self.hAngle = 0
</OnLoad>
<!--OnUpdate function="myOnUpdate"/-->
</Scripts>
</Frame>
</Ui>