<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
<Script file="ItemTextFrame.lua"/>
<Frame name="ItemTextFrame" toplevel="true" movable="true" enableMouse="true" hidden="true" parent="UIParent" inherits="ButtonFrameTemplate">
<Layers>
<Layer level="OVERLAY" textureSubLevel="-1">
<Texture file="Interface\Spellbook\Spellbook-Icon">
<Size x="58" y="58"/>
<Anchors>
<Anchor point="TOPLEFT" x="-5" y="5"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture name="InboxFrameBg" file="Interface\QuestFrame\QuestBG">
<Size x="512" y="543"/>
<Anchors>
<Anchor point="TOPLEFT" x="7" y="-62"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="ItemTextMaterialTopLeft">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" x="7" y="-62"/>
</Anchors>
</Texture>
<Texture name="ItemTextMaterialTopRight">
<Size x="64" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="ItemTextMaterialTopLeft" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="ItemTextMaterialBotLeft">
<Size x="256" y="128"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="ItemTextMaterialTopLeft" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture name="ItemTextMaterialBotRight">
<Size x="64" y="128"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="ItemTextMaterialTopLeft" relativePoint="BOTTOMRIGHT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="ItemTextTitleText" inherits="GameFontNormal">
<Size x="224" y="14"/>
<Anchors>
<Anchor point="CENTER" x="15" y="200"/>
</Anchors>
</FontString>
<FontString name="ItemTextCurrentPage" inherits="GameFontNormal">
<Size x="192" y="0"/>
<Anchors>
<Anchor point="TOP" x="20" y="-35"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<ScrollFrame name="ItemTextScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size x="280" y="355"/>
<Anchors>
<Anchor point="TOPRIGHT" x="-33" y="-63"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size x="28" y="256"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="5"/>
</Anchors>
<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size x="28" y="107"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="-3"/>
</Anchors>
<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture name="$parentMiddle">
<Size x="25" y="365"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentTop"/>
</Anchors>
<Color r="0" g="0" b="0" a="0.8"/>
</Texture>
</Layer>
</Layers>
<ScrollChild>
<Frame name="ItemTextPageScrollChild">
<Size x="10" y="10"/>
<Frames>
<SimpleHTML name="ItemTextPageText">
<Size x="270" y="304"/>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-15"/>
</Anchors>
<FontString inherits="QuestFont"/>
</SimpleHTML>
</Frames>
</Frame>
</ScrollChild>
</ScrollFrame>
<StatusBar name="ItemTextStatusBar" hidden="true">
<Size x="250" y="21"/>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ItemTextFrame" x="-5" y="128"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture file="Interface\PaperDollInfoFrame\UI-Character-Skills-BarBorder">
<Size x="256" y="23"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<TexCoords left="0" right="1.0" top="0.0625" bottom="0.75"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad function="RaiseFrameLevel"/>
</Scripts>
<BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
<BarColor r="0.25" g="0.75" b="0.25"/>
</StatusBar>
<Button name="ItemTextPrevPageButton">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="CENTER" relativePoint="TOPLEFT" x="75" y="-41"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString inherits="GameFontNormal" justifyH="LEFT" text="PREV">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
ItemTextPrevPage();
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
</Button>
<Button name="ItemTextNextPageButton">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="CENTER" relativePoint="TOPRIGHT" x="-23" y="-41"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString inherits="GameFontNormal" justifyH="RIGHT" text="NEXT">
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
ItemTextNextPage();
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
</Button>
</Frames>
<Scripts>
<OnLoad function="ItemTextFrame_OnLoad"/>
<OnEvent function="ItemTextFrame_OnEvent"/>
<OnUpdate function="ItemTextFrame_OnUpdate"/>
<OnShow>
PlaySound("igMainMenuOpen");
</OnShow>
<OnHide>
CloseItemText();
PlaySound("igMainMenuClose");
</OnHide>
</Scripts>
</Frame>
</Ui>