режим предателя + UI референсы и DragonUI
This commit is contained in:
@@ -0,0 +1,947 @@
|
||||
<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>
|
||||
<AbsDimension x="299" y="16"/>
|
||||
</Size>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<FontString name="$parentTag" inherits="GameFontNormal" justifyH="RIGHT" parentKey="tag">
|
||||
<Size>
|
||||
<AbsDimension x="0" y="16"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-2" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
<FontString name="$parentGroupMates" inherits="GameFontNormalSmall" justifyH="RIGHT" parentKey="groupMates">
|
||||
<Size>
|
||||
<AbsDimension x="0" y="16"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="8" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
<Texture name="$parentCheck" file="Interface\Buttons\UI-CheckBox-Check" hidden="true" parentKey="check">
|
||||
<Size>
|
||||
<AbsDimension x="16" y="16"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
QuestLogTitleButton_OnLoad(self);
|
||||
</OnLoad>
|
||||
<OnEvent>
|
||||
QuestLogTitleButton_OnEvent(self, event, ...);
|
||||
</OnEvent>
|
||||
<OnClick>
|
||||
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>
|
||||
<AbsDimension x="16" y="16"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="3" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</NormalTexture>
|
||||
<HighlightTexture name="$parentHighlight" file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD">
|
||||
<Size>
|
||||
<AbsDimension x="16" y="16"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="3" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</HighlightTexture>
|
||||
<ButtonText name="$parentNormalText" nonspacewrap="true" parentKey="normalText">
|
||||
<Size>
|
||||
<AbsDimension x="0" y="10"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="20" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</ButtonText>
|
||||
<NormalFont style="GameFontNormalLeft"/>
|
||||
<HighlightFont style="GameFontHighlightLeft"/>
|
||||
<DisabledFont style="GameFontHighlightLeft"/>
|
||||
</Button>
|
||||
<Button name="QuestLogRewardItemTemplate" inherits="QuestItemTemplate" virtual="true">
|
||||
<Scripts>
|
||||
<OnEnter>
|
||||
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
|
||||
if ( self.rewardType == "item" ) then
|
||||
GameTooltip:SetQuestLogItem(self.type, self:GetID());
|
||||
GameTooltip_ShowCompareItem(GameTooltip);
|
||||
elseif ( self.rewardType == "spell" ) then
|
||||
GameTooltip:SetQuestLogRewardSpell();
|
||||
end
|
||||
</OnEnter>
|
||||
<OnClick>
|
||||
if ( self.rewardType == "spell" ) then
|
||||
if ( IsModifiedClick("CHATLINK") ) then
|
||||
ChatEdit_InsertLink(GetQuestLogSpellLink());
|
||||
end
|
||||
else
|
||||
HandleModifiedItemClick(GetQuestLogItemLink(self.type, self:GetID()));
|
||||
end
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
|
||||
<Frame name="QuestLogControlPanel" enableMouse="true" hidden="true">
|
||||
<Size x="256" y="26"/>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT">
|
||||
<Offset x="18" y="9"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Frames>
|
||||
<Button name="QuestLogFrameAbandonButton" inherits="UIPanelButtonTemplate" text="ABANDON_QUEST_ABBREV">
|
||||
<Size>
|
||||
<AbsDimension x="110" y="21"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</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>
|
||||
<AbsDimension x="100" y="21"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-3" y="1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</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>
|
||||
<AbsDimension x="1" y="21"/>
|
||||
</Size>
|
||||
<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">
|
||||
<Size x="350" y="440"/>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT"/>
|
||||
</Anchors>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture file="Interface\QuestFrame\UI-QuestLog-BookIcon">
|
||||
<Size>
|
||||
<AbsDimension x="64" y="64"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="4" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="BORDER">
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
|
||||
<Size>
|
||||
<AbsDimension x="256" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
|
||||
<Size>
|
||||
<AbsDimension x="94" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0" right="0.734375" top="0.0" bottom="1.0"/>
|
||||
</Texture>
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomLeft">
|
||||
<Size>
|
||||
<AbsDimension x="256" y="184"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0" right="1.0" top="0.0" bottom="0.71875"/>
|
||||
</Texture>
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomRight">
|
||||
<Size>
|
||||
<AbsDimension x="94" y="184"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMRIGHT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0" right="0.734375" top="0.0" bottom="0.71875"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="ARTWORK">
|
||||
<Texture name="$parentBackgroundTopLeft" file="Interface\QuestFrame\UI-QuestDetails-TopLeft">
|
||||
<Size>
|
||||
<AbsDimension x="236" y="182"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset x="20" y="-74"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<TexCoords left="0.078125" right="1.0" top="0.2890625" bottom="1.0"/>
|
||||
</Texture>
|
||||
<Texture name="$parentBackgroundBottomLeft" file="Interface\QuestFrame\UI-QuestDetails-BotLeft">
|
||||
<Size>
|
||||
<AbsDimension x="236" y="174"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentBackgroundTopLeft" relativePoint="BOTTOMLEFT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.078125" right="1.0" top="0" bottom="0.6796875"/>
|
||||
</Texture>
|
||||
<Texture name="$parentBackgroundTopRight" file="Interface\QuestFrame\UI-QuestDetails-TopRight">
|
||||
<Size>
|
||||
<AbsDimension x="62" y="182"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentBackgroundTopLeft" relativePoint="TOPRIGHT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0" right="0.5" top="0.2890625" bottom="1.0"/>
|
||||
</Texture>
|
||||
<Texture name="$parentBackgroundBottomRight" file="Interface\QuestFrame\UI-QuestDetails-BotRight">
|
||||
<Size>
|
||||
<AbsDimension x="62" y="174"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentBackgroundTopLeft" relativePoint="BOTTOMRIGHT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0" right="0.5" top="0" bottom="0.6796875"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="ARTWORK">
|
||||
<FontString name="QuestLogDetailTitleText" inherits="GameFontNormal" text="QUEST_DETAILS">
|
||||
<Size>
|
||||
<AbsDimension x="300" y="14"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOP">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-15"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Frames>
|
||||
<Button name="QuestLogDetailFrameCloseButton" inherits="UIPanelCloseButton">
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="4" y="-8"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<ScrollFrame name="QuestLogDetailScrollFrame" inherits="UIPanelScrollFrameTemplate">
|
||||
<Size>
|
||||
<AbsDimension x="298" y="334"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="19" y="-76"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture name="$parentScrollBackgroundTopLeft" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
|
||||
<Size>
|
||||
<AbsDimension x="31" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-2" y="5"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
|
||||
</Texture>
|
||||
<Texture name="$parentScrollBackgroundBottomRight" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
|
||||
<Size>
|
||||
<AbsDimension x="31" y="106"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-2" y="-2"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<ScrollChild>
|
||||
<Frame name="QuestLogDetailScrollChildFrame">
|
||||
<Size>
|
||||
<AbsDimension x="298" y="333"/>
|
||||
</Size>
|
||||
</Frame>
|
||||
</ScrollChild>
|
||||
</ScrollFrame>
|
||||
<Frame name="QuestLogMapFrame" alpha="0.5" hidden="true">
|
||||
<Size>
|
||||
<AbsDimension x="225" y="150"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOP" relativeTo="QuestLogDetailScrollFrame" relativePoint="BOTTOM">
|
||||
<Offset x="0" y="0"/>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture name="QuestLogMapFrame1">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame2">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame1" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame3">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame2" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame4">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame3" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame5">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame1" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame6">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame5" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame7">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame6" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame8">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame7" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame9">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame5" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame10">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame9" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame11">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame10" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="QuestLogMapFrame12">
|
||||
<Size>
|
||||
<AbsDimension x="56" y="56"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogMapFrame11" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
</Frame>
|
||||
</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">
|
||||
<Size>
|
||||
<AbsDimension x="682" y="447"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT"/>
|
||||
</Anchors>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture file="Interface\QuestFrame\UI-QuestLog-BookIcon">
|
||||
<Size>
|
||||
<AbsDimension x="64" y="64"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="3" y="-4"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="BORDER">
|
||||
<Texture file="Interface\QuestFrame\UI-QuestLogDualPane-Left">
|
||||
<Size>
|
||||
<AbsDimension x="512" y="445"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0" right="1.0" top="0.0" bottom="0.86914"/>
|
||||
</Texture>
|
||||
<Texture file="Interface\QuestFrame\UI-QuestLogDualPane-RIGHT">
|
||||
<Size>
|
||||
<AbsDimension x="170" y="445"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0" right="0.6640625" top="0.0" bottom="0.86914"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="ARTWORK">
|
||||
<FontString name="QuestLogTitleText" inherits="GameFontNormal" text="QUEST_LOG">
|
||||
<Size>
|
||||
<AbsDimension x="300" y="14"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOP">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-15"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Frames>
|
||||
<Button name="QuestLogFrameCloseButton" inherits="UIPanelCloseButton">
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="2" y="-8"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="QuestLogFrameCancelButton" inherits="UIPanelButtonTemplate" text="CLOSE">
|
||||
<Size>
|
||||
<AbsDimension x="80" y="22"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-7" y="14"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
HideUIPanel(QuestLogFrame);
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="QuestLogFrameShowMapButton">
|
||||
<Size>
|
||||
<AbsDimension x="48" y="32"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-25" y="-38"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Layers>
|
||||
<Layer level="ARTWORK">
|
||||
<Texture name="$parentTexture" file="Interface\QuestFrame\UI-QuestMap_Button" parentKey="texture">
|
||||
<Size>
|
||||
<AbsDimension x="48" y="32"/>
|
||||
</Size>
|
||||
<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">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
</Layer>
|
||||
<Layer level="HIGHLIGHT">
|
||||
<Texture name="$parentHighlight" file="Interface\BUTTONS\ButtonHilight-Square" alphaMode="ADD" hidden="true">
|
||||
<Size>
|
||||
<AbsDimension x="36" y="25"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-7" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</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>
|
||||
<AbsDimension x="302" y="356"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="19" y="-73"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</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="106"/>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT"/>
|
||||
<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="106"/>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMRIGHT"/>
|
||||
<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>
|
||||
<AbsDimension x="200" y="0"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="CENTER">
|
||||
<Offset>
|
||||
<AbsDimension x="-6" y="16"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
</Layer>
|
||||
</Layers>
|
||||
</Frame>
|
||||
<Frame name="QuestLogCount">
|
||||
<Size>
|
||||
<AbsDimension x="120" y="20"/>
|
||||
</Size>
|
||||
<!-- anchors are set in QuestLog_UpdateQuestCount -->
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture name="QuestLogCountTopRight" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="8" y="8"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.9375" right="1.0" top="0" bottom="0.25"/>
|
||||
</Texture>
|
||||
<Texture name="QuestLogCountBottomRight" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="8" y="8"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMRIGHT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.9375" right="1.0" top="0.375" bottom="0.625"/>
|
||||
</Texture>
|
||||
<Texture name="QuestLogCountRight" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="8" y="0"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOP" relativeTo="QuestLogCountTopRight" relativePoint="BOTTOM"/>
|
||||
<Anchor point="BOTTOM" relativeTo="QuestLogCountBottomRight" relativePoint="TOP"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.9375" right="1.0" top="0.25" bottom="0.375"/>
|
||||
</Texture>
|
||||
<Texture name="QuestLogCountTopLeft" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="8" y="8"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0" right="0.0625" top="0" bottom="0.25"/>
|
||||
</Texture>
|
||||
<Texture name="QuestLogCountBottomLeft" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="8" y="8"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0" right="0.0625" top="0.375" bottom="0.625"/>
|
||||
</Texture>
|
||||
<Texture name="QuestLogCountLeft" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="8" y="0"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogCountTopLeft" relativePoint="BOTTOMLEFT"/>
|
||||
<Anchor point="BOTTOMLEFT" relativeTo="QuestLogCountBottomLeft" relativePoint="TOPLEFT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0" right="0.0625" top="0.25" bottom="0.375"/>
|
||||
</Texture>
|
||||
<Texture name="QuestLogCountTopMiddle" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="100" y="8"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="QuestLogCountTopRight" relativePoint="LEFT"/>
|
||||
<Anchor point="LEFT" relativeTo="QuestLogCountTopLeft" relativePoint="RIGHT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0625" right="0.9375" top="0" bottom="0.25"/>
|
||||
</Texture>
|
||||
<Texture name="QuestLogCountMiddleMiddle" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="100" y="4"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="QuestLogCountTopLeft" relativePoint="BOTTOMRIGHT"/>
|
||||
<Anchor point="BOTTOMRIGHT" relativeTo="QuestLogCountBottomRight" relativePoint="TOPLEFT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0625" right="0.9375" top="0.25" bottom="0.375"/>
|
||||
</Texture>
|
||||
<Texture name="QuestLogCountBottomMiddle" file="Interface\Common\Common-Input-Border">
|
||||
<Size>
|
||||
<AbsDimension x="100" y="8"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT" relativeTo="QuestLogCountBottomRight" relativePoint="LEFT"/>
|
||||
<Anchor point="LEFT" relativeTo="QuestLogCountBottomLeft" relativePoint="RIGHT"/>
|
||||
</Anchors>
|
||||
<TexCoords left="0.0625" right="0.9375" top="0.375" bottom="0.625"/>
|
||||
</Texture>
|
||||
<FontString name="QuestLogQuestCount" inherits="GameFontNormalSmall">
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT" relativeTo="QuestLogCountTopRight" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="1" y="3"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
<FontString name="QuestLogDailyQuestCount" inherits="GameFontNormalSmall">
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT" relativeTo="QuestLogQuestCount" relativePoint="BOTTOMRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-2"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Frames>
|
||||
<Frame name="QuestLogDailyQuestCountMouseOverFrame" enableMouse="true">
|
||||
<Size>
|
||||
<AbsDimension x="5" y="12"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="QuestLogDailyQuestCount"/>
|
||||
<Anchor point="RIGHT" relativeTo="QuestLogDailyQuestCount"/>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnEnter>
|
||||
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
|
||||
GameTooltip:SetText(format(QUEST_LOG_DAILY_TOOLTIP, GetMaxDailyQuests(), SecondsToTime(GetQuestResetTime(), nil, 1)));
|
||||
</OnEnter>
|
||||
<OnLeave function="GameTooltip_Hide"/>
|
||||
</Scripts>
|
||||
</Frame>
|
||||
</Frames>
|
||||
</Frame>
|
||||
<ScrollFrame name="QuestLogScrollFrame" inherits="HybridScrollFrameTemplate">
|
||||
<Size>
|
||||
<AbsDimension x="305" y="335"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="19" y="-75"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Frames>
|
||||
<Slider name="$parentScrollBar" inherits="HybridScrollBarTemplate" parentKey="scrollBar">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
|
||||
<Offset x="0" y="-13"/>
|
||||
</Anchor>
|
||||
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
|
||||
<Offset x="0" y="14"/>
|
||||
</Anchor>
|
||||
</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>
|
||||
Reference in New Issue
Block a user