<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
    <!-- © 2019 Peter Yu All Rights Reserved -->
    
    <!--Method: 	-->

    <Script file="NarciTooltipScripts.lua"/>

	<Frame name="NarciTooltipTemplate" inherits="NarciFrameWithShadowTemplate" frameStrata="TOOLTIP" frameLevel="24" clampedToScreen="true" hidden="true" enableMouseMotion="false" ignoreParentScale="true" clipChildren="false" mixin="NarciTooltipMixin" Alpha="0" virtual="true">
		<Layers>
			<Layer level="ART">
				<Texture setAllPoints="true" parentKey="Gradient">
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.inset" relativePoint="TOPLEFT"/>
						<Anchor point="BOTTOMRIGHT" relativeKey="$parent.inset" relativePoint="BOTTOMRIGHT"/>
					</Anchors>
					<Color r="1" g="1" b="1" a="1"/>
					<Gradient orientation="VERTICAL">
						<MinColor r="0.05" g="0.05" b="0.05" a="1"/>
						<MaxColor r="0.12" g="0.12" b="0.12" a="1"/>
					</Gradient>
				</Texture>
			</Layer>
			<Layer level="ART">
				<Texture setAllPoints="true" parentKey="Icon" desaturated="true" Alpha="0.1" hidden="false" Scale="1.5">
					<Anchors>
						<Anchor point="RIGHT" relativeKey="$parent.inset" relativePoint="RIGHT" x="20"/>
					</Anchors>
				</Texture>
				<MaskTexture parentKey="IconMask" file="Interface\AddOns\Narcissus\Art\Tooltip\Icon-Mask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
                    <Anchors>
						<Anchor point="TOP" relativeKey="$parent.inset" relativePoint="TOP"/>
						<Anchor point="BOTTOM" relativeKey="$parent.inset" relativePoint="BOTTOM"/>
						<Anchor point="RIGHT" relativeKey="$parent.inset" relativePoint="RIGHT" x="0"/>
                    </Anchors>
					<MaskedTextures>
						<MaskedTexture childKey="Icon"/>
					</MaskedTextures>
				</MaskTexture>
				<Texture File="Interface\AddOns\Narcissus\Art\Tooltip\Tooltip-White-Arrow" nounload="true" parentKey="Pointer">
					<Size x="16" y="16"/>
					<TexCoords left="0.5" right="1" top="0" bottom="1"/>
					<Anchors>
						<Anchor point="CENTER" relativeKey="$parent.inset" relativePoint="BOTTOM" x="0" y="0.5"/>
					</Anchors>				
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString inherits="NarciTooltipDescriptionFontRegularWhite" justifyH="CENTER" justifyV="BOTTOM" parentKey="Text0">
					<Anchors>
						<Anchor point="CENTER" relativeKey="$parent" relativePoint="CENTER" x="0" y="-1"/>
					</Anchors>
				</FontString>

				<FontString inherits="NarciTooltipHeaderFontSemibold" justifyH="LEFT" justifyV="MIDDLE" parentKey="Header">
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.inset" relativePoint="TOPLEFT" x="12" y="-12"/>
						<Anchor point="TOPRIGHT" relativeKey="$parent.inset" relativePoint="TOPRIGHT" x="-12" y="-12"/>
					</Anchors>
				</FontString>

				<FontString inherits="NarciTooltipDescriptionFontRegularWhite" justifyH="LEFT" justifyV="MIDDLE" parentKey="Text1">
					<Anchors>
						<Anchor point="TOP" relativeKey="$parent.Header" relativePoint="BOTTOM" y="-8"/>
						<Anchor point="LEFT" relativeKey="$parent.inset" relativePoint="LEFT" x="12"/>
						<Anchor point="RIGHT" relativeKey="$parent.inset" relativePoint="RIGHT" x="-12"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame inherits="NarciFrameWithShadowTemplate" parentKey="Guide" Alpha="0">
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="TOPLEFT" y="-24"/>
					<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="TOPRIGHT" y="-24"/>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<Texture parentKey="Picture" nounload="true">
							<Anchors>
								<Anchor point="TOPLEFT" relativeKey="$parent.inset" relativePoint="TOPLEFT"/>
								<Anchor point="BOTTOMRIGHT" relativeKey="$parent.inset" relativePoint="BOTTOMRIGHT"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad method="OnLoad"/>
			<OnSizeChanged method="OnSizeChanged"/>
			<OnShow method="OnShow"/>
			<OnHide method="OnHide"/>
		</Scripts>
	</Frame>

    <Frame name="NarciTooltip" inherits="NarciTooltipTemplate" hidden="true" Alpha="0">
		<Size x="160" y="120"/>
		<Anchors>
			<Anchor point="CENTER" relativePoint="CENTER"/>
		</Anchors>
	</Frame>
</Ui>