Files
moonwell-client/reference/FrameXML/QuestFrameTemplates.xml
T

380 lines
11 KiB
XML

<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">
<Frame name="QuestFramePanelTemplate" virtual="true">
<Size>
<AbsDimension x="384" y="512"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\QuestFrame\UI-QuestGreeting-TopLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\QuestFrame\UI-QuestGreeting-TopRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture file="Interface\QuestFrame\UI-QuestGreeting-BotLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\QuestFrame\UI-QuestGreeting-BotRight" name="$parentBotRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BORDER">
<Texture name="$parentMaterialTopLeft">
<Size>
<AbsDimension x="239" y="241"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="21" y="-75"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentMaterialTopRight">
<Size>
<AbsDimension x="64" y="241"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentMaterialTopLeft" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="$parentMaterialBotLeft">
<Size>
<AbsDimension x="239" y="128"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentMaterialTopLeft" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture name="$parentMaterialBotRight">
<Size>
<AbsDimension x="64" y="128"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentMaterialTopLeft" relativePoint="BOTTOMRIGHT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Button name="QuestItemTemplate" inherits="LargeItemButtonTemplate" virtual="true">
<Scripts>
<OnLoad>
self.hasItem = 1;
</OnLoad>
<OnEnter>
if ( self:GetAlpha() > 0 ) then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
if ( self.rewardType == "item" ) then
GameTooltip:SetQuestItem(self.type, self:GetID());
GameTooltip_ShowCompareItem(GameTooltip);
elseif ( self.rewardType == "spell" ) then
GameTooltip:SetQuestRewardSpell();
end
end
CursorUpdate(self);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
ResetCursor();
</OnLeave>
<OnUpdate>
CursorOnUpdate(self, elapsed);
</OnUpdate>
<OnClick>
if ( self.rewardType == "spell" ) then
if ( IsModifiedClick("CHATLINK") ) then
ChatEdit_InsertLink(GetQuestSpellLink());
end
else
HandleModifiedItemClick(GetQuestItemLink(self.type, self:GetID()));
end
</OnClick>
</Scripts>
</Button>
<Button name="QuestTitleButtonTemplate" virtual="true">
<Size>
<AbsDimension x="300" y="16"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentQuestIcon" file="Interface\GossipFrame\AvailableQuestIcon">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="4" y="2"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
QuestTitleButton_OnClick(self, button, down);
</OnClick>
</Scripts>
<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
<ButtonText>
<Size>
<AbsDimension x="275" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="0"/>
</Offset>
</Anchor>
</Anchors>
</ButtonText>
<NormalFont style="QuestFontLeft"/>
</Button>
<Frame name="QuestHonorFrameTemplate" virtual="true">
<Size x="500" y="20"/>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentReceiveText" inherits="QuestFont" text="BONUS_HONOR">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentPoints" inherits="NumberFontNormalLarge" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentReceiveText" relativePoint="RIGHT">
<Offset>
<AbsDimension x="15" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<Texture name="$parentIcon" parentKey="icon">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentPoints" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
local factionGroup = UnitFactionGroup("player");
if ( factionGroup ) then
self.icon:SetTexture("Interface\\TargetingFrame\\UI-PVP-"..factionGroup);
self.icon:Show();
else
self.icon:Hide();
end
</OnLoad>
</Scripts>
</Frame>
<Frame name="QuestArenaPointsFrameTemplate" virtual="true">
<Size x="500" y="20"/>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentReceiveText" inherits="QuestFont" text="BONUS_ARENA_POINTS">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentPoints" inherits="NumberFontNormalLarge" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentReceiveText" relativePoint="RIGHT">
<Offset>
<AbsDimension x="15" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<Texture name="$parentIcon" file="Interface\PVPFrame\PVP-ArenaPoints-Icon">
<Size>
<AbsDimension x="17" y="15"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentPoints" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="QuestTalentFrameTemplate" virtual="true">
<Size x="500" y="20"/>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentReceiveText" inherits="QuestFont" text="BONUS_TALENTS">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentPoints" inherits="NumberFontNormalLarge" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentReceiveText" relativePoint="RIGHT">
<Offset>
<AbsDimension x="15" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="QuestXPFrameTemplate" virtual="true">
<Size x="280" y="20"/>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentReceiveText" inherits="QuestFont" text="EXPERIENCE_COLON">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentPoints" inherits="NumberFontNormalLarge" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentReceiveText" relativePoint="RIGHT">
<Offset>
<AbsDimension x="15" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="QuestReputationTemplate" virtual="true">
<Size x="280" y="15"/>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentFaction" inherits="QuestFont">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentAmount" inherits="NumberFontNormalLarge" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentFaction" relativePoint="RIGHT">
<Offset>
<AbsDimension x="15" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="QuestPlayerTitleFrameTemplate" virtual="true">
<Size x="500" y="40"/>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentIconTexture" file="Interface\Icons\INV_Misc_Note_02">
<Size x="39" y="39"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentTitleFrameLeft" file="Interface\QuestFrame\UI-QuestItemNameFrame">
<Size x="4" y="40"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentIconTexture" relativePoint="RIGHT">
<Offset x="2" y="0"/>
</Anchor>
</Anchors>
<TexCoords left="0.078125" right="0.1171875" top="0.15625" bottom="0.828125"/>
</Texture>
<Texture name="$parentTitleFrameCenter" file="Interface\QuestFrame\UI-QuestItemNameFrame">
<Size x="200" y="40"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentTitleFrameLeft" relativePoint="RIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
<TexCoords left="0.1171875" right="0.828125" top="0.15625" bottom="0.828125"/>
</Texture>
<Texture file="Interface\QuestFrame\UI-QuestItemNameFrame">
<Size x="11" y="40"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentTitleFrameCenter" relativePoint="RIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
<TexCoords left="0.828125" right="0.9140625" top="0.15625" bottom="0.828125"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parentTitleLabel" inherits="GameFontNormalSmall" justifyH="LEFT" text="REWARD_TITLE">
<Size x="200" y="12"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTitleFrameLeft">
<Offset x="8" y="-9"/>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentTitle" inherits="GameFontHighlight" justifyH="LEFT" justifyV="TOP">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTitleLabel" relativePoint="BOTTOMLEFT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Ui>