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.
111 lines
4.5 KiB
111 lines
4.5 KiB
<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" 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" relativePoint="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" 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" 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" relativePoint="TOP"/>
|
|
<Anchor point="BOTTOM" relativeKey="$parent" relativePoint="BOTTOM"/>
|
|
<Anchor point="RIGHT" relativeKey="$parent" 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"> <!--Vertical Bottom-->
|
|
<Size x="16" y="16"/>
|
|
<TexCoords left="0.5" right="1" top="0" bottom="1"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="BOTTOM" x="0" y="0.5"/>
|
|
</Anchors>
|
|
</Texture>
|
|
|
|
<Texture File="Interface\AddOns\Narcissus\Art\Tooltip\Tooltip-White-Arrow-Right" nounload="true" parentKey="Pointer2" hidden="true"> <!--Horizontal Right-->
|
|
<Size x="16" y="16"/>
|
|
<TexCoords left="0" right="1" top="0" bottom="0.5"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeKey="$parent" relativePoint="RIGHT" x="-0.5" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString inherits="NarciTooltipDescriptionFontRegularWhite" justifyH="CENTER" justifyV="MIDDLE" 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" relativePoint="TOPLEFT" x="12" y="-12"/>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent" 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" relativePoint="LEFT" x="12"/>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT" x="-12"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame parentKey="ShadowFrame" inherits="BackdropTemplate"/>
|
|
<Frame parentKey="Guide" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent" relativePoint="TOPLEFT" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" relativePoint="TOPRIGHT" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture parentKey="Picture">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent" 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>
|