You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1296 lines
54 KiB

<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">
<!-- Button templates -->
<Button name="ImmersionRewardSpellCodeTemplate" virtual="true">
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetQuestRewardSpell(self.rewardSpellIndex);
</OnEnter>
<OnClick>
if ( IsModifiedClick("CHATLINK") ) then
ChatEdit_InsertLink(GetQuestSpellLink(self.rewardSpellIndex));
end
</OnClick>
<OnLeave>
GameTooltip:Hide();
ResetCursor();
</OnLeave>
</Scripts>
</Button>
<Button name="ImmersionRewardItemCodeTemplate" virtual="true">
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT", 0, 0);
if (self.objectType == "item") then
GameTooltip:SetQuestItem(self.type, self:GetID());
GameTooltip_ShowCompareItem(GameTooltip);
elseif (self.objectType == "currency") then
GameTooltip:SetQuestCurrency(self.type, self:GetID());
end
CursorUpdate(self);
</OnEnter>
<OnClick>
if ( IsModifiedClick() and self.objectType == "item") then
HandleModifiedItemClick(GetQuestItemLink(self.type, self:GetID()));
else
if ( self.container and self.container.chooseItems and self.type == "choice" ) then
self.container.itemChoice = self:GetID();
self.highlight:SetPoint('TOPLEFT', self, 0, 0);
self.highlight:Show();
self.highlight.InAnim:Stop();
self.highlight.InAnim:Play();
self.InAnim:Stop();
self.InAnim:Play();
end
end
</OnClick>
<OnDoubleClick>
if ( not IsModifiedClick() and self.container and self.container.chooseItems and self.type == "choice" ) then
GetQuestReward(self:GetID());
end
</OnDoubleClick>
<OnLeave>
GameTooltip:Hide();
ResetCursor();
</OnLeave>
<OnUpdate>
CursorOnUpdate(self, elapsed);
</OnUpdate>
</Scripts>
</Button>
<Button name="ImmersionItemButtonTemplate" virtual="true" registerForClicks="LeftButtonUp,RightButtonUp">
<Size x="250" y="54" />
<Layers>
<Layer level="BORDER">
<Texture name="$parentIconTexture" parentKey="Icon">
<Size x="52" y="52" />
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
</Texture>
<FontString name="$parentName" inherits="GameFontHighlight" justifyH="LEFT" parentKey="Name">
<Size x="170" y="36" />
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Icon" relativePoint="RIGHT" x="8" y="0" />
</Anchors>
</FontString>
</Layer>
<Layer level="BACKGROUND">
<Texture name="$parentNameFrame" file="Interface\QuestFrame\UI-QuestItemNameFrame" parentKey="NameFrame">
<Size x="254" y="70" />
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Icon" relativePoint="CENTER" x="-20" y="0" />
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT" parentKey="Count">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon" x="-1" y="1" />
</Anchors>
</FontString>
<Texture name="$parentBorderexture" parentKey="Border" file="Interface\AddOns\Immersion\Textures\Button_Normal">
<Size x="52" y="52" />
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
</Texture>
<MaskTexture parentKey="Mask" file="Interface\AddOns\Immersion\Textures\Mask_Icon" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Icon" relativePoint="TOPLEFT" x="0" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
<MaskedTextures>
<MaskedTexture childKey="Icon"/>
</MaskedTextures>
</MaskTexture>
</Layer>
</Layers>
<Animations>
<AnimationGroup parentKey="InAnim" setToFinalAlpha="true">
<Scale childKey="Icon" startDelay="0" duration="0.35" order="1" fromScaleX="1.15" fromScaleY="1.15" toScaleX="1" toScaleY="1">
<Origin point="CENTER"/>
</Scale>
<Scale childKey="Border" startDelay="0" duration="0.35" order="1" fromScaleX="1.15" fromScaleY="1.15" toScaleX="1" toScaleY="1">
<Origin point="CENTER"/>
</Scale>
</AnimationGroup>
</Animations>
</Button>
<Button name="ImmersionQuestSpellTemplate" hidden="true" virtual="true">
<Size x="250" y="56"/>
<HitRectInsets left="0" right="0" top="0" bottom="14"/>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Icon" name="$parentIconTexture">
<Size x="39" y="39"/>
<Anchors>
<Anchor point="TOPLEFT" x="10" y="-2"/>
</Anchors>
</Texture>
<Texture parentKey="NameFrame" name="$parentNameFrame" file="Interface\QuestFrame\UI-QuestItemNameFrame">
<Size x="250" y="70"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Icon" relativePoint="RIGHT" x="-20" y="0"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentSpellBorder" file="Interface\Spellbook\Spellbook-Parts">
<Size x="70" y="65"/>
<TexCoords left="0.00390625" right="0.27734375" top="0.44140625" bottom="0.69531250"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.Icon" x="2" y="0"/>
</Anchors>
</Texture>
<FontString parentKey="Name" name="$parentName" inherits="GameFontHighlight" justifyH="LEFT" >
<Size x="170" y="36"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.NameFrame" x="30" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
if (self.spellID) then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetSpellByID(self.spellID);
end
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnClick>
if ( IsModifiedClick("CHATLINK") and self.spellID) then
local spellLink = GetSpellLink(self.spellID);
ChatEdit_InsertLink(spellLink);
end
</OnClick>
</Scripts>
</Button>
<Button name="ImmersionTitleButtonTemplate" virtual="true">
<Size x="310" y="64" />
<Layers>
<Layer level="OVERLAY">
<Texture parentKey="Icon" name="$parentGossipIcon">
<Size x="20" y="20"/>
<Anchors>
<Anchor point="LEFT" x="16" y="0"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString parentKey="Label" inherits="DialogButtonHighlightText" justifyH="LEFT">
<Size x="250" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" x="42" y="-16"/>
</Anchors>
</FontString>
<FontString parentKey="Counter" inherits="GameTooltipTextSmall">
<Anchors>
<Anchor point="LEFT" x="8" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame parentKey="Overlay" alpha="1" setAllPoints="true" frameLevel="2"/>
<Frame parentKey="Hilite" alpha="0.01" setAllPoints="true" frameLevel="3"/>
</Frames>
<HighlightTexture parentKey="HighlightTexture" file="Interface\PVPFrame\PvPMegaQueue" alphaMode="ADD">
<TexCoords left="0.00195313" right="0.63867188" top="0.70703125" bottom="0.76757813"/>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-4"/>
<Anchor point="BOTTOMRIGHT" x="0" y="4"/>
</Anchors>
</HighlightTexture>
<Scripts>
<OnLoad>
self:SetFontString(self.Label);
</OnLoad>
</Scripts>
</Button>
<GameTooltip name="ImmersionItemTooltipTemplate" inherits="GameTooltipTemplate" virtual="true" hidden="true">
<Frames>
<Frame parentKey="Hilite" alpha="0.01" setAllPoints="true"/>
<Frame parentKey="Icon">
<Size x="70" y="65"/>
<Anchors>
<Anchor point="TOPRIGHT" x="16" y="10"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="Texture">
<Size x="34" y="34"/>
<Anchors>
<Anchor point="CENTER" x="2" y="0"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="Border" file="Interface\Spellbook\Spellbook-Parts" setAllPoints="true">
<TexCoords left="0.27734375" right="0.0039062" top="0.44140625" bottom="0.69531250"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetFrameLevel(10);
self:SetScale(0.75);
</OnLoad>
</Scripts>
</Frame>
<Button parentKey="Button" registerForClicks="LeftButtonUp,RightButtonUp">
<HighlightTexture parentKey="HighlightTexture" file="Interface\PVPFrame\PvPMegaQueue" alphaMode="ADD" alpha="0.25">
<TexCoords left="0.00195313" right="0.63867188" top="0.70703125" bottom="0.76757813"/>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-4"/>
<Anchor point="BOTTOMRIGHT" x="0" y="4"/>
</Anchors>
</HighlightTexture>
</Button>
</Frames>
<Scripts>
<OnLoad inherit="append">
self.shoppingTooltips = GameTooltip.shoppingTooltips;
if ( self.SetBackdropBorderColor ) then
self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
elseif ( self.NineSlice and self.NineSlice.SetBorderColor ) then
self.NineSlice:SetBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
end
if ( self.SetBackdropColor ) then
self:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
elseif ( self.NineSlice and self.NineSlice.SetCenterColor ) then
self.NineSlice:SetCenterColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
end
</OnLoad>
<OnShow>
-- Readjust tooltip size to fit the icon
C_Timer.After(0, function()
local width, height = self:GetSize()
self:SetSize(width + 30, height + 4)
end)
</OnShow>
</Scripts>
</GameTooltip>
<!-- Main frame -->
<Frame name="ImmersionFrame" parent="UIParent" hidden="true" frameStrata="HIGH">
<Frames>
<Frame parentKey="Inspector" hidden="true">
<Size x="1" y="1"/>
<Anchors>
<Anchor point="CENTER" relativeTo="UIParent" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Background">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="UIParent" />
<Anchor point="BOTTOMRIGHT" relativeTo="UIParent" />
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame parentKey="Choices">
<Size x="1" y="1"/>
<Anchors>
<Anchor point="TOP"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString parentKey="Text" inherits="Fancy22Font" justifyH="LEFT" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
<Color r="1" g=".82" b="0"/>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame parentKey="Extras">
<Size x="1" y="1"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Choices" relativePoint="BOTTOM" x="0" y="-8"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString parentKey="Text" inherits="Fancy22Font" justifyH="LEFT" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
<Color r="1" g=".82" b="0"/>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
</Frame>
<Frame parentKey="TitleButtons" useParentLevel="true">
<Size x="300" y="0"/>
<Scripts>
<OnLoad>
self.Buttons = {};
self.Active = {};
self.idx = 1;
</OnLoad>
</Scripts>
</Frame>
<Button parentKey="TalkBox" toplevel="true" frameStrata="HIGH" frameLevel="1">
<Size x="570" y="155"/>
<Anchors>
<Anchor point="BOTTOM" relativeKey="$parent.$parent" relativePoint="BOTTOM" x="0" y="150"/>
</Anchors>
<Frames>
<Frame parentKey="Hilite" useParentLevel="true" alpha="0.01">
<Anchors>
<Anchor point="TOPLEFT" x="8" y="-8"/>
<Anchor point="BOTTOMRIGHT" x="-8" y="8"/>
</Anchors>
</Frame>
<Frame parentKey="Elements" useParentLevel="true">
<Size x="570" y="1"/>
<Anchors>
<Anchor point="TOP" relativeKey="$parent" relativePoint="BOTTOM" x="0" y="8"/>
</Anchors>
<Scripts>
<OnLoad>
self.Active = {};
</OnLoad>
</Scripts>
<Frames>
<Frame parentKey="Content" name="ImmersionContentFrame">
<Size x="570" y="403"/>
<Anchors>
<Anchor point="TOPLEFT" x="24" y="-16"/>
</Anchors>
<Frames>
<Frame parentKey="SealFrame">
<Size x="257" y="78"/>
<Layers>
<Layer level="ARTWORK">
<FontString parentKey="Text" inherits="QuestFont_Huge" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" x="5" y="-12"/>
</Anchors>
</FontString>
<Texture parentKey="Texture">
<Anchors>
<Anchor point="TOPLEFT" x="160" y="-6"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame parentKey="SpecialObjectivesFrame" hidden="true">
<Size x="285" y="10"/>
<Anchors>
<Anchor point="CENTER" />
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString parentKey="SpellObjectiveLearnLabel" inherits="QuestFontNormalSmall" justifyH="LEFT" text="LEARN_SPELL_OBJECTIVE"/>
</Layer>
</Layers>
<Frames>
<Button parentKey="SpellObjectiveFrame" inherits="ImmersionQuestSpellTemplate" hidden="true"/>
</Frames>
</Frame>
<Frame parentKey="RewardsFrame" hidden="true">
<Size x="285" y="10" />
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString parentKey="Header" inherits="QuestTitleFont" text="QUEST_REWARDS" justifyH="LEFT">
<Size x="285" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" y="-4"/>
</Anchors>
</FontString>
<FontString parentKey="ItemChooseText" inherits="SystemFont_Shadow_Med2" text="REWARD_CHOICES" hidden="true" justifyH="LEFT">
<Size x="285" y="0"/>
</FontString>
<FontString parentKey="ItemReceiveText" inherits="SystemFont_Shadow_Med2" hidden="true" justifyH="LEFT" />
<FontString parentKey="PlayerTitleText" inherits="SystemFont_Shadow_Med2" text="REWARD_TITLE" hidden="true" justifyH="LEFT" />
</Layer>
</Layers>
<Frames>
<Button parentKey="HonorFrame" inherits="ImmersionItemButtonTemplate" hidden="true"/>
<Button parentArray="Buttons" name="ImmersionQuestInfoItem1" inherits="ImmersionItemButtonTemplate, ImmersionRewardItemCodeTemplate" hidden="true"/>
<Frame parentKey="MoneyFrame" name="$parentMoneyFrame" inherits="MoneyFrameTemplate">
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.ItemReceiveText" relativePoint="RIGHT" x="15" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
MoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "STATIC");
</OnLoad>
</Scripts>
</Frame>
<Button parentKey="SkillPointFrame" inherits="ImmersionItemButtonTemplate">
<Layers>
<Layer level="OVERLAY">
<Texture parentKey="CircleBackground" file="Interface\QuestFrame\SkillUp-BG">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon" x="12" y="-6"/>
</Anchors>
</Texture>
<Texture parentKey="CircleBackgroundGlow" file="Interface\QuestFrame\SkillUp-Glow" alphaMode="ADD" alpha="0.3">
<Size x="64" y="64"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.CircleBackground"/>
</Anchors>
</Texture>
<FontString parentKey="ValueText" inherits="GameFontNormalLarge" justifyH="LEFT">
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.CircleBackground" relativePoint="CENTER" x="3"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
if (self.tooltip) then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(self.tooltip, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
end
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Frame parentKey="XPFrame">
<Size x="280" y="20"/>
<Layers>
<Layer level="BACKGROUND">
<FontString parentKey="ReceiveText" inherits="QuestFont" text="EXPERIENCE_COLON">
<Anchors>
<Anchor point="LEFT" x="0" y="0"/>
</Anchors>
</FontString>
<FontString parentKey="ValueText" inherits="NumberFontNormalLarge" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.ReceiveText" relativePoint="RIGHT" x="15" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Button parentKey="ArtifactXPFrame" inherits="ImmersionItemButtonTemplate" hidden="true">
<Layers>
<Layer level="BORDER">
<Texture parentKey="Overlay" file="Interface\Artifacts\ArtifactPower-QuestBorder">
<Size x="64" y="64" />
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.Icon" />
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(ARTIFACT_XP_REWARD, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, nil, true);
</OnEnter>
<OnLeave function="GameTooltip_Hide" />
</Scripts>
</Button>
<Frame parentKey="TitleFrame">
<Size x="500" y="39"/>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="Icon" file="Interface\Icons\INV_Misc_Note_02">
<Size x="39" y="39"/>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
</Texture>
<Texture parentKey="FrameLeft" file="Interface\QuestFrame\UI-QuestItemNameFrame">
<Size x="4" y="40"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Icon" relativePoint="RIGHT" x="2" y="0"/>
</Anchors>
<TexCoords left="0.078125" right="0.1171875" top="0.15625" bottom="0.828125"/>
</Texture>
<Texture parentKey="FrameCenter" file="Interface\QuestFrame\UI-QuestItemNameFrame">
<Size x="200" y="40"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.FrameLeft" relativePoint="RIGHT" x="0" y="0"/>
</Anchors>
<TexCoords left="0.1171875" right="0.828125" top="0.15625" bottom="0.828125"/>
</Texture>
<Texture parentKey="FrameRight" file="Interface\QuestFrame\UI-QuestItemNameFrame">
<Size x="11" y="40"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.FrameCenter" relativePoint="RIGHT" x="0" y="0"/>
</Anchors>
<TexCoords left="0.828125" right="0.9140625" top="0.15625" bottom="0.828125"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString parentKey="Name" inherits="GameFontHighlight" justifyH="LEFT">
<Size x="200" y="0"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.FrameLeft" x="8" y="-2"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame parentKey="MoneyIcon" hidden="true">
<Size x="20" y="18"/>
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="MoneyIcon" atlas="bags-junkcoin" setAllPoints="true"/>
</Layer>
</Layers>
<Scripts>
<OnLoad function="RaiseFrameLevel"/>
</Scripts>
</Frame>
<Frame parentKey="ItemHighlight" hidden="true">
<Size x="202" y="48"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\AddOns\Immersion\Textures\Button_Hilite" alphaMode="ADD" parentKey="Icon">
<Size x="52" y="52"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\PVPFrame\PvPMegaQueue" alphaMode="ADD" parentKey="NameTag">
<Size x="182" y="44"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Icon" relativePoint="RIGHT" x="-8" y="0"/>
</Anchors>
<TexCoords left="0.00195313" right="0.63867188" top="0.70703125" bottom="0.76757813"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture parentKey="TextSheen" hidden="false" alpha="0.01" alphaMode="ADD" atlas="TalkingHeads-Glow-TextSheen">
<Size x="180" y="50"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Icon" relativePoint="RIGHT" x="-4" y="0"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad function="RaiseFrameLevel"/>
</Scripts>
<Animations>
<AnimationGroup parentKey="InAnim" setToFinalAlpha="true">
<Alpha childKey="TextSheen" startDelay="0" duration="0.35" order="1" fromAlpha="0" toAlpha="0.7"/>
<Scale childKey="TextSheen" startDelay="0" duration="0.35" order="1" fromScaleX="0.25" fromScaleY="1" toScaleX="1" toScaleY="1">
<Origin point="LEFT"/>
</Scale>
<Alpha childKey="TextSheen" startDelay="0.5" duration="0.35" order="1" fromAlpha="0.7" toAlpha="0"/>
<Scale childKey="Icon" startDelay="0" duration="0.35" order="1" fromScaleX="1.15" fromScaleY="1.15" toScaleX="1" toScaleY="1">
<Origin point="CENTER"/>
</Scale>
</AnimationGroup>
</Animations>
</Frame>
</Frames>
<Scripts>
<OnLoad>
self.buttonTemplate = "ImmersionItemButtonTemplate, ImmersionRewardItemCodeTemplate";
self.spellRewardPool = CreateFramePool("BUTTON", self, "ImmersionQuestSpellTemplate, ImmersionRewardSpellCodeTemplate");
self.followerRewardPool = CreateFramePool("BUTTON", self, "LargeQuestInfoRewardFollowerTemplate");
self.spellHeaderPool = CreateFontStringPool(self, "BACKGROUND", 0, "QuestInfoSpellHeaderTemplate");
ImmersionQuestInfoItem1.container = self:GetParent():GetParent()
ImmersionQuestInfoItem1.highlight = self.ItemHighlight
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Layers>
<Layer level="BACKGROUND">
<FontString parentKey="ObjectivesHeader" inherits="QuestTitleFont" text="QUEST_OBJECTIVES" justifyH="LEFT" hidden="true">
<Size x="285" y="0"/>
</FontString>
<FontString parentKey="ObjectivesText" inherits="SystemFont_Shadow_Med2" justifyH="LEFT" hidden="true">
<Size x="285" y="0"/>
</FontString>
<FontString parentKey="GroupSize" inherits="SystemFont_Shadow_Med2" hidden="true"/>
<FontString parentKey="RewardText" inherits="SystemFont_Shadow_Med2" justifyH="LEFT" hidden="true">
<Size x="285" y="0"/>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame parentKey="Progress" hidden="true">
<Size x="570" y="403"/>
<Anchors>
<Anchor point="TOPLEFT" x="32" y="-32"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString parentKey="ReqText" inherits="QuestTitleFont" text="TURN_IN_ITEMS" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
</FontString>
<FontString parentKey="MoneyText" inherits="QuestFontNormalSmall" text="REQUIRED_MONEY" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.ReqText" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame parentKey="MoneyFrame" name="$parentMoneyFrame" inherits="MoneyFrameTemplate">
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.MoneyText" relativePoint="RIGHT" x="10" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "STATIC");
</OnLoad>
</Scripts>
</Frame>
<Button parentArray="Buttons" name="ImmersionProgressItem1" inherits="ImmersionItemButtonTemplate, ImmersionRewardItemCodeTemplate" hidden="true"/>
</Frames>
<Scripts>
<OnLoad>
self.buttonTemplate = "ImmersionItemButtonTemplate, ImmersionRewardItemCodeTemplate";
ImmersionProgressItem1.container = self:GetParent():GetParent()
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Frame>
<Frame parentKey="NameFrame" setAllPoints="true" useParentLevel="true">
<Layers>
<Layer level="ARTWORK">
<FontString parentKey="Name" inherits="Fancy22Font" alpha="1" justifyH="LEFT">
<Anchors>
<Anchor point="RIGHT" x="-60" y="0"/>
</Anchors>
<Color r="1" g=".82" b="0"/>
</FontString>
</Layer>
</Layers>
<Animations>
<AnimationGroup parentKey="FadeIn" setToFinalAlpha="true">
<Alpha childKey="Name" startDelay="0" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/>
</AnimationGroup>
<AnimationGroup parentKey="FadeOut" setToFinalAlpha="true">
<Alpha childKey="Name" startDelay="0" duration="0.25" order="1" fromAlpha="1" toAlpha="0"/>
</AnimationGroup>
</Animations>
</Frame>
<Frame parentKey="TextFrame" setAllPoints="true" useParentLevel="true">
<Layers>
<Layer level="ARTWORK">
<FontString parentKey="Text" inherits="GameFontHighlightLarge" alpha="1" justifyH="LEFT" justifyV="TOP" mixin="ShrinkUntilTruncateFontStringMixin">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.$parent.NameFrame.Name" relativePoint="BOTTOMLEFT" x="0" y="-3"/>
<Anchor point="BOTTOMRIGHT" x="-42" y="12"/>
</Anchors>
<Color r="1" g="1" b="1"/>
</FontString>
<FontString parentKey="SpeechProgress" inherits="Fancy22Font" justifyH="RIGHT" justifyV="BOTTOM">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.$parent.MainFrame" relativePoint="BOTTOMRIGHT" x="-22" y="22"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Animations>
<AnimationGroup parentKey="FadeIn" setToFinalAlpha="true">
<Alpha childKey="Text" startDelay="0" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="SpeechProgress" startDelay="0" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/>
</AnimationGroup>
<AnimationGroup parentKey="FadeOut" setToFinalAlpha="true">
<Alpha childKey="Text" startDelay="0" duration="0.25" order="1" fromAlpha="1" toAlpha="0"/>
<Alpha childKey="SpeechProgress" startDelay="0" duration="0.25" order="1" fromAlpha="1" toAlpha="0"/>
</AnimationGroup>
</Animations>
<Frames>
</Frames>
</Frame>
<Frame parentKey="BackgroundFrame" setAllPoints="true" useParentLevel="true">
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="TextBackground" hidden="false" atlas="TalkingHeads-TextBackground" useAtlasSize="true"/>
</Layer>
<Layer level="BACKGROUND">
<Texture parentKey="SolidBackground" hidden="true" atlas="TalkingHeads-TextBackground" useAtlasSize="true"/>
</Layer>
<Layer level="ARTWORK">
<Texture parentKey="OverlayKit" hidden="true">
<Anchors>
<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
</Texture>
<MaskTexture parentKey="Mask" setAllPoints="true" file="Interface\AddOns\Immersion\Textures\Mask_BG" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
<MaskedTextures>
<MaskedTexture childKey="OverlayKit"/>
</MaskedTextures>
</MaskTexture>
</Layer>
</Layers>
<Animations>
<AnimationGroup parentKey="FadeIn" setToFinalAlpha="true">
<Alpha childKey="TextBackground" startDelay="0.4" duration="0.75" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="SolidBackground" startDelay="0.4" duration="0.75" order="1" fromAlpha="0" toAlpha="1"/>
</AnimationGroup>
</Animations>
<!-- <Scripts> Keep in case of implementing skins:
Default 1, 156
Alliance 158, 313
Horde 315, 470
Neutral 472, 627
Custom1 629, 784
Custom2 786, 941
<OnLoad>
self.TextBackground:SetTexture([[Interface\AddOns\Immersion\Textures\TalkingHeads.blp]]);
self.TextBackground:SetTexCoord(0.000976562, 0.557617, 786/1024, 941/1024);
</OnLoad>
</Scripts> -->
</Frame>
<Frame parentKey="PortraitFrame" setAllPoints="true">
<Layers>
<Layer level="OVERLAY">
<Texture parentKey="Portrait" hidden="false" alpha="1" alphaMode="BLEND" >
<Anchors>
<Anchor point="TOPLEFT" x="5" y="-6"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Animations>
<AnimationGroup parentKey="FadeIn" setToFinalAlpha="true">
<Alpha childKey="Portrait" duration="0.75" order="1" fromAlpha="0" toAlpha="1"/>
</AnimationGroup>
</Animations>
<Scripts>
<OnLoad>
self.Portrait:SetAtlas(ImmersionAPI:GetPortraitAtlas(), true);
</OnLoad>
</Scripts>
</Frame>
<Frame parentKey="MainFrame" setAllPoints="true" useParentLevel="true">
<Layers>
<Layer level="OVERLAY">
<Texture parentKey="Indicator">
<Anchors>
<Anchor point="TOPRIGHT" x="-42" y="-20"/>
</Anchors>
</Texture>
<Texture parentKey="Sheen" hidden="false" alpha="0.01" alphaMode="ADD" atlas="TalkingHeads-Glow-Sheen" useAtlasSize="true">
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.$parent.NameFrame.Name" x="-48"/>
</Anchors>
</Texture>
<Texture parentKey="TextSheen" hidden="false" alpha="0.01" alphaMode="ADD" atlas="TalkingHeads-Glow-TextSheen" useAtlasSize="true">
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.$parent.TextFrame.Text" x="-48" y="16"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<PlayerModel parentKey="Model" alpha="1">
<Size x="115" y="115"/>
<Anchors>
<Anchor point="TOPLEFT" x="21" y="-21"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="PortraitBG" hidden="false" alphaMode="BLEND" atlas="TalkingHeads-PortraitBg" useAtlasSize="true">
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK" textureSubLevel="-2">
<Texture parentKey="ModelShadow" atlas="Artifacts-BG-Shadow">
<Size x="115" y="115"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</PlayerModel>
<Frame parentKey="Overlay">
<Size x="96" y="96"/>
<Anchors>
<Anchor point="TOPLEFT" x="21" y="-17"/>
</Anchors>
<Layers>
<Layer level="OVERLAY" textureSubLevel="1">
<Texture parentKey="Glow_TopBar" hidden="false" alpha="0.01" alphaMode="ADD" atlas="TalkingHeads-Glow-TopBarGlow" useAtlasSize="true">
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.$parent.$parent.PortraitFrame.Portrait" relativePoint="TOP" x="0" y="-11"/>
</Anchors>
</Texture>
<Texture parentKey="Glow_LeftBar" hidden="false" alpha="0.01" alphaMode="ADD" atlas="TalkingHeads-Glow-SideBarGlow" useAtlasSize="true">
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.$parent.$parent.PortraitFrame.Portrait" relativePoint="LEFT" x="11" y="25"/>
</Anchors>
</Texture>
<Texture parentKey="Glow_RightBar" hidden="false" alpha="0.01" alphaMode="ADD" atlas="TalkingHeads-Glow-SideBarGlow" useAtlasSize="true">
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.$parent.$parent.PortraitFrame.Portrait" relativePoint="RIGHT" x="-11" y="25"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Button parentKey="CloseButton" inherits="UIPanelCloseButtonNoScripts">
<Anchors>
<Anchor point="TOPRIGHT" x="-12" y="-12"/>
</Anchors>
<Scripts>
<OnClick>
local mainframe = self:GetParent():GetParent():GetParent();
mainframe:ClearToasts();
mainframe:ForceClose();
</OnClick>
</Scripts>
</Button>
</Frames>
<Animations>
<AnimationGroup parentKey="InAnim" setToFinalAlpha="true">
<Alpha childKey="Overlay.Glow_TopBar" startDelay="0.15" duration="0.25" order="1" fromAlpha="0" toAlpha="0.7"/>
<Scale childKey="Overlay.Glow_TopBar" startDelay="0.15" duration="0.25" order="1" fromScaleX="0.25" fromScaleY="1" toScaleX="1.5" toScaleY="1"/>
<Alpha childKey="Overlay.Glow_TopBar" startDelay="0.4" duration="0.5" order="1" fromAlpha="0.7" toAlpha="0"/>
<Alpha childKey="Overlay.Glow_LeftBar" startDelay="0.35" duration="0.25" order="1" fromAlpha="0" toAlpha="0.7"/>
<Translation childKey="Overlay.Glow_LeftBar" startDelay="0.35" duration="0.8" order="1" offsetX="0" offsetY="-10"/>
<Scale childKey="Overlay.Glow_LeftBar" startDelay="0.35" duration="0.7" order="1" fromScaleX="1" fromScaleY="0.5" toScaleX="1" toScaleY="1.6">
<Origin point="TOP"/>
</Scale>
<Alpha childKey="Overlay.Glow_LeftBar" startDelay="0.85" duration="0.25" order="1" fromAlpha="0.7" toAlpha="0"/>
<Alpha childKey="Overlay.Glow_RightBar" startDelay="0.35" duration="0.25" order="1" fromAlpha="0" toAlpha="0.7"/>
<Translation childKey="Overlay.Glow_RightBar" startDelay="0.35" duration="0.8" order="1" offsetX="0" offsetY="-10"/>
<Scale childKey="Overlay.Glow_RightBar" startDelay="0.35" duration="0.7" order="1" fromScaleX="1" fromScaleY="0.5" toScaleX="1" toScaleY="1.6">
<Origin point="TOP"/>
</Scale>
<Alpha childKey="Overlay.Glow_RightBar" startDelay="0.95" duration="0.25" order="1" fromAlpha="0.7" toAlpha="0"/>
<Alpha childKey="Sheen" startDelay="0.5" duration="0.5" order="1" fromAlpha="0" toAlpha="0.7"/>
<Scale childKey="Sheen" startDelay="0.5" duration="0.25" order="1" fromScaleX="0.25" fromScaleY="1" toScaleX="1" toScaleY="1">
<Origin point="LEFT"/>
</Scale>
<Alpha childKey="Sheen" startDelay="1" duration="0.5" order="1" fromAlpha="0.7" toAlpha="0"/>
<Alpha childKey="TextSheen" startDelay="0.75" duration="0.5" order="1" fromAlpha="0" toAlpha="0.7"/>
<Scale childKey="TextSheen" startDelay="0.75" duration="0.25" order="1" fromScaleX="0.25" fromScaleY="1" toScaleX="1" toScaleY="1">
<Origin point="LEFT"/>
</Scale>
<Alpha childKey="TextSheen" startDelay="1.25" duration="0.5" order="1" fromAlpha="0.7" toAlpha="0"/>
<Alpha childKey="Model" duration="0.75" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="Model.PortraitBg" duration="0.75" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="Indicator" duration="0.75" order="1" fromAlpha="0" toAlpha="1"/>
</AnimationGroup>
<AnimationGroup parentKey="SheenOnly" setToFinalAlpha="true">
<Alpha childKey="Sheen" startDelay="0" duration="0.5" order="1" fromAlpha="0" toAlpha="0.7"/>
<Scale childKey="Sheen" startDelay="0" duration="0.25" order="1" fromScaleX="0.25" fromScaleY="1" toScaleX="1" toScaleY="1">
<Origin point="LEFT"/>
</Scale>
<Alpha childKey="Sheen" startDelay="0.5" duration="0.5" order="1" fromAlpha="0.7" toAlpha="0"/>
<Alpha childKey="TextSheen" startDelay="0.25" duration="0.5" order="1" fromAlpha="0" toAlpha="0.7"/>
<Scale childKey="TextSheen" startDelay="0.25" duration="0.25" order="1" fromScaleX="0.25" fromScaleY="1" toScaleX="1" toScaleY="1">
<Origin point="LEFT"/>
</Scale>
<Alpha childKey="TextSheen" startDelay="0.75" duration="0.5" order="1" fromAlpha="0.7" toAlpha="0"/>
</AnimationGroup>
</Animations>
</Frame>
<StatusBar parentKey="ProgressionBar" hidden="true">
<Size x="530" y="4"/>
<Anchors>
<Anchor point="BOTTOM" x="0" y="4"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\Common\friendship-parts"> <!-- left edge -->
<Size x="20" y="15"/>
<Anchors>
<Anchor point="LEFT" x="-1" y="2"/>
</Anchors>
<TexCoords left="0.53515625" right="0.4" top="0.01562500" bottom="0.60937500"/>
</Texture>
<Texture file="Interface\Common\friendship-parts"> <!-- right edge -->
<Size x="20" y="15"/>
<Anchors>
<Anchor point="RIGHT" x="1" y="2"/>
</Anchors>
<TexCoords left="0.4" right="0.53515625" top="0.01562500" bottom="0.60937500"/>
</Texture>
<Texture file="Interface\Common\friendship-parts"> <!-- middle -->
<Size x="0" y="15"/>
<Anchors>
<Anchor point="LEFT" x="19" y="2"/>
<Anchor point="RIGHT" x="-19" y="2"/>
</Anchors>
<TexCoords left="0.3" right="0.4" top="0.01562500" bottom="0.60937500"/>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture setAllPoints="true"> <!-- bar fill background -->
<Color r="0" g="0" b="0" a="0.5"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnShow>
self:SetAlpha(1);
if (not self.Text:IsSequence()) then
self:Hide();
end
</OnShow>
<OnUpdate>
self.throttle = self.throttle + elapsed;
if self.throttle > 0.015 then
local value = self.Text:GetCurrentProgress();
local modifiedValue = value or 1;
self:SetValue(modifiedValue);
if self.Text:GetNumRemaining() > 1 then
self:SetAlpha(1);
else
self:SetAlpha(1 - (modifiedValue)^8);
end
if not value then
self:Hide();
end
self.throttle = 0;
end
</OnUpdate>
<OnLoad>
self.throttle = 0;
self.Text = self:GetParent().TextFrame.Text;
self:SetStatusBarTexture(1, 1, 1, "BORDER", -1);
local minColor = CreateColor(8/255, 93/255, 72/255, 1);
local maxColor = CreateColor(11/255, 136/255, 105/255, 1);
ImmersionAPI.SetGradient(self:GetStatusBarTexture(), 'VERTICAL', minColor, maxColor);
self:SetStatusBarColor(1, 0.8, 0);
self:SetMinMaxValues(0, 1);
self:SetFrameLevel(self:GetFrameLevel() - 1)
</OnLoad>
</Scripts>
</StatusBar>
<StatusBar parentKey="ReputationBar" hidden="true">
<Size x="230" y="14"/>
<Anchors>
<Anchor point="TOPLEFT" x="32" y="0"/>
</Anchors>
<HitRectInsets>
<AbsInset left="-25" right="0" top="-15" bottom="0"/>
</HitRectInsets>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\Common\friendship-parts"> <!-- the bar itself -->
<Size x="267" y="38"/>
<Anchors>
<Anchor point="TOPLEFT" x="-31" y="18"/>
</Anchors>
<TexCoords left="0.01367188" right="0.53515625" top="0.01562500" bottom="0.60937500"/>
</Texture>
</Layer>
<Layer level="ARTWORK" textureSubLevel="0">
<Texture file="Interface\Common\friendship-heart" parentKey="icon">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPLEFT" x="-27" y="16"/>
</Anchors>
</Texture>
<MaskTexture parentKey="FriendshipIconMask" file="Interface\CharacterFrame\TempPortraitAlphaMask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.icon" x="1" y="-1"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.icon" x="-1" y="1"/>
</Anchors>
<MaskedTextures>
<MaskedTexture childKey="icon"/>
</MaskedTextures>
</MaskTexture>
</Layer>
<Layer level="ARTWORK" textureSubLevel="1">
<Texture parentKey="BarCircle" file="Interface\QuestFrame\Friendship"> <!-- the bar's ring -->
<Size x="54" y="40"/>
<Anchors>
<Anchor point="TOPLEFT" x="-32" y="19"/>
</Anchors>
<TexCoords left="0.0175781" right="0.123047" top="0.015625" bottom="0.640625"/>
</Texture>
<Texture parentKey="Notch1" file="Interface\Common\friendship-parts">
<Size x="4" y="17"/>
<Anchors>
<Anchor point="TOPLEFT" x="43" y="1"/>
</Anchors>
<TexCoords left="0.00195313" right="0.00976563" top="0.01562500" bottom="0.28125000"/>
</Texture>
<Texture parentKey="Notch2" file="Interface\Common\friendship-parts">
<Size x="4" y="17"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Notch1" x="47" y="0"/>
</Anchors>
<TexCoords left="0.00195313" right="0.00976563" top="0.01562500" bottom="0.28125000"/>
</Texture>
<Texture parentKey="Notch3" file="Interface\Common\friendship-parts">
<Size x="4" y="17"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Notch2" x="47" y="0"/>
</Anchors>
<TexCoords left="0.00195313" right="0.00976563" top="0.01562500" bottom="0.28125000"/>
</Texture>
<Texture parentKey="Notch4" file="Interface\Common\friendship-parts">
<Size x="4" y="17"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Notch3" x="47" y="0"/>
</Anchors>
<TexCoords left="0.00195313" right="0.00976563" top="0.01562500" bottom="0.28125000"/>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture setAllPoints="true"> <!-- bar fill background -->
<Color r="0" g="0" b="0" a="0.5"/>
</Texture>
</Layer>
</Layers>
</StatusBar>
</Frames>
</Button>
</Frames>
</Frame>
<!--
<Button name="ImmersionToast" parent="UIParent" hidden="true" frameStrata="LOW" alpha="0">
<Size x="235" y="25"/>
<Anchors>
<Anchor point="LEFT" x="500" y="-100"/>
</Anchors>
<Frames>
<Frame parentKey="Header" setAllPoints="true" frameLevel="1">
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="IconBorder">
<Size x="88" y="88"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="12" y="-16"/>
</Anchors>
</Texture>
<FontString parentKey="Title" inherits="GameFontNormalMed2" justifyH="LEFT">
<Size x="235" y="16"/>
<Anchors>
<Anchor point="LEFT" x="4" y="-1"/>
</Anchors>
</FontString>
<Texture parentKey="Background" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="true">
<Anchors>
<Anchor point="TOPLEFT" x="-29" y="14"/>
</Anchors>
</Texture>
<Texture parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true">
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Background" x="-50" y="18"/>
</Anchors>
</Texture>
<Texture parentKey="SoftGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_Glow" useAtlasSize="true">
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.Background" relativePoint="LEFT" x="20" y="20"/>
</Anchors>
</Texture>
<Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true">
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.SoftGlow"/>
</Anchors>
</Texture>
<Texture parentKey="LineSheen" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst">
<Size x="60" y="15"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.SoftGlow" x="0" y="-13"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="IconBorderSheen" alphaMode="ADD" alpha="0">
<Size x="88" y="88"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.IconBorder"/>
</Anchors>
</Texture>
</Layer>
<Layer level="BACKGROUND" textureSubLevel="1" alpha="0">
<Texture parentKey="TextBackground" file="Interface\LevelUp\MinorTalents.blp">
<Anchors>
<Anchor point="TOPLEFT" x="-80" y="-22"/>
<Anchor point="TOPRIGHT" x="100" y="-22"/>
</Anchors>
<TexCoords left="0.011953125" right="0.808359375" bottom="0.6660" top="0.794921875"/>
</Texture>
</Layer>
</Layers>
<Animations>
<AnimationGroup parentKey="HeaderOpenAnim" setToFinalAlpha="true">
<Alpha childKey="IconBorderSheen" duration="0.15" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="IconBorderSheen" startDelay="0.25" duration="1" order="1" fromAlpha="1" toAlpha="0"/>
<Rotation childKey="IconBorderSheen" smoothing="OUT" duration="0.6" order="1" degrees="-360"/>
<Alpha childKey="IconBorder" startDelay="0" duration="0" order="1" fromAlpha="0" toAlpha="0"/>
<Alpha childKey="IconBorder" startDelay="0.4" duration="0.15" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="TextBackground" duration="0.15" order="1" fromAlpha="0" toAlpha="0.75"/>
<Alpha childKey="TextBackground" startDelay="0.25" duration="0.65" order="1" fromAlpha="0.75" toAlpha="0.5"/>
<Alpha childKey="Background" startDelay="0" duration="0" order="1" fromAlpha="0" toAlpha="0"/>
<Alpha childKey="Background" startDelay="0.25" duration="0.5" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="LineGlow" duration="0.15" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="LineGlow" startDelay="0.25" duration="0.65" order="1" fromAlpha="1" toAlpha="0"/>
<Scale childKey="LineGlow" duration="0.15" order="1" fromScaleX="0.1" fromScaleY="1.5" toScaleX="2" toScaleY="1.5">
<Origin point="CENTER" x="-50" y="0"/>
</Scale>
<Translation childKey="LineGlow" duration="0.75" order="1" offsetX="50" offsetY="0"/>
<Alpha childKey="SoftGlow" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="SoftGlow" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/>
<Scale childKey="SoftGlow" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="0.8" toScaleY="0.8"/>
<Alpha childKey="StarBurst" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/>
<Alpha childKey="StarBurst" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/>
<Scale childKey="StarBurst" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="1" toScaleY="1"/>
<Alpha childKey="LineSheen" startDelay="0.15" duration="0.5" order="1" fromAlpha="0" toAlpha="0.75"/>
<Alpha childKey="LineSheen" startDelay="0.75" duration="0.5" order="1" fromAlpha="0.75" toAlpha="0"/>
<Translation childKey="LineSheen" startDelay="0.15" duration="1.5" order="1" offsetX="250" offsetY="0"/>
</AnimationGroup>
</Animations>
</Frame>
<Frame parentKey="Content" setAllPoints="true" frameLevel="2">
<Layers>
<Layer level="ARTWORK">
<FontString parentKey="Subtitle" inherits="GameFontHighlightLarge" alpha="1" justifyH="LEFT" justifyV="TOP">
<Size x="280"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent" relativePoint="BOTTOMLEFT" x="0" y="-8"/>
</Anchors>
<Color r="1" g="1" b="1"/>
</FontString>
<FontString parentKey="Text" inherits="GameFontHighlightLarge" alpha="1" justifyH="LEFT" justifyV="TOP" mixin="ShrinkUntilTruncateFontStringMixin">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Subtitle" relativePoint="BOTTOMLEFT" x="0" y="-3"/>
<Anchor point="TOPRIGHT" relativeKey="$parent.Subtitle" relativePoint="TOPRIGHT" x="0" y="-3"/>
</Anchors>
<Color r="1" g="1" b="1"/>
</FontString>
<Texture parentKey="ToastType">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent.Text" relativePoint="TOPLEFT" x="-4" y="0"/>
</Anchors>
</Texture>
<Texture parentKey="CacheType">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeKey="$parent.Subtitle" relativePoint="TOPLEFT" x="-4" y="0"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Button parentKey="CloseButton">
<Size x="30" y="30"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.Header.Title" relativePoint="RIGHT" x="0" y="4"/>
</Anchors>
<Scripts>
<OnClick>
self:GetParent():OnCloseButtonClicked();
</OnClick>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_TOPLEFT");
GameTooltip:SetText(NEXT, nil, nil, nil, nil, true);
GameTooltip:Show();
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-LinkProfession-Up"/>
<PushedTexture file="Interface\Buttons\UI-LinkProfession-Down"/>
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
</Button>
<Button parentKey="QuestButton">
<Size x="30" y="30"/>
<Anchors>
<Anchor point="CENTER" relativeKey="$parent.Content.CacheType" x="0" y="-2"/>
</Anchors>
<Scripts>
<OnClick>
self:GetParent():OnQuestButtonClicked();
</OnClick>
<OnEnter>
self:GetParent():OnQuestButtonMouseover();
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalTexture file="Interface\Buttons\AdventureGuideMicrobuttonAlert"/>
<PushedTexture file="Interface\Buttons\AdventureGuideMicrobuttonAlert"/>
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
</Button>
</Frames>
<Scripts>
<OnLoad>
self.PlayAnimations = function(self) self.Header.HeaderOpenAnim:Play(); end;
self.SetDurationMultiplier = function(self, multiplier)
for _, animation in ipairs({self.Header.HeaderOpenAnim:GetAnimations()}) do
animation:SetDuration(animation:GetDuration() * multiplier);
end
end
self.IconPool = CreateTexturePool(self, 'BACKGROUND');
self.Text = self.Content.Text;
self.Subtitle = self.Content.Subtitle;
self.ToastType = self.Content.ToastType;
self.CacheType = self.Content.CacheType;
self.IconBorder = self.Header.IconBorder;
local iconBorder, iconBorderSheen = self.IconBorder, self.Header.IconBorderSheen;
local texture, _, _, left, right, top, bottom = GetAtlasInfo("Artifacts-PerkRing-GoldMedal");
iconBorder:SetTexture(texture);
iconBorder:SetTexCoord(right, left, top, bottom);
iconBorderSheen:SetTexture(texture);
iconBorderSheen:SetTexCoord(right, left, top, bottom);
self.Header.Background:SetVertexColor(1, 0.8, 1);
self:SetHitRectInsets(-50, 0, -25, -25);
self:SetMovable(true);
self:RegisterForDrag('LeftButton');
self:SetScript('OnDragStart', self.StartMoving);
self:SetScript('OnDragStop', self.StopMovingOrSizing);
self:SetScript('OnHide', self.StopMovingOrSizing);
</OnLoad>
</Scripts>
</Button>
-->
</Ui>