<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="QuestLogFrame.lua"/>
<Button name="QuestLogTitleButtonTemplate" virtual="true">
<Size x="299" y="16"/>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentTag" inherits="GameFontNormal" justifyH="RIGHT" parentKey="tag">
<Size x="0" y="16"/>
<Anchors>
<Anchor point="RIGHT" x="-2" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentGroupMates" inherits="GameFontNormalSmall" justifyH="RIGHT" parentKey="groupMates">
<Size x="0" y="16"/>
<Anchors>
<Anchor point="LEFT" x="8" y="0"/>
</Anchors>
</FontString>
<Texture name="$parentQuestionMark" inherits="AutoQuest-QuestLogIcon" parentKey="QuestionMark" hidden="true">
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentTag" relativePoint="LEFT"/>
</Anchors>
</Texture>
<Texture name="$parentCheck" file="Interface\Buttons\UI-CheckBox-Check" hidden="true" parentKey="check">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="LEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
QuestLogTitleButton_OnLoad(self);
</OnLoad>
<OnEvent>
QuestLogTitleButton_OnEvent(self, event, ...);
</OnEvent>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
QuestLogTitleButton_OnClick(self, button, down);
</OnClick>
<OnEnter>
QuestLogTitleButton_OnEnter(self);
</OnEnter>
<OnLeave>
QuestLogTitleButton_OnLeave(self);
</OnLeave>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-MinusButton-UP">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="LEFT" x="3" y="0"/>
</Anchors>
</NormalTexture>
<HighlightTexture name="$parentHighlight" file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="LEFT" x="3" y="0"/>
</Anchors>
</HighlightTexture>
<ButtonText name="$parentNormalText" nonspacewrap="true" parentKey="normalText">
<Size x="0" y="10"/>
<Anchors>
<Anchor point="LEFT" x="20" y="0"/>
</Anchors>
</ButtonText>
<NormalFont style="GameFontNormalLeft"/>
<HighlightFont style="GameFontHighlightLeft"/>
<DisabledFont style="GameFontHighlightLeft"/>
</Button>
<Frame name="QuestLogControlPanel" enableMouse="true" hidden="true">
<Size x="256" y="26"/>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset x="18" y="6"/>
</Anchor>
</Anchors>
<Frames>
<Button name="QuestLogFrameAbandonButton" inherits="UIPanelButtonTemplate" text="ABANDON_QUEST_ABBREV">
<Size x="110" y="21"/>
<Anchors>
<Anchor point="LEFT" x="0" y="1"/>
</Anchors>
<Scripts>
<OnClick>
SetAbandonQuest();
local items = GetAbandonQuestItems();
if ( items ) then
StaticPopup_Hide("ABANDON_QUEST");
StaticPopup_Show("ABANDON_QUEST_WITH_ITEMS", GetAbandonQuestName(), items);
else
StaticPopup_Hide("ABANDON_QUEST_WITH_ITEMS");
StaticPopup_Show("ABANDON_QUEST", GetAbandonQuestName());
end
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, ABANDON_QUEST, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_ABANDONQUEST, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="QuestLogFrameTrackButton" inherits="UIPanelButtonTemplate" text="TRACK_QUEST_ABBREV">
<Size x="100" y="21"/>
<Anchors>
<Anchor point="RIGHT" x="-3" y="1"/>
</Anchors>
<Scripts>
<OnClick function="QuestLogFrameTrackButton_OnClick"/>
<OnEnter>
GameTooltip_AddNewbieTip(self, TRACK_QUEST, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_TRACKQUEST, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="QuestLogFramePushQuestButton" inherits="UIPanelButtonTemplate" text="SHARE_QUEST_ABBREV">
<Size x="1" y="21"/>
<Anchors>
<Anchor point="LEFT" relativeTo="QuestLogFrameAbandonButton" relativePoint="RIGHT"/>
<Anchor point="RIGHT" relativeTo="QuestLogFrameTrackButton" relativePoint="LEFT"/>
</Anchors>
<Scripts>
<OnClick>
QuestLogPushQuest();
PlaySound("igQuestLogOpen");
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, SHARE_QUEST, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_SHAREQUEST, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="QuestLogDetailFrame" toplevel="true" enableMouse="true" parent="UIParent" hidden="true" inherits="ButtonFrameTemplate">
<Size x="338" y="496"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="OVERLAY" textureSubLevel="-1">
<Texture file="Interface\QuestFrame\UI-QuestLog-BookIcon">
<Size x="64" y="64"/>
<Anchors>
<Anchor point="TOPLEFT" x="-6" y="7"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture name="$parentPageBg" file="Interface\QuestFrame\QuestBG">
<Size x="512" y="620"/>
<Anchors>
<Anchor point="TOPLEFT" x="6" y="-62"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="QuestLogDetailTitleText" inherits="GameFontNormal" text="QUEST_DETAILS">
<Size x="300" y="14"/>
<Anchors>
<Anchor point="TOP" x="0" y="-5"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="QuestLogDetailInset" useParentLevel="true" inherits="InsetFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestLogFrame"/>
<Anchor point="BOTTOMRIGHT" relativeTo="QuestLogFrame"/>
</Anchors>
</Frame>
<ScrollFrame name="QuestLogDetailScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size x="298" y="403"/>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-55"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size x="31" y="102"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-2" y="6"/>
</Anchors>
<TexCoords left="0" right="0.484375" top="0" bottom="0.4"/>
</Texture>
<Texture name="$parentBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size x="31" y="106"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-2" y="-2"/>
</Anchors>
<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size x="31" y="1"/>
<Anchors>
<Anchor point="TOP" relativeTo="$parentTop" relativePoint="BOTTOM"/>
<Anchor point="BOTTOM" relativeTo="$parentBottom" relativePoint="TOP"/>
</Anchors>
<TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<ScrollChild>
<Frame name="QuestLogDetailScrollChildFrame">
<Size x="298" y="403"/>
</Frame>
</ScrollChild>
</ScrollFrame>
</Frames>
<Scripts>
<OnLoad function="QuestLogDetailFrame_OnLoad"/>
<OnShow function="QuestLogDetailFrame_OnShow"/>
<OnHide function="QuestLogDetailFrame_OnHide"/>
</Scripts>
</Frame>
<Frame name="QuestLogFrame" toplevel="true" enableMouse="true" parent="UIParent" hidden="true" inherits="ButtonFrameTemplate">
<Size x="667" y="496"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="OVERLAY" textureSubLevel="-1">
<Texture file="Interface\QuestFrame\UI-QuestLog-BookIcon">
<Size x="64" y="64"/>
<Anchors>
<Anchor point="TOPLEFT" x="-9" y="9"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture name="$parentPageBg" file="Interface\QuestFrame\QuestBG">
<Size x="510" y="620"/>
<Anchors>
<Anchor point="TOPLEFT" x="336" y="-62"/>
</Anchors>
</Texture>
<Texture name="$parentBookBg" file="Interface\QuestFrame\QuestBookBG">
<Size x="510" y="620"/>
<Anchors>
<Anchor point="TOPLEFT" x="6" y="-63"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY" textureSubLevel="100">
<FontString name="QuestLogTitleText" inherits="GameFontNormal" text="QUEST_LOG">
<Size x="300" y="14"/>
<Anchors>
<Anchor point="TOP" x="0" y="-3"/>
</Anchors>
</FontString>
<Texture name="QuestDetailTopLeftCorner" inherits="UI-Frame-InnerTopLeft" parentKey="InsetBorderTopLeft">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestLogFrame" relativePoint="TOPRIGHT" x="-334" y="-60"/>
</Anchors>
</Texture>
<Texture name="QuestDetailBotLeftCorner" inherits="UI-Frame-InnerBotLeftCorner">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="QuestLogFrame" relativePoint="BOTTOMRIGHT" x="-334" y="25"/>
</Anchors>
</Texture>
<Texture name="QuestDetailLeftBorder" inherits="!UI-Frame-InnerLeftTile" parentKey="InsetBorderLeft">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestDetailTopLeftCorner" relativePoint="BOTTOMLEFT" x="0" y="0" />
<Anchor point="BOTTOMLEFT" relativeTo="QuestDetailBotLeftCorner" relativePoint="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="QuestLogFrameCancelButton" inherits="UIPanelButtonTemplate" text="CLOSE">
<Size x="80" y="22"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" x="-6" y="4"/>
</Anchors>
<Scripts>
<OnClick>
HideUIPanel(QuestLogFrame);
</OnClick>
</Scripts>
</Button>
<Button name="QuestLogFrameCompleteButton" inherits="MagicButtonTemplate" text="COMPLETE_QUEST" hidden="true">
<Size x="160" y="22"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="QuestLogFrameCancelButton" relativePoint="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="QuestLogFrameCompleteButtonFlash" inherits="UIPanelButtonHighlightTexture" parentKey="Flash"/>
</Layer>
</Layers>
<Scripts>
<OnClick>
ShowQuestComplete(GetQuestLogSelection());
WatchFrameAutoQuest_ClearPopUpByLogIndex(GetQuestLogSelection());
</OnClick>
<OnShow>
UIFrameFlash(self.Flash, 0.75, 0.75, -1, nil);
</OnShow>
<OnHide>
UIFrameFlashStop(QuestLogFrameCompleteButton.Flash);
</OnHide>
</Scripts>
</Button>
<Button name="QuestLogFrameShowMapButton">
<Size x="48" y="32"/>
<Anchors>
<Anchor point="TOPRIGHT" x="-24" y="-27"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture" file="Interface\QuestFrame\UI-QuestMap_Button" parentKey="texture">
<Size x="48" y="32"/>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
<TexCoords left="0.125" right="0.875" top="0.0" bottom="0.5"/>
</Texture>
<FontString name="$parentText" inherits="GameFontNormal" text="SHOW_MAP" parentKey="text">
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentTexture" relativePoint="LEFT" x="0" y="0"/>
</Anchors>
</FontString>
</Layer>
<Layer level="HIGHLIGHT">
<Texture name="$parentHighlight" file="Interface\BUTTONS\ButtonHilight-Square" alphaMode="ADD" hidden="true">
<Size x="36" y="25"/>
<Anchors>
<Anchor point="RIGHT" x="-7" y="0"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetWidth(self.text:GetWidth() + self.texture:GetWidth());
</OnLoad>
<OnClick>
local questID = select(9, GetQuestLogTitle(QuestLogFrame.selectedIndex))
WorldMap_OpenToQuest(questID, self:GetParent());
</OnClick>
<OnEnter>
QuestLogFrameShowMapButtonHighlight:Show();
</OnEnter>
<OnLeave>
QuestLogFrameShowMapButtonHighlight:Hide();
</OnLeave>
<OnMouseDown>
self.texture:SetTexCoord(0.125, 0.875, 0.5, 1.0);
</OnMouseDown>
<OnMouseUp>
self.texture:SetTexCoord(0.125, 0.875, 0.0, 0.5);
</OnMouseUp>
</Scripts>
</Button>
<Frame name="EmptyQuestLogFrame" hidden="true">
<Size x="302" y="396"/>
<Anchors>
<Anchor point="TOPLEFT" x="5" y="-63"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBackgroundTopLeft" file="Interface\QuestFrame\UI-QuestLog-Empty-TopLeft">
<Size x="256" y="256"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0.0" right="1.0" top="0.0" bottom="1.0"/>
</Texture>
<Texture name="$parentBackgroundBottomLeft" file="Interface\QuestFrame\UI-QuestLog-Empty-BotLeft">
<Size x="256" y="190"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentBackgroundTopLeft" relativePoint="BOTTOMRIGHT"/>
</Anchors>
<TexCoords left="0.0" right="1.0" top="0.0" bottom="0.828125"/>
</Texture>
<Texture name="$parentBackgroundTopRight" file="Interface\QuestFrame\UI-QuestLog-Empty-TopRight">
<Size x="46" y="256"/>
<Anchors>
<Anchor point="TOPRIGHT"/>
<Anchor point="BOTTOMLEFT" relativeTo="$parentBackgroundTopLeft" relativePoint="BOTTOMRIGHT"/>
</Anchors>
<TexCoords left="0.0" right="0.71875" top="0.0" bottom="1.0"/>
</Texture>
<Texture name="$parentBackgroundBottomRight" file="Interface\QuestFrame\UI-QuestLog-Empty-BotRight">
<Size x="46" y="190"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentBackgroundTopLeft" relativePoint="BOTTOMRIGHT"/>
</Anchors>
<TexCoords left="0.0" right="0.71875" top="0.0" bottom="0.828125"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="QuestLogNoQuestsText" inherits="GameFontHighlight" text="QUESTLOG_NO_QUESTS_TEXT">
<Size x="200" y="0"/>
<Anchors>
<Anchor point="CENTER" x="-6" y="16"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="QuestLogCount" inherits="InsetFrameTemplate3">
<Size x="120" y="20"/>
<Anchors>
<Anchor point="TOPLEFT" x="70" y="-33"/>
</Anchors>
<!-- anchors are set in QuestLog_UpdateQuestCount -->
<Layers>
<Layer level="ARTWORK">
<FontString name="QuestLogQuestCount" inherits="GameFontNormalSmall">
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent.BorderTopRight" relativePoint="BOTTOMLEFT" x="1" y="3"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<ScrollFrame name="QuestLogScrollFrame" inherits="HybridScrollFrameTemplate">
<Size x="305" y="403"/>
<Anchors>
<Anchor point="TOPLEFT" x="6" y="-64n"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size x="29" y="102"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-6" y="5"/>
</Anchors>
<TexCoords left="0" right="0.445" top="0" bottom="0.4"/>
</Texture>
<Texture name="$parentBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size x="29" y="106"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-6" y="-2"/>
</Anchors>
<TexCoords left="0.515625" right="0.960625" top="0" bottom="0.4140625"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size x="29" y="1"/>
<Anchors>
<Anchor point="TOP" relativeTo="$parentTop" relativePoint="BOTTOM"/>
<Anchor point="BOTTOM" relativeTo="$parentBottom" relativePoint="TOP"/>
</Anchors>
<TexCoords left="0" right="0.445" top=".75" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Slider name="$parentScrollBar" inherits="HybridScrollBarTemplate" parentKey="scrollBar">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="-13"/>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="14"/>
</Anchors>
<Scripts>
<OnLoad>
local name = self:GetName();
_G[name.."BG"]:Hide();
_G[name.."Top"]:Hide();
_G[name.."Bottom"]:Hide();
_G[name.."Middle"]:Hide();
self.doNotHide = true;
</OnLoad>
</Scripts>
</Slider>
<Frame name="QuestLogHighlightFrame" hidden="true">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="QuestLogSkillHighlight" file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD"/>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetParent(nil);
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad function="QuestLogScrollFrame_OnLoad"/>
</Scripts>
</ScrollFrame>
</Frames>
<Scripts>
<OnEvent function="QuestLog_OnEvent"/>
<OnLoad function="QuestLog_OnLoad"/>
<OnShow function="QuestLog_OnShow"/>
<OnHide function="QuestLog_OnHide"/>
<OnUpdate function="QuestLog_OnUpdate"/>
<OnMouseWheel function=""/>
</Scripts>
</Frame>
</Ui>