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.
242 lines
11 KiB
242 lines
11 KiB
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
|
|
<Script file="LoreBook.lua"/>
|
|
|
|
<FontString inherits="NarciLoreBookHeader" name="NarciLoreBookHeaderTemplate" virtual="true" spacing="2" justifyH="CENTER" justifyV="TOP">
|
|
<Color r="0" g="0" b="0"/>
|
|
</FontString>
|
|
|
|
<FontString inherits="NarciLoreBookTextBlack" name="NarciLoreBookTextTemplate" virtual="true" spacing="2" justifyH="LEFT" justifyV="TOP">
|
|
<Color r="0" g="0" b="0"/>
|
|
</FontString>
|
|
|
|
<Frame name="NarciLoreBookLeftPageTemplate" virtual="true">
|
|
<Size x="342" y="498"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="CENTER" x="-342" y="0"/>
|
|
</Anchors>
|
|
<KeyValues>
|
|
<KeyValue key="isRightPage" value="false" type="boolean"/>
|
|
</KeyValues>
|
|
<Layers>
|
|
<Layer level="BACKGROUND" textureSubLevel="0">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\PageShadowLeft" parentKey="LeftShadow" Alpha="0">
|
|
<Size x="235" y="550"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="-40" y="-20"/>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT" x="0" y="-20"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\PageShadowRight" parentKey="RightShadow" Alpha="0">
|
|
<Size x="20" y="520"/>
|
|
<TexCoords left="0.875" right="1" top="0" bottom="1"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="RIGHT" x="-4" y="-2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame parentKey="ClipFrame" clipChildren="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\Book" parentKey="Background">
|
|
<Size x="342" y="498"/>
|
|
<TexCoords left="0.0556640625" right="0.5" top="0.02734375" bottom="0.6728515625"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<MaskTexture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\LeftPageMask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
|
|
<Anchors>
|
|
<Anchor point="LEFT"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="Background"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture parentKey="Picture">
|
|
<Size x="300" y="600"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="21"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString inherits="NarciLoreBookHeader" parentKey="Header"/>
|
|
<FontString inherits="NarciLoreBookTextBlack" parentKey="Lore" spacing="2" justifyH="LEFT" justifyV="TOP"/>
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\PageCurveRight" parentKey="CurveShadow" Alpha="0">
|
|
<Size x="44" y="500"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="NarciLoreBookRightPageTemplate" virtual="true">
|
|
<Size x="342" y="498"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="CENTER" x="342" y="0"/>
|
|
</Anchors>
|
|
<KeyValues>
|
|
<KeyValue key="isRightPage" value="true" type="boolean"/>
|
|
</KeyValues>
|
|
<Layers>
|
|
<Layer level="BACKGROUND" textureSubLevel="0">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\PageShadowLeft" parentKey="LeftShadow" Alpha="0">
|
|
<Size x="235" y="550"/>
|
|
<TexCoords left="1" right="0" top="0" bottom="1"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="RIGHT" x="40" y="-20"/>
|
|
<Anchor point="LEFT" relativeKey="$parent" relativePoint="LEFT" x="0" y="-20"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\PageShadowRight" parentKey="RightShadow" Alpha="0">
|
|
<Size x="20" y="520"/>
|
|
<TexCoords left="1" right="0.875" top="0" bottom="1"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent" relativePoint="LEFT" x="4" y="-2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame parentKey="ClipFrame" clipChildren="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\Book" parentKey="Background">
|
|
<TexCoords left="0.5" right="0.9443359375" top="0.02734375" bottom="0.6728515625"/>
|
|
<Size x="342" y="498"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<MaskTexture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\RightPageMask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
|
|
<Anchors>
|
|
<Anchor point="LEFT"/>
|
|
</Anchors>
|
|
<MaskedTextures>
|
|
<MaskedTexture childKey="Background"/>
|
|
</MaskedTextures>
|
|
</MaskTexture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString inherits="NarciLoreBookHeader" parentKey="Header"/>
|
|
<FontString inherits="NarciLoreBookTextBlack" parentKey="Lore" spacing="2" justifyH="LEFT" justifyV="TOP"/>
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\PageCurveRight" parentKey="CurveShadow" Alpha="0">
|
|
<Size x="44" y="500"/>
|
|
<TexCoords left="1" right="0" top="0" bottom="1"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Button name="NarciLoreAlert" parent="UIParent" mixin="NarciLoreAlertMixin" hidden="true" frameStrata="HIGH">
|
|
<Size x="312" y="26"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="16" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\BookIcon" parentKey="Icon">
|
|
<Size x="32" y="32"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Name" inherits="GameFontHighlightMedium" text="Face Your Enemy" justifyV="CENTER">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" x="38" y="0"/>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1"/>
|
|
<Shadow>
|
|
<Color r="0" g="0" b="0" a="1"/>
|
|
<Offset>
|
|
<AbsDimension x="1" y="-1"/>
|
|
</Offset>
|
|
</Shadow>
|
|
</FontString>
|
|
<FontString parentKey="unlockedText" inherits="GameFontHighlightSmall" text="Journal Updated" height="9">
|
|
<Color r="1" g="0.82" b="0" a="1"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="38" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Animations>
|
|
<AnimationGroup parentKey="fadeIn">
|
|
<Alpha fromAlpha="0" toAlpha="1" duration="0.2" order="1"/>
|
|
<Alpha startDelay="4" fromAlpha="1" toAlpha="0" duration="1" order="2"/>
|
|
<Scripts>
|
|
<OnFinished>
|
|
self:GetParent():Hide();
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnClick method="OnClick"/>
|
|
<OnHide method="OnHide"/>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Frame name="Narci_LoreBook" parent="UIParent" mixin="NarciLoreBookMixin" topLevel="true" enableMouse="true" hidden="true">
|
|
<Size x="768" y="549"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\AddOns\Narcissus\Art\Modules\LoreBook\Book" parentKey="Background">
|
|
<TexCoords left="0" right="1" top="0" bottom="0.71484375"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame parentKey="PageContainer" clipChildren="true">
|
|
<Size x="684" y="549"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" y="4"/>
|
|
</Anchors>
|
|
<Frames>
|
|
<Frame inherits="NarciLoreBookLeftPageTemplate" parentKey="LeftPage1"/>
|
|
<Frame inherits="NarciLoreBookRightPageTemplate" parentKey="RightPage1"/>
|
|
<Frame inherits="NarciLoreBookLeftPageTemplate" parentKey="LeftPage2" frameLevel="2"/>
|
|
<Frame inherits="NarciLoreBookRightPageTemplate" parentKey="RightPage2" frameLevel="2"/>
|
|
</Frames>
|
|
</Frame>
|
|
<Button inherits="NarciCloseButtonTemplate" Alpha="1" frameLevel="5">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent" relativePoint="TOPRIGHT" x="6" y="6"/>
|
|
</Anchors>
|
|
</Button>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnMouseWheel method="OnMouseWheel"/>
|
|
<OnMouseDown method="OnMouseDown"/>
|
|
</Scripts>
|
|
</Frame>
|
|
</Ui>
|