<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="QuestInfo.lua"/>
<Button name="QuestInfoRewardSpellTemplate" inherits="QuestSpellTemplate" virtual="true">
<Scripts>
<OnEnter>
local tooltip = _G[QuestInfoFrame.tooltip];
if ( tooltip ) then
tooltip:SetOwner(self, "ANCHOR_RIGHT");
if ( QuestInfoFrame.questLog ) then
tooltip:SetQuestLogRewardSpell();
else
tooltip:SetQuestRewardSpell();
end
end
</OnEnter>
<OnClick>
if ( IsModifiedClick("CHATLINK") ) then
if ( QuestInfoFrame.questLog ) then
ChatEdit_InsertLink(GetQuestLogSpellLink());
else
ChatEdit_InsertLink(GetQuestSpellLink());
end
end
</OnClick>
<OnLeave>
if ( QuestInfoFrame.tooltip ) then
_G[QuestInfoFrame.tooltip]:Hide();
ResetCursor();
end
</OnLeave>
</Scripts>
</Button>
<Button name="QuestInfoRewardItemTemplate" inherits="QuestItemTemplate" virtual="true">
<Scripts>
<OnEnter>
local tooltip = _G[QuestInfoFrame.tooltip];
if ( tooltip ) then
tooltip:SetOwner(self, "ANCHOR_RIGHT");
if ( QuestInfoFrame.questLog ) then
if (self.objectType == "item") then
tooltip:SetQuestLogItem(self.type, self:GetID());
GameTooltip_ShowCompareItem(tooltip);
elseif (self.objectType == "currency") then
tooltip:SetQuestLogCurrency(self.type, self:GetID());
end
else
if (self.objectType == "item") then
tooltip:SetQuestItem(self.type, self:GetID());
GameTooltip_ShowCompareItem(tooltip);
elseif (self.objectType == "currency") then
tooltip:SetQuestCurrency(self.type, self:GetID());
end
end
end
</OnEnter>
<OnClick>
if ( IsModifiedClick() and self.objectType == "item") then
if ( QuestInfoFrame.questLog ) then
HandleModifiedItemClick(GetQuestLogItemLink(self.type, self:GetID()));
else
HandleModifiedItemClick(GetQuestItemLink(self.type, self:GetID()));
end
else
if ( QuestInfoFrame.chooseItems ) then
QuestInfoItem_OnClick(self);
end
end
</OnClick>
<OnLeave>
if ( QuestInfoFrame.tooltip ) then
_G[QuestInfoFrame.tooltip]:Hide();
ResetCursor();
end
</OnLeave>
</Scripts>
</Button>
<Frame name="QuestInfoObjectivesFrame" hidden="true">
<Size>
<AbsDimension x="285" y="10"/>
</Size>
<Anchors>
<Anchor point="CENTER" />
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="QuestInfoObjective1" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
</FontString>
<FontString name="QuestInfoObjective2" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoObjective1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="QuestInfoObjective3" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoObjective2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="QuestInfoObjective4" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoObjective3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="QuestInfoObjective5" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoObjective4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="QuestInfoObjective6" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoObjective5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="QuestInfoObjective7" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoObjective6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="QuestInfoObjective8" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoObjective7" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="QuestInfoObjective9" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoObjective8" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="QuestInfoObjective10" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoObjective9" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="QuestInfoSpecialObjectivesFrame" hidden="true">
<Size x="285" y="10"/>
<Anchors>
<Anchor point="CENTER" />
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString name="QuestInfoSpellObjectiveLearnLabel" inherits="QuestFontNormalSmall" justifyH="LEFT" text="LEARN_SPELL_OBJECTIVE"/>
</Layer>
</Layers>
<Frames>
<Button name="QuestInfoSpellObjectiveFrame" inherits="QuestSpellTemplate" hidden="true"/>
</Frames>
</Frame>
<Frame name="QuestInfoTimerFrame" hidden="true">
<Size>
<AbsDimension x="1" y="1"/>
</Size>
<Anchors>
<Anchor point="CENTER" />
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="QuestInfoTimerText" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="false">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
<Color r="0" g="0" b="0" />
</FontString>
</Layer>
</Layers>
<Scripts>
<OnUpdate function="QuestInfoTimerFrame_OnUpdate"/>
</Scripts>
</Frame>
<Frame name="QuestInfoRequiredMoneyFrame">
<Size>
<AbsDimension x="285" y="28"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<FontString name="QuestInfoRequiredMoneyText" inherits="QuestFontNormalSmall" text="REQUIRED_MONEY">
<Anchors>
<Anchor point="LEFT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="QuestInfoRequiredMoneyDisplay" inherits="MoneyFrameTemplate">
<Anchors>
<Anchor point="LEFT" relativeTo="QuestInfoRequiredMoneyText" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "STATIC");
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Frame>
<Frame name="QuestInfoFrame" hidden="true">
<Size>
<AbsDimension x="300" y="100"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<FontString name="QuestInfoTitleHeader" inherits="QuestTitleFont" justifyH="LEFT" text="Quest title">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
</FontString>
<FontString name="QuestInfoObjectivesText" inherits="QuestFont" justifyH="LEFT">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
</FontString>
<FontString name="QuestInfoRewardText" inherits="QuestFont" justifyH="LEFT">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
</FontString>
<FontString name="QuestInfoRequiredMoneyText" inherits="QuestFontNormalSmall" text="REQUIRED_MONEY" />
<FontString name="QuestInfoGroupSize" inherits="QuestFont" />
<FontString name="QuestInfoAnchor" inherits="QuestFont" />
<FontString name="QuestInfoDescriptionHeader" inherits="QuestTitleFont" justifyH="LEFT" text="QUEST_DESCRIPTION">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
</FontString>
<FontString name="QuestInfoObjectivesHeader" inherits="QuestTitleFont" text="QUEST_OBJECTIVES" justifyH="LEFT">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
</FontString>
<FontString name="QuestInfoDescriptionText" inherits="QuestFont" justifyH="LEFT">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="QuestInfoFadingFrame">
<Size>
<AbsDimension x="1" y="1"/>
</Size>
<Scripts>
<OnUpdate function="QuestInfoFadingFrame_OnUpdate"/>
</Scripts>
</Frame>
<Frame name="QuestInfoSpacerFrame">
<Size>
<AbsDimension x="5" y="5"/>
</Size>
</Frame>
</Frames>
<Scripts>
<OnLoad>
self.material = "Parchment";
</OnLoad>
</Scripts>
</Frame>
<Frame name="QuestInfoRewardsFrame" hidden="true">
<Size>
<AbsDimension x="285" y="10" />
</Size>
<Anchors>
<Anchor point="CENTER" />
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="QuestInfoRewardsHeader" inherits="QuestTitleFont" text="QUEST_REWARDS" justifyH="LEFT">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
</FontString>
<FontString name="QuestInfoItemChooseText" inherits="QuestFont" text="REWARD_CHOICES" hidden="true" justifyH="LEFT">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoRewardsHeader" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="QuestInfoItemReceiveText" inherits="QuestFont" hidden="true" justifyH="LEFT" />
<FontString name="QuestInfoSpellLearnText" inherits="QuestFont" hidden="true" justifyH="LEFT" />
</Layer>
</Layers>
<Frames>
<Button name="QuestInfoRewardSpell" inherits="QuestInfoRewardSpellTemplate" hidden="true"/>
<Button name="QuestInfoItem1" inherits="QuestInfoRewardItemTemplate" hidden="true" />
<Button name="QuestInfoItem2" inherits="QuestInfoRewardItemTemplate" hidden="true" />
<Button name="QuestInfoItem3" inherits="QuestInfoRewardItemTemplate" hidden="true" />
<Button name="QuestInfoItem4" inherits="QuestInfoRewardItemTemplate" hidden="true" />
<Button name="QuestInfoItem5" inherits="QuestInfoRewardItemTemplate" hidden="true" />
<Button name="QuestInfoItem6" inherits="QuestInfoRewardItemTemplate" hidden="true" />
<Button name="QuestInfoItem7" inherits="QuestInfoRewardItemTemplate" hidden="true" />
<Button name="QuestInfoItem8" inherits="QuestInfoRewardItemTemplate" hidden="true" />
<Button name="QuestInfoItem9" inherits="QuestInfoRewardItemTemplate" hidden="true" />
<Button name="QuestInfoItem10" inherits="QuestInfoRewardItemTemplate" hidden="true" />
<Frame name="QuestInfoMoneyFrame" inherits="MoneyFrameTemplate">
<Anchors>
<Anchor point="LEFT" relativeTo="QuestInfoItemReceiveText" relativePoint="RIGHT">
<Offset>
<AbsDimension x="15" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
MoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "STATIC");
</OnLoad>
</Scripts>
</Frame>
<Button name="QuestInfoTalentFrame" inherits="QuestTalentFrameTemplate" />
<Button name="QuestInfoSkillPointFrame" inherits="QuestSkillPointFrameTemplate" />
<Frame name="QuestInfoXPFrame" inherits="QuestXPFrameTemplate" />
<Frame name="QuestInfoPlayerTitleFrame" inherits="QuestPlayerTitleFrameTemplate" />
<Frame name="QuestInfoItemHighlight" hidden="true">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\QuestFrame\UI-QuestItemHighlight" alphaMode="ADD">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad function="RaiseFrameLevel"/>
</Scripts>
</Frame>
<Frame name="QuestInfoReputationsFrame" hidden="true">
<Size>
<AbsDimension x="285" y="100"/>
</Size>
<Anchors>
<Anchor point="CENTER" />
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="QuestInfoReputationText" inherits="QuestFont" justifyH="LEFT" text="REWARD_REPUTATION_TEXT">
<Size>
<AbsDimension x="285" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="QuestInfoReputation1" inherits="QuestReputationTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoReputationText" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="QuestInfoReputation2" inherits="QuestReputationTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoReputation1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="QuestInfoReputation3" inherits="QuestReputationTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoReputation2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="QuestInfoReputation4" inherits="QuestReputationTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoReputation3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="QuestInfoReputation5" inherits="QuestReputationTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoReputation4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="QuestInfoReputation6" inherits="QuestReputationTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoReputation5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="QuestInfoReputation7" inherits="QuestReputationTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoReputation6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="QuestInfoReputation8" inherits="QuestReputationTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoReputation7" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="QuestInfoReputation9" inherits="QuestReputationTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoReputation8" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="QuestInfoReputation10" inherits="QuestReputationTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="QuestInfoReputation9" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
</Frames>
</Frame>
</Frames>
</Frame>
</Ui>