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.
1625 lines
59 KiB
1625 lines
59 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">
|
|
<Script file="BtWQuestsTemplates.lua"/>
|
|
|
|
<Font name="Font-BtWQuests-ExpansionTitle" inherits="Fancy22Font" virtual="true">
|
|
<Shadow>
|
|
<Offset>
|
|
<AbsDimension x="1" y="-1"/>
|
|
</Offset>
|
|
<Color r="0" g="0" b="0"/>
|
|
</Shadow>
|
|
<Color r="1" g=".82" b="0"/>
|
|
</Font>
|
|
|
|
<Font name="Font-BtWQuests-ExpansionItemName" inherits="QuestFont_Large" virtual="true">
|
|
<Shadow>
|
|
<Offset>
|
|
<AbsDimension x="1" y="-1"/>
|
|
</Offset>
|
|
<Color r="0" g="0" b="0"/>
|
|
</Shadow>
|
|
<Color r="1" g=".82" b="0"/>
|
|
</Font>
|
|
|
|
<Texture name="UI-BtWQuests-Expansion-Base" file="Interface\Addons\BtWQuests\UI-Expansion" virtual="true">
|
|
<Size x="232" y="416"/>
|
|
<TexCoords left="0.20703125" right="0.43359375" top="0.0" bottom="0.8125"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-Expansion-Background" file="Interface\Addons\BtWQuests\UI-Expansion" virtual="true">
|
|
<Size x="232" y="416"/>
|
|
<TexCoords left="0.43359375" right="0.66015625" top="0.0" bottom="0.8125"/>
|
|
</Texture>
|
|
|
|
<Texture name="UI-BtWQuests-ExpansionMediumButton-Base" file="Interface\Addons\BtWQuests\UI-Expansion" virtual="true">
|
|
<Size x="232" y="416"/>
|
|
<TexCoords left="0.0" right="0.20703125" top="0.0" bottom="0.13671875"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-ExpansionMediumButton-Active" file="Interface\Addons\BtWQuests\UI-Expansion" virtual="true">
|
|
<Size x="232" y="416"/>
|
|
<TexCoords left="0.0" right="0.20703125" top="0.13671875" bottom="0.2734375"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-ExpansionMediumButton-Highlight" file="Interface\Addons\BtWQuests\UI-Expansion" virtual="true">
|
|
<Size x="232" y="416"/>
|
|
<TexCoords left="0.0" right="0.20703125" top="0.2734375" bottom="0.41015625"/>
|
|
</Texture>
|
|
|
|
<Texture name="UI-BtWQuests-ExpansionSmallButton-Base" file="Interface\Addons\BtWQuests\UI-Expansion" virtual="true">
|
|
<Size x="232" y="416"/>
|
|
<TexCoords left="0.0" right="0.20703125" top="0.41015625" bottom="0.48828125"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-ExpansionSmallButton-Highlight" file="Interface\Addons\BtWQuests\UI-Expansion" virtual="true">
|
|
<Size x="232" y="416"/>
|
|
<TexCoords left="0.0" right="0.20703125" top="0.48828125" bottom="0.56640625"/>
|
|
</Texture>
|
|
|
|
<Texture name="UI-BtWQuests-CategoryGridItem-Base" file="Interface\Addons\BtWQuests\UI-CategoryButton" virtual="true">
|
|
<Size x="188" y="96"/>
|
|
<TexCoords left="0.7353515625" right="0.9189453125" top="0.0" bottom="0.1875"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-CategoryGridItem-Active" file="Interface\Addons\BtWQuests\UI-CategoryButton" virtual="true">
|
|
<Size x="188" y="96"/>
|
|
<TexCoords left="0.7353515625" right="0.9189453125" top="0.1875" bottom="0.375"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-CategoryGridItem-Highlight" file="Interface\Addons\BtWQuests\UI-CategoryButton" virtual="true">
|
|
<Size x="188" y="96"/>
|
|
<TexCoords left="0.7353515625" right="0.9189453125" top="0.375" bottom="0.5625"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-CategoryGridItem-Background" file="Interface\Addons\BtWQuests\UI-CategoryButton" virtual="true">
|
|
<Size x="188" y="96"/>
|
|
<TexCoords left="0.7353515625" right="0.9189453125" top="0.5625" bottom="0.75"/>
|
|
</Texture>
|
|
|
|
<Texture name="UI-BtWQuests-CategoryListItem-Base" file="Interface\Addons\BtWQuests\UI-CategoryButton" virtual="true">
|
|
<Size x="753" y="60"/>
|
|
<TexCoords left="0.0" right="0.7353515625" top="0.0" bottom="0.1171875"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-CategoryListItem-Active" file="Interface\Addons\BtWQuests\UI-CategoryButton" virtual="true">
|
|
<Size x="753" y="60"/>
|
|
<TexCoords left="0.0" right="0.7353515625" top="0.1171875" bottom="0.234375"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-CategoryListItem-Highlight" file="Interface\Addons\BtWQuests\UI-CategoryButton" virtual="true">
|
|
<Size x="753" y="60"/>
|
|
<TexCoords left="0.0" right="0.7353515625" top="0.234375" bottom="0.3515625"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-CategoryListItem-Background" file="Interface\Addons\BtWQuests\UI-CategoryButton" virtual="true">
|
|
<Size x="753" y="60"/>
|
|
<TexCoords left="0.0" right="0.7353515625" top="0.3515625" bottom="0.46875"/>
|
|
</Texture>
|
|
|
|
<Texture name="UI-BtWQuests-CategoryHeader-Background" file="Interface\Addons\BtWQuests\UI-CategoryButton" virtual="true">
|
|
<Size x="753" y="10"/>
|
|
<TexCoords left="0.0" right="0.7353515625" top="0.46875" bottom="0.5078125"/>
|
|
</Texture>
|
|
|
|
<GameTooltip name="BtWQuestsTooltipTemplate" inherits="GameTooltipTemplate" mixin="BtWQuestsTooltipMixin" virtual="true">
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
</Scripts>
|
|
</GameTooltip>
|
|
|
|
<Button name="BtWQuestsSearchResultTemplate" mixin="BtWQuestsSearchResultMixin" parentArray="Results" virtual="true">
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Name" inherits="GameFontNormalSmall" justifyH="LEFT">
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="5" y="0"/>
|
|
<Anchor point="RIGHT" x="-5" y="0"/>
|
|
</Anchors>
|
|
<Color r="0.96875" g="0.8984375" b="0.578125" a="1"/>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter method="OnEnter"/>
|
|
<OnLeave method="OnLeave"/>
|
|
<OnShow>
|
|
self:SetFrameLevel(self:GetParent():GetFrameLevel() + 10);
|
|
</OnShow>
|
|
<OnClick method="OnClick"/>
|
|
</Scripts>
|
|
</Button>
|
|
<Texture name="UI-BtWQuests-SearchBarSmallNormal" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
|
|
<Size x="64" y="27"/>
|
|
<TexCoords left="0.00000000" right="1.00000000" top="0.16601563" bottom="0.21875000"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-SearchBarLargeNormal" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
|
|
<Size x="64" y="49"/>
|
|
<TexCoords left="0.00000000" right="1.00000000" top="0.74804688" bottom="0.84375000"/>
|
|
</Texture>
|
|
<Texture name="UI-BtWQuests-SearchBarLargeHighlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
|
|
<Size x="256" y="47"/>
|
|
<TexCoords left="0.00195313" right="0.50195313" top="0.80468750" bottom="0.85058594"/>
|
|
</Texture>
|
|
<Button name="BtWQuestsSearchResultPreviewTemplate" mixin="BtWQuestsSearchResultPreviewMixin" inherits="BtWQuestsSearchResultTemplate" virtual="true">
|
|
<Size x="275" y="27"/>
|
|
<Layers>
|
|
<Layer level="OVERLAY" textureSubLevel="3">
|
|
<Texture parentKey="selectedTexture" atlas="search-highlight" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture inherits="UI-BtWQuests-SearchBarSmallNormal"/>
|
|
<PushedTexture inherits="UI-BtWQuests-SearchBarSmallNormal"/>
|
|
</Button>
|
|
<Button name="BtWQuestsSearchResultFullTemplate" mixin="BtWQuestsSearchResultFullMixin" inherits="BtWQuestsSearchResultTemplate" virtual="true">
|
|
<Size x="575" y="49"/>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Name" inherits="GameFontNormal" justifyH="LEFT">
|
|
<Anchors>
|
|
<Anchor point="TOP" x="0" y="-7"/>
|
|
<Anchor point="LEFT" x="60"/>
|
|
<Anchor point="RIGHT" x="-60"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentPath" inherits="GameFontNormal" justifyH="LEFT" parentKey="path" text="ENCOUNTER">
|
|
<Size x="400" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Name" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
|
|
</Anchors>
|
|
<Color r="0.66796875" g="0.51171875" b="0.3359375" a="1"/>
|
|
</FontString>
|
|
<FontString name="$parentType" inherits="GameFontNormal" justifyH="RIGHT" parentKey="resultType" text="ENCOUNTER">
|
|
<Size x="140" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" x="-14" y="0"/>
|
|
</Anchors>
|
|
<Color r="0.66796875" g="0.51171875" b="0.3359375" a="1"/>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture inherits="UI-BtWQuests-SearchBarLargeNormal"/>
|
|
<PushedTexture inherits="UI-BtWQuests-SearchBarLargeNormal"/>
|
|
<HighlightTexture inherits="UI-BtWQuests-SearchBarLargeHighlight"/>
|
|
</Button>
|
|
|
|
<Button name="BtWQuestsSearchBoxTemplate" mixin="BtWQuestsSearchBoxMixin" inherits="SearchBoxTemplate" virtual="true">
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnShow method="OnShow"/>
|
|
<OnHide method="OnHide"/>
|
|
<OnTextChanged method="OnTextChanged"/>
|
|
<OnEnterPressed method="OnEnterPressed"/>
|
|
<OnKeyDown method="OnKeyDown"/>
|
|
<OnEditFocusLost method="OnFocusLost"/>
|
|
<OnEditFocusGained method="OnFocusGained"/>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="BtWQuestsSearchPreviewTemplate" mixin="BtWQuestsSearchPreviewMixin" hidden="true" virtual="true">
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture parentKey="botLeftCorner" inherits="UI-Frame-BotCornerLeft">
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="-7" y="0"/>
|
|
<Anchor point="BOTTOM" x="0" y="-5"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="botRightCorner" inherits="UI-Frame-BotCornerRight">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" x="0" y="-5"/>
|
|
<Anchor point="RIGHT" x="4" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="bottomBorder" inherits="_UI-Frame-Bot">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent.botLeftCorner" relativePoint="BOTTOMRIGHT" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.botRightCorner" relativePoint="BOTTOMLEFT" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="leftBorder" inherits="!UI-Frame-LeftTile">
|
|
<Anchors>
|
|
<Anchor point="TOP" x="0" y="1" />
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent.botLeftCorner" relativePoint="TOPLEFT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="rightBorder" inherits="!UI-Frame-RightTile">
|
|
<Anchors>
|
|
<Anchor point="TOP" x="0" y="1" />
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.botRightCorner" relativePoint="TOPRIGHT" x="1" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="topBorder" inherits="_UI-Frame-Bot">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="-2" y="3"/>
|
|
<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="2" y="-3"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button inherits="BtWQuestsSearchResultPreviewTemplate" parentKey="SearchButton1">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.searchPreviewContainer" relativePoint="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.searchPreviewContainer" relativePoint="TOPRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Button>
|
|
<Button inherits="BtWQuestsSearchResultPreviewTemplate" parentKey="SearchButton2">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.SearchButton1" relativePoint="BOTTOMLEFT" x="0" y="0"/>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.SearchButton1" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Button>
|
|
<Button inherits="BtWQuestsSearchResultPreviewTemplate" parentKey="SearchButton3">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.SearchButton2" relativePoint="BOTTOMLEFT" x="0" y="0"/>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.SearchButton2" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Button>
|
|
<Button inherits="BtWQuestsSearchResultPreviewTemplate" parentKey="SearchButton4">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.SearchButton3" relativePoint="BOTTOMLEFT" x="0" y="0"/>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.SearchButton3" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Button>
|
|
<Button inherits="BtWQuestsSearchResultPreviewTemplate" parentKey="SearchButton5">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.SearchButton4" relativePoint="BOTTOMLEFT" x="0" y="0"/>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.SearchButton4" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Button>
|
|
<Button parentKey="ShowAllResults">
|
|
<Size x="275" y="24"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.SearchButton1" x="0" y="0"/>
|
|
<Anchor point="RIGHT" relativeKey="$parent.SearchButton1" x="0" y="0"/>
|
|
<Anchor point="TOP" relativeKey="$parent.SearchButton5" relativePoint="BOTTOM" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY" textureSubLevel="2">
|
|
<Texture parentKey="selectedTexture" atlas="search-highlight" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString inherits="GameFontNormal" justifyH="LEFT" parentKey="text" text="ENCOUNTER">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture inherits="UI-BtWQuests-SearchBarSmallNormal"/>
|
|
<PushedTexture inherits="UI-BtWQuests-SearchBarSmallNormal"/>
|
|
<Scripts>
|
|
<OnShow>
|
|
self:SetFrameLevel(self:GetParent():GetFrameLevel() + 10)
|
|
</OnShow>
|
|
<OnClick>
|
|
BtWQuestsFrame:ShowFullSearch()
|
|
PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON)
|
|
</OnClick>
|
|
<OnEnter>
|
|
self:GetParent():SetSelection(BTWQUESTS_SHOW_ALL_SEARCH_RESULTS_INDEX)
|
|
</OnEnter>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="$parentSearchProgress" parentKey="searchProgress" hidden="true">
|
|
<Size x="0" y="24"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativePoint="LEFT"/>
|
|
<Anchor point="RIGHT" relativePoint="RIGHT"/>
|
|
<Anchor point="TOP" relativePoint="BOTTOM"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="background" atlas="_search-rowbg">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame name="$parentLoading" parentKey="loading">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativePoint="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parentText" inherits="GameFontHighlight" justifyH="CENTER" parentKey="text" text="SEARCH_LOADING_TEXT" hidden="false">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="16" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame parentKey="spinner" inherits="LoadingSpinnerTemplate" hidden="false">
|
|
<Size x="40" y="40"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent.text" relativePoint="LEFT"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self.Anim:Play();
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
<StatusBar name="$parentBar" parentKey="bar">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="4" y="-4"/>
|
|
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="-4" y="6"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="barBackground">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
<Color r="0" g="0" b="0" a=".4"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="text" inherits="GameFontHighlightSmall" text="SEARCH_PROGRESS_BAR_TEXT" justifyV="TOP">
|
|
<Size x="0" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture parentKey="barBorderLeft" file="Interface\AchievementFrame\UI-Achievement-ProgressBar-Border">
|
|
<Size x="16" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="-6" y="5"/>
|
|
<Anchor point="BOTTOMLEFT" x="-6" y="-5"/>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.0625" top="0" bottom="0.75"/>
|
|
</Texture>
|
|
<Texture parentKey="barBorderRight" file="Interface\AchievementFrame\UI-Achievement-ProgressBar-Border">
|
|
<Size x="16" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" x="6" y="5"/>
|
|
<Anchor point="BOTTOMRIGHT" x="6" y="-5"/>
|
|
</Anchors>
|
|
<TexCoords left="0.812" right="0.8745" top="0" bottom="0.75"/>
|
|
</Texture>
|
|
<Texture parentKey="barBorderCenter" file="Interface\AchievementFrame\UI-Achievement-ProgressBar-Border">
|
|
<Size x="16"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.barBorderLeft" relativePoint="TOPRIGHT"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.barBorderRight" relativePoint="BOTTOMLEFT"/>
|
|
</Anchors>
|
|
<TexCoords left="0.0625" right="0.812" top="0" bottom="0.75"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<!-- <OnLoad function="BtWQuestsSearchBoxSearchProgressBar_OnLoad"/>
|
|
<OnShow function="BtWQuestsSearchBoxSearchProgressBar_OnShow"/>
|
|
<OnHide function="BtWQuestsSearchBoxSearchProgressBar_OnHide"/> -->
|
|
</Scripts>
|
|
<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
|
|
</StatusBar>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnShow>
|
|
--always on top
|
|
self:SetFrameLevel(self:GetParent():GetFrameLevel()+10);
|
|
</OnShow>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnShow>
|
|
self:SetFrameLevel(self:GetParent():GetFrameLevel() + 10)
|
|
</OnShow>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="BtWQuestsSearchResultsTemplate" mixin="BtWQuestsSearchResultsMixin" hidden="true" virtual="true">
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\FrameGeneral\UI-Background-Rock" horizTile="true" vertTile="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="0.9" g="0.8" b="0.7" a="1"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="BORDER">
|
|
<FontString parentKey="TitleText" inherits="GameFontNormal" text="">
|
|
<Anchors>
|
|
<Anchor point="TOP" x="0" y="-7"/>
|
|
<Anchor point="LEFT" x="60"/>
|
|
<Anchor point="RIGHT" x="-60"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture parentKey="TopLeftCorner" inherits="UI-Frame-TopCornerLeft">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="-7" y="4"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="TopRightCorner" inherits="UI-Frame-TopCornerRightSimple">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" x="4" y="4"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="TopBorder" inherits="_UI-Frame-Top">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.TopLeftCorner" relativePoint="TOPRIGHT" y="0"/>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.TopRightCorner" relativePoint="TOPLEFT" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="LeftBorder" inherits="!UI-Frame-LeftTile">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" x="0" y="0" />
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.TopLeftCorner" relativePoint="BOTTOMLEFT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="RightBorder" inherits="!UI-Frame-RightTile">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" x="0" y="0" />
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.TopRightCorner" relativePoint="BOTTOMRIGHT" x="1" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="BORDER" textureSubLevel="-1">
|
|
<Texture parentKey="TopTileStreaks" inherits="_UI-Frame-TopTileStreaks">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="TOPRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="BORDER" textureSubLevel="1">
|
|
<Texture parentKey="TopLeftCorner2" inherits="UI-Frame-TopCornerLeft">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="-7" y="-20"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="TopRightCorner2" inherits="UI-Frame-TopCornerRightSimple">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" x="4" y="-20"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="TopBorder2" inherits="_UI-Frame-Top">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.TopLeftCorner2" relativePoint="TOPRIGHT" y="0"/>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.TopRightCorner2" relativePoint="TOPLEFT" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button parentKey="CloseButton" inherits="UIPanelCloseButton">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" x="7" y="2"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
self:GetParent():Hide();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<ScrollFrame parentKey="scrollFrame" inherits="HybridScrollFrameTemplate">
|
|
<Size x="578" y="371"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" x="1" y="1"/>
|
|
</Anchors>
|
|
<Frames>
|
|
<Slider parentKey="scrollBar" inherits="HybridScrollBarTrimTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="-16"/>
|
|
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="14"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self.trackBG:Show();
|
|
self.trackBG:SetVertexColor(0, 0, 0, 1);
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</ScrollFrame>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnShow>
|
|
--always on top
|
|
self:SetFrameLevel(self:GetParent():GetFrameLevel()+10);
|
|
PlaySound(SOUNDKIT.IG_SPELLBOOK_OPEN);
|
|
</OnShow>
|
|
<OnHide>
|
|
PlaySound(SOUNDKIT.IG_SPELLBOOK_CLOSE);
|
|
</OnHide>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Button name="BtWQuestsDropDownButtonTemplate" virtual="true">
|
|
<Size x="100" y="16"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="Highlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true"/>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture parentKey="Check" file="Interface\Common\UI-DropDownRadioChecks">
|
|
<Size x="16" y="16"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="0" y="0"/>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.5" top="0.5" bottom="1.0"/>
|
|
</Texture>
|
|
<Texture parentKey="UnCheck" file="Interface\Common\UI-DropDownRadioChecks">
|
|
<Size x="16" y="16"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="0" y="0"/>
|
|
</Anchors>
|
|
<TexCoords left="0.5" right="1.0" top="0.5" bottom="1.0"/>
|
|
</Texture>
|
|
<Texture parentKey="Icon" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="16" y="16"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button parentKey="ColorSwatch" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="16" y="16"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" x="-6" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="SwatchBg">
|
|
<Size>
|
|
<AbsDimension x="14" y="14"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
CloseMenus();
|
|
UIDropDownMenuButton_OpenColorPicker(self:GetParent());
|
|
</OnClick>
|
|
<OnEnter>
|
|
_G[self:GetName().."SwatchBg"]:SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
<!-- UIDropDownMenu_StopCounting(self:GetParent():GetParent()); -->
|
|
</OnEnter>
|
|
<OnLeave>
|
|
_G[self:GetName().."SwatchBg"]:SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
<!-- UIDropDownMenu_StartCounting(self:GetParent():GetParent()); -->
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture parentKey="NormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
|
|
</Button>
|
|
<Button parentKey="DeleteButton" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="14" y="14"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" x="-6" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture file="Interface\Buttons\UI-GroupLoot-Pass-Up" alpha="0" parentKey="texture"/>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
self.texture:SetAlpha(1.0);
|
|
self:GetParent().Highlight:Show();
|
|
<!-- UIDropDownMenu_StopCounting(self:GetParent():GetParent()); -->
|
|
</OnEnter>
|
|
<OnLeave>
|
|
self.texture:SetAlpha(0);
|
|
self:GetParent().Highlight:Hide();
|
|
<!-- UIDropDownMenu_StartCounting(self:GetParent():GetParent()); -->
|
|
</OnLeave>
|
|
<OnMouseDown>
|
|
self.texture:SetPoint("TOPLEFT", 1, -1);
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
self.texture:SetPoint("TOPLEFT", 0, 0);
|
|
</OnMouseUp>
|
|
<OnClick>
|
|
local button = self:GetParent()
|
|
button:GetParent():Hide()
|
|
button.deleteFunc(button, button.arg1, button.arg2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<!--Button parentKey="InvisibleButton" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
<Anchor point="BOTTOMLEFT"/>
|
|
<Anchor point="RIGHT" relativeKey="$parent.ColorSwatch" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter function="UIDropDownMenuButtonInvisibleButton_OnEnter"/>
|
|
<OnLeave function="UIDropDownMenuButtonInvisibleButton_OnLeave"/>
|
|
</Scripts>
|
|
</Button-->
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:SetFrameLevel(self:GetParent():GetFrameLevel()+2);
|
|
</OnLoad>
|
|
<OnClick>
|
|
UIDropDownMenuButton_OnClick(self, button, down);
|
|
</OnClick>
|
|
<OnEnter>
|
|
self.DeleteButton.texture:SetAlpha(0.5)
|
|
self.Highlight:Show();
|
|
if ( self.tooltipTitle and not self.noTooltipWhileEnabled ) then
|
|
if ( self.tooltipOnButton ) then
|
|
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
|
|
GameTooltip_SetTitle(GameTooltip, self.tooltipTitle);
|
|
if self.tooltipText then
|
|
GameTooltip_AddNormalLine(GameTooltip, self.tooltipText, true);
|
|
end
|
|
GameTooltip:Show();
|
|
else
|
|
GameTooltip_AddNewbieTip(self, self.tooltipTitle, 1.0, 1.0, 1.0, self.tooltipText, 1);
|
|
end
|
|
end
|
|
|
|
if ( self.mouseOverIcon ~= nil ) then
|
|
self.Icon:SetTexture(self.mouseOverIcon);
|
|
self.Icon:Show();
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
self.DeleteButton.texture:SetAlpha(0)
|
|
self.Highlight:Hide();
|
|
GameTooltip:Hide();
|
|
|
|
if ( self.mouseOverIcon ~= nil ) then
|
|
if ( self.icon ~= nil ) then
|
|
self.Icon:SetTexture(self.icon);
|
|
else
|
|
self.Icon:Hide();
|
|
end
|
|
end
|
|
</OnLeave>
|
|
</Scripts>
|
|
<ButtonText parentKey="NormalText">
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="-5" y="0"/>
|
|
</Anchors>
|
|
</ButtonText>
|
|
<NormalFont style="GameFontHighlightSmallLeft"/>
|
|
<HighlightFont style="GameFontHighlightSmallLeft"/>
|
|
<DisabledFont style="GameFontDisableSmallLeft"/>
|
|
</Button>
|
|
<Button name="BtWQuestsDropDownListTemplate" hidden="true" frameStrata="DIALOG" enableMouse="true" virtual="true">
|
|
<Frames>
|
|
<Frame parentKey="Backdrop" setAllPoints="true">
|
|
<KeyValues>
|
|
<KeyValue key="backdropInfo" value="BACKDROP_DIALOG_32_32" type="global"/>
|
|
</KeyValues>
|
|
<Scripts>
|
|
<OnLoad>
|
|
if BackdropTemplateMixin then
|
|
Mixin(self, BackdropTemplateMixin)
|
|
self:OnBackdropLoaded()
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame parentKey="MenuBackdrop" setAllPoints="true">
|
|
<KeyValues>
|
|
<KeyValue key="backdropInfo" value="BACKDROP_TUTORIAL_16_16" type="global"/>
|
|
</KeyValues>
|
|
<Scripts>
|
|
<OnLoad>
|
|
if BackdropTemplateMixin then
|
|
Mixin(self, BackdropTemplateMixin)
|
|
self:OnBackdropLoaded()
|
|
end
|
|
self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
|
|
self:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnClick>
|
|
self:Hide();
|
|
</OnClick>
|
|
<OnUpdate>
|
|
UIDropDownMenu_OnUpdate(self, elapsed);
|
|
</OnUpdate>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="BtWQuestsDropDownTemplate" mixin="BtWQuestsDropDownMenuMixin" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="40" y="32"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture name="$parentLeft" parentKey="Left" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
|
|
<Size>
|
|
<AbsDimension x="25" y="64"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="17"/>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.1953125" top="0" bottom="1"/>
|
|
</Texture>
|
|
<Texture name="$parentMiddle" parentKey="Middle" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
|
|
<Size>
|
|
<AbsDimension x="115" y="64"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Left" relativePoint="RIGHT"/>
|
|
</Anchors>
|
|
<TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1"/>
|
|
</Texture>
|
|
<Texture name="$parentRight" parentKey="Right" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
|
|
<Size>
|
|
<AbsDimension x="25" y="64"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Middle" relativePoint="RIGHT"/>
|
|
</Anchors>
|
|
<TexCoords left="0.8046875" right="1" top="0" bottom="1"/>
|
|
</Texture>
|
|
<FontString parentKey="Text" name="$parentText" inherits="GameFontHighlightSmall" wordwrap="false" justifyH="RIGHT">
|
|
<Size>
|
|
<AbsDimension x="0" y="10"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent.Right" x="-43" y="2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<Texture parentKey="Icon" name="$parentIcon" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="16" y="16"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="30" y="2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button parentKey="Button" motionScriptsWhileDisabled="true" >
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.Right" x="-16" y="-18"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
local parent = self:GetParent();
|
|
local myscript = parent:GetScript("OnEnter");
|
|
if(myscript ~= nil) then
|
|
myscript(parent);
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
local parent = self:GetParent();
|
|
local myscript = parent:GetScript("OnLeave");
|
|
if(myscript ~= nil) then
|
|
myscript(parent);
|
|
end
|
|
</OnLeave>
|
|
<OnClick>
|
|
self:GetParent():Toggle()
|
|
PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON)
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT"/>
|
|
</Anchors>
|
|
</NormalTexture>
|
|
<PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT"/>
|
|
</Anchors>
|
|
</PushedTexture>
|
|
<DisabledTexture name="$parentDisabledTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT"/>
|
|
</Anchors>
|
|
</DisabledTexture>
|
|
<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
|
|
<Size>
|
|
<AbsDimension x="24" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT"/>
|
|
</Anchors>
|
|
</HighlightTexture>
|
|
</Button>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnHide>
|
|
CloseDropDownMenus()
|
|
</OnHide>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<Frame name="BtWQuestsNavBarDropDownTemplate" mixin="BtWQuestsNavBarDropDownMenuMixin" inherits="BtWQuestsDropDownTemplate" virtual="true"/>
|
|
<Button name="BtWQuestsNavBarButtonTemplate" mixin="BtWQuestsNavBarButtonMixin" motionScriptsWhileDisabled="true" virtual="true">
|
|
<Size x="80" y="30"/>
|
|
<Layers>
|
|
<Layer level="OVERLAY" textureSubLevel="2">
|
|
<Texture file="Interface\HelpFrame\CS_HelpTextures" parentKey="arrowUp">
|
|
<Size x="21" y="30"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativePoint="RIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<TexCoords left="0.88867188" right="0.92968750" top="0.29687500" bottom="0.53125000"/>
|
|
</Texture>
|
|
<Texture file="Interface\HelpFrame\CS_HelpTextures" parentKey="arrowDown">
|
|
<Size x="21" y="30"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativePoint="RIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<TexCoords left="0.63281250" right="0.67382813" top="0.75781250" bottom="0.99218750"/>
|
|
</Texture>
|
|
<Texture file="Interface\HelpFrame\CS_HelpTextures" parentKey="selected" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<TexCoords left="0.00195313" right="0.25195313" top="0.37500000" bottom="0.64062500"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button parentKey="MenuArrowButton" hidden="true">
|
|
<Size x="27" y="31"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativePoint="TOPRIGHT" x="-2" y="-15"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture parentKey="Art" file="Interface\Buttons\SquareButtonTextures">
|
|
<Size x="12" y="12"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="-1"/>
|
|
</Anchors>
|
|
<TexCoords left="0.45312500" right="0.64062500" bottom="0.01562500" top="0.20312500"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-SquareButton-Up" parentKey="NormalTexture" alpha="0">
|
|
<Size x="32" y="32"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</NormalTexture>
|
|
<PushedTexture file="Interface\Buttons\UI-SquareButton-Down" parentKey="PushedTexture" alpha="0">
|
|
<Size x="32" y="32"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</PushedTexture>
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
|
|
<Size x="32" y="32"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</HighlightTexture>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
self.Art:SetPoint("CENTER", -1, -2);
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
self.Art:SetPoint("CENTER", 0, -1);
|
|
</OnMouseUp>
|
|
<OnEnter>
|
|
self.NormalTexture:SetAlpha(1);
|
|
self.PushedTexture:SetAlpha(1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
self.NormalTexture:SetAlpha(0);
|
|
self.PushedTexture:SetAlpha(0);
|
|
</OnLeave>
|
|
<OnClick>
|
|
PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);
|
|
local parent = self:GetParent()
|
|
local dropDown = parent:GetParent().dropDown
|
|
dropDown.buttonOwner = parent
|
|
dropDown:Toggle(parent, 20, 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
if self:IsEnabled() then
|
|
self.arrowUp:Hide();
|
|
self.arrowDown:Show();
|
|
end
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
self.arrowDown:Hide();
|
|
self.arrowUp:Show();
|
|
</OnMouseUp>
|
|
<OnClick>
|
|
PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);
|
|
</OnClick>
|
|
<OnEnable>
|
|
self.arrowDown:Hide();
|
|
self.arrowUp:Show();
|
|
</OnEnable>
|
|
<OnDisable>
|
|
self.arrowDown:Hide();
|
|
self.arrowUp:Show();
|
|
</OnDisable>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\HelpFrame\CS_HelpTextures_Tile" horizTile="true">
|
|
<TexCoords left="0.00000000" right="1.00000000" top="0.06250000" bottom="0.12109375"/>
|
|
</NormalTexture>
|
|
<PushedTexture file="Interface\HelpFrame\CS_HelpTextures_Tile" horizTile="true">
|
|
<TexCoords left="0.00000000" right="1.00000000" top="0.12500000" bottom="0.18359375"/>
|
|
</PushedTexture>
|
|
<HighlightTexture file="Interface\HelpFrame\CS_HelpTextures" alphaMode="ADD">
|
|
<TexCoords left="0.00195313" right="0.25195313" top="0.65625000" bottom="0.92187500"/>
|
|
</HighlightTexture>
|
|
<ButtonText name="$parentText" inherits="GameFontNormal" justifyH="LEFT" parentKey="text">
|
|
<Size x="0" y="12"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="20" y="0"/>
|
|
</Anchors>
|
|
</ButtonText>
|
|
</Button>
|
|
<Frame name="BtWQuestsNavBarTemplate" mixin="BtWQuestsNavBarMixin" inherits="NavBarTemplate" virtual="true">
|
|
<Layers>
|
|
<Layer level="BORDER" textureSubLevel="-5">
|
|
<Texture parentKey="InsetBorderBottomLeft" inherits="UI-Frame-InnerBotLeftCorner">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" x="-3" y="-3"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="InsetBorderBottomRight" inherits="UI-Frame-InnerBotRight">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" x="3" y="-3"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="InsetBorderBottom" inherits="_UI-Frame-InnerBotTile">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent.InsetBorderBottomLeft" relativePoint="BOTTOMRIGHT"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.InsetBorderBottomRight" relativePoint="BOTTOMLEFT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="InsetBorderLeft" inherits="!UI-Frame-InnerLeftTile">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="-3" y="0"/>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent.InsetBorderBottomLeft" relativePoint="TOPLEFT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="InsetBorderRight" inherits="!UI-Frame-InnerRightTile">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" x="3" y="0"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.InsetBorderBottomRight" relativePoint="TOPRIGHT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad method="OnShow"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
|
|
<Frame name="BtWQuestsLineTemplate" virtual="true">
|
|
<Layers>
|
|
<Layer level="BACKGROUND" textureSubLevel="-3">
|
|
<Line parentKey="Background" file="Interface/Artifacts/_Artifacts-DependencyBar-BG" thickness="12" hWrapMode="REPEAT" alpha="1" />
|
|
</Layer>
|
|
<Layer level="BACKGROUND" textureSubLevel="-2">
|
|
<Line parentKey="Active" file="Interface/Artifacts/_Artifacts-DependencyBar-Fill" thickness="12" hWrapMode="REPEAT" alpha="1">
|
|
<Color r="1" g="0.6" b="0" a="1"/>
|
|
</Line>
|
|
<Line parentKey="Complete" file="Interface/Artifacts/_Artifacts-DependencyBar-Fill" thickness="12" hWrapMode="REPEAT" alpha="1">
|
|
<Color r="0" g="1" b="0" a="1"/>
|
|
</Line>
|
|
</Layer>
|
|
</Layers>
|
|
<Animations>
|
|
<AnimationGroup parentKey="PulseAlpha" looping="REPEAT">
|
|
<Alpha childKey="Complete" duration="1" order="1" fromAlpha="0" toAlpha="1" />
|
|
<Alpha childKey="Complete" duration="1" order="2" fromAlpha="1" toAlpha="0" />
|
|
<Scripts>
|
|
<OnPlay>
|
|
self:GetParent().Complete:Show()
|
|
</OnPlay>
|
|
<OnFinished>
|
|
self:GetParent().Complete:Hide()
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
|
|
<AnimationGroup parentKey="ActiveToCompleteAnim">
|
|
<LineScale childKey="Active" smoothing="IN" duration=".75" order="1" fromScaleX="1" fromScaleY="1" toScaleX="0.001" toScaleY="1">
|
|
<Origin point="RIGHT"/>
|
|
</LineScale>
|
|
<LineScale childKey="Complete" smoothing="IN" duration=".75" order="1" fromScaleX="0.001" fromScaleY="1" toScaleX="1" toScaleY="1">
|
|
<Origin point="LEFT"/>
|
|
</LineScale>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self:GetParent().Complete:Show()
|
|
</OnPlay>
|
|
<OnFinished>
|
|
self:GetParent().Active:Hide()
|
|
</OnFinished>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="DefaultToActiveAnim">
|
|
<LineScale childKey="Active" smoothing="IN" duration=".75" order="1" fromScaleX="0.001" fromScaleY="1" toScaleX="1" toScaleY="1">
|
|
<Origin point="LEFT"/>
|
|
</LineScale>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self:GetParent().Active:Show()
|
|
</OnPlay>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="DefaultToCompleteAnim">
|
|
<LineScale childKey="Complete" smoothing="IN" duration=".75" order="1" fromScaleX="0.001" fromScaleY="1" toScaleX="1" toScaleY="1">
|
|
<Origin point="LEFT"/>
|
|
</LineScale>
|
|
<Scripts>
|
|
<OnPlay>
|
|
self:GetParent().Complete:Show()
|
|
</OnPlay>
|
|
</Scripts>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
</Frame>
|
|
|
|
<Button name="BtWQuestsChainItemTemplate" mixin="BtWQuestsChainItemMixin" virtual="true">
|
|
<Size x="174" y="48"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="Icon" atlas="groupfinder-button-arenas">
|
|
<Size x="164" y="38"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK" textureSubLevel="-1">
|
|
<Texture parentKey="Cover" atlas="groupfinder-button-cover">
|
|
<Size x="174" y="48"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture parentKey="IsNext" file="Interface\AddOns\BtWQuests\UI-BtWQuests-Glow" alphaMode="ADD" hidden="true">
|
|
<Size x="174" y="64"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<TexCoords left="0.0" right="0.5859375" top="0.0" bottom="1.0"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK" textureSubLevel="-2">
|
|
<Texture parentKey="HeroicTexture" file="Interface\Minimap\UI-DungeonDifficulty-Button" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="64" y="40"/><!-- x="64" y="46"-->
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" x="13" y="-6"/><!-- x="13" y="2"-->
|
|
</Anchors>
|
|
<TexCoords left="0.0" right="0.25" top="0.1203125" bottom="0.4140625"/><!-- top="0.0703125" bottom="0.4140625"-->
|
|
</Texture>
|
|
<Texture parentKey="MythicTexture" file="Interface\Minimap\UI-DungeonDifficulty-Button" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="64" y="40"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" x="13" y="-6"/>
|
|
</Anchors>
|
|
<TexCoords left="0.25" right="0.5" top="0.1203125" bottom="0.4140625"/><!-- top="0.0703125" bottom="0.4140625"-->
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK" textureSubLevel="1">
|
|
<Texture parentKey="Tick" inherits="GreenCheckMarkTemplate">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="-7" y="7"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture parentKey="TagTexture" file="Interface\QuestFrame\QuestTypeIcons" hidden="true">
|
|
<Size x="18" y="18"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" x="-10" y="6"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Name" inherits="GameFontNormal" justifyH="LEFT">
|
|
<Size x="120" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="15" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="SpoilerName" text="?????" inherits="GameFontNormal" justifyH="CENTER">
|
|
<Size x="120" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture parentKey="ActiveTexture" file="Interface\PVPFrame\PvPMegaQueue" alpha="0.5" alphaMode="ADD" hidden="true">
|
|
<Size x="164" y="38"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<TexCoords left="0.00195313" right="0.63867188" top="0.76953125" bottom="0.83007813"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<HighlightTexture parentKey="HighlightTexture" file="Interface\PVPFrame\PvPMegaQueue" alphaMode="ADD">
|
|
<Size x="164" y="38"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<TexCoords left="0.00195313" right="0.63867188" top="0.70703125" bottom="0.76757813"/>
|
|
</HighlightTexture>
|
|
<Animations>
|
|
<AnimationGroup parentKey="ActiveAnim" setToFinalAlpha="true">
|
|
<Alpha childKey="ActiveTexture" startDelay="0.00" duration="0.5" order="1" fromAlpha="0" toAlpha="1"/>
|
|
<Alpha childKey="ActiveTexture" startDelay="0.20" duration="0.5" order="2" fromAlpha="1" toAlpha="0.5"/>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="IsNextAnim" looping="REPEAT">
|
|
<Alpha childKey="ActiveTexture" startDelay="0.00" duration="0.5" order="1" fromAlpha="0.25" toAlpha="0.75"/>
|
|
<Alpha childKey="ActiveTexture" startDelay="0.20" duration="0.5" order="2" fromAlpha="0.75" toAlpha="0.25"/>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="ForgottenAnim" setToFinalAlpha="true">
|
|
<Alpha childKey="Name" startDelay="0.00" duration="0.5" order="1" fromAlpha="1" toAlpha="0.5"/>
|
|
</AnimationGroup>
|
|
<AnimationGroup parentKey="ForgottenAnimQuick" setToFinalAlpha="true">
|
|
<Alpha childKey="Name" startDelay="0.00" duration="0.05" order="1" fromAlpha="1" toAlpha="0.5"/>
|
|
</AnimationGroup>
|
|
</Animations>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnDragStart method="OnDragStart"/>
|
|
<OnDragStop method="OnDragStop"/>
|
|
<OnClick method="OnClick"/>
|
|
<OnEnter method="OnEnter"/>
|
|
<OnLeave method="OnLeave"/>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="BtWQuestsChainViewItemTemplate" mixin="BtWQuestsChainViewItemMixin" inherits="BtWQuestsChainItemTemplate" virtual="true">
|
|
<Scripts>
|
|
<OnDragStart method="OnDragStart"/>
|
|
<OnDragStop method="OnDragStop"/>
|
|
<OnMouseUp method="OnMouseUp"/>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<ScrollFrame name="BtWQuestsChainViewTemplate" mixin="BtWQuestsChainViewMixin" inherits="UIPanelScrollFrameCodeTemplate" enableMouse="true" virtual="true">
|
|
<Frames>
|
|
<Slider name="$parentScrollBar" inherits="MinimalScrollBarTemplate" parentKey="ScrollBar">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" x="0" y="-17"/>
|
|
<Anchor point="BOTTOMRIGHT" x="0" y="17"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self.trackBG:SetVertexColor(0.2, 0.13, 0.08, 0.25);
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
<ScrollChild>
|
|
<Frame parentKey="Child">
|
|
<Size x="785" y="423"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="0"/>
|
|
</Anchors>
|
|
</Frame>
|
|
</ScrollChild>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnDragStart method="OnDragStart"/>
|
|
<OnDragStop method="OnDragStop"/>
|
|
<OnHide method="OnDragStop"/>
|
|
</Scripts>
|
|
</ScrollFrame>
|
|
|
|
<Button name="BtWQuestsCategoryHeaderTemplate" mixin="BtWQuestsCategoryHeaderMixin" hidden="true" virtual="true">
|
|
<Size x="753" y="25"/>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Name" inherits="QuestTitleFontBlackShadow" justifyH="LEFT">
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="20" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame clipChildren="true">
|
|
<Size x="753" y="25"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="0" y="0"/>
|
|
<Anchor point="RIGHT" relativeKey="$parent.Name" relativePoint="LEFT" x="-5" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="Background" inherits="UI-BtWQuests-CategoryHeader-Background">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" x="0" y="5"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<Frame clipChildren="true">
|
|
<Size x="753" y="25"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Name" relativePoint="RIGHT" x="5" y="0"/>
|
|
<Anchor point="RIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="Background" inherits="UI-BtWQuests-CategoryHeader-Background">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" x="0" y="5"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnMouseUp>
|
|
if button == "RightButton" then
|
|
BtWQuestsFrame:ZoomOut()
|
|
end
|
|
</OnMouseUp>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="BtWQuestsCategoryListItemTemplate" mixin="BtWQuestsCategoryListItemMixin" hidden="true" virtual="true">
|
|
<Size x="753" y="60"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="Background" inherits="UI-BtWQuests-CategoryListItem-Background"/>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<Texture parentKey="Acive" inherits="UI-BtWQuests-CategoryListItem-Active" hidden="true"/>
|
|
<FontString parentKey="Name" inherits="QuestTitleFontBlackShadow" justifyH="LEFT">
|
|
<Size x="500" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="60" y="-13"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="Subtext" inherits="GameFontNormal" justifyH="LEFT">
|
|
<Size x="500" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Name" relativePoint="BOTTOMLEFT" x="20" y="-3"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture parentKey="Tick" inherits="GreenCheckMarkTemplate">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativePoint="RIGHT" x="-20" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="Major" file="Interface\AchievementFrame\UI-Achievement-TinyShield">
|
|
<Size x="20" y="20"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="20" y="0"/>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.625" top="0" bottom="0.625"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button parentKey="Ignore">
|
|
<Size x="20" y="20"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeKey="$parent.Tick" relativePoint="LEFT" x="-20" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture file="Interface\Buttons\UI-GroupLoot-Pass-Up" alpha="0.0" parentKey="texture"/>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
local frame = self:GetParent():GetParent():GetParent():GetParent():GetParent();
|
|
local item = self:GetParent().item
|
|
local character = frame:GetCharacter()
|
|
if item:GetType() == "chain" then
|
|
character:ToggleChainIgnored(item:GetID())
|
|
self:GetParent().Acive:SetShown(item:IsActive(character))
|
|
elseif item:GetType() == "category" then
|
|
character:ToggleCategoryIgnored(item:GetID())
|
|
end
|
|
frame:Refresh()
|
|
</OnClick>
|
|
<OnEnter>
|
|
self.texture:SetAlpha(1.0)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
self.texture:SetAlpha(0.0)
|
|
</OnLeave>
|
|
<OnMouseUp>
|
|
self:GetParent():OnMouseUp(button)
|
|
</OnMouseUp>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<NormalTexture inherits="UI-BtWQuests-CategoryListItem-Base"/>
|
|
<HighlightTexture inherits="UI-BtWQuests-CategoryListItem-Highlight"/>
|
|
<Scripts>
|
|
<OnClick method="OnClick"/>
|
|
<OnEnter method="OnEnter"/>
|
|
<OnLeave method="OnLeave"/>
|
|
<OnMouseUp method="OnMouseUp"/>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="BtWQuestsCategoryGridItemTemplate" mixin="BtWQuestsCategoryGridItemMixin" hidden="true" virtual="true">
|
|
<Size x="188" y="96"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="Background">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="6" y="-6"/>
|
|
<Anchor point="BOTTOMRIGHT" x="-6" y="6"/>
|
|
</Anchors>
|
|
<!-- <Anchors>
|
|
<Anchor point="TOPLEFT" x="1" y="-1"/>
|
|
<Anchor point="BOTTOMRIGHT" x="0" y="1"/>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.68359375" top="0" bottom="0.7421875"/> -->
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<Texture parentKey="Acive" inherits="UI-BtWQuests-CategoryGridItem-Active" hidden="true"/>
|
|
<FontString parentKey="Name" inherits="QuestTitleFontBlackShadow">
|
|
<Size x="150" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" x="0" y="-15"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="Subtext" inherits="GameFontNormal" justifyH="LEFT">
|
|
<Size x="150" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Name" relativePoint="BOTTOMLEFT" x="0" y="-3"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture name="$parentTick" parentKey="Tick" inherits="GreenCheckMarkTemplate">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="-7" y="7"/>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="Major" file="Interface\AchievementFrame\UI-Achievement-TinyShield">
|
|
<Size x="20" y="20"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="7" y="7"/>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.625" top="0" bottom="0.625"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button parentKey="Ignore">
|
|
<Size x="20" y="20"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="7" y="7"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture file="Interface\Buttons\UI-GroupLoot-Pass-Up" alpha="0.0" parentKey="texture"/>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
local frame = self:GetParent():GetParent():GetParent():GetParent():GetParent();
|
|
local item = self:GetParent().item
|
|
local character = frame:GetCharacter()
|
|
if item:GetType() == "chain" then
|
|
character:ToggleChainIgnored(item:GetID())
|
|
self:GetParent().Acive:SetShown(item:IsActive(character))
|
|
elseif item:GetType() == "category" then
|
|
character:ToggleCategoryIgnored(item:GetID())
|
|
end
|
|
frame:Refresh()
|
|
</OnClick>
|
|
<OnEnter>
|
|
self:GetParent().Major:SetAlpha(0)
|
|
self.texture:SetAlpha(1.0)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
self:GetParent().Major:SetAlpha(0)
|
|
self.texture:SetAlpha(0.0)
|
|
</OnLeave>
|
|
<OnMouseUp>
|
|
self:GetParent():OnMouseUp(button)
|
|
</OnMouseUp>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<NormalTexture inherits="UI-BtWQuests-CategoryGridItem-Base"/>
|
|
<HighlightTexture inherits="UI-BtWQuests-CategoryGridItem-Highlight"/>
|
|
<Scripts>
|
|
<OnClick method="OnClick"/>
|
|
<OnEnter method="OnEnter"/>
|
|
<OnLeave method="OnLeave"/>
|
|
<OnMouseUp method="OnMouseUp"/>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<ScrollFrame name="BtWQuestsCategoryTemplate" mixin="BtWQuestsCategoryMixin" inherits="UIPanelScrollFrameCodeTemplate" enableMouse="true" virtual="true">
|
|
</ScrollFrame>
|
|
|
|
<Button name="BtWQuestsMediumButtonTemplate" virtual="true">
|
|
<Size x="212" y="70"/>
|
|
<NormalTexture inherits="UI-BtWQuests-ExpansionMediumButton-Base"/>
|
|
<HighlightTexture inherits="UI-BtWQuests-ExpansionMediumButton-Highlight"/>
|
|
<ButtonText name="$parentText" parentKey="text">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</ButtonText>
|
|
<NormalFont style="Font-BtWQuests-ExpansionItemName"/>
|
|
</Button>
|
|
<Button name="BtWQuestsSmallButtonTemplate" virtual="true">
|
|
<Size x="212" y="40"/>
|
|
<NormalTexture inherits="UI-BtWQuests-ExpansionSmallButton-Base"/>
|
|
<HighlightTexture inherits="UI-BtWQuests-ExpansionSmallButton-Highlight"/>
|
|
<ButtonText name="$parentText" parentKey="text">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</ButtonText>
|
|
<NormalFont style="GameFontNormal"/>
|
|
</Button>
|
|
<Button name="BtWQuestsExpansionButtonTemplate" mixin="BtWQuestsExpansionButtonMixin" inherits="BtWQuestsMediumButtonTemplate" parentArray="Buttons" virtual="true">
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture parentKey="Active" inherits="UI-BtWQuests-ExpansionMediumButton-Active" hidden="true"/>
|
|
<FontString parentKey="Subtext" inherits="GameFontNormal" justifyH="CENTER">
|
|
<Size x="192" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" x="0" y="15"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<ButtonText name="$parentText" parentKey="text" maxLines="2" justifyV="MIDDLE" justifyH="CENTER">
|
|
<Size x="182" y="30"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" x="0" y="-13"/>
|
|
</Anchors>
|
|
</ButtonText>
|
|
<Scripts>
|
|
<OnClick method="OnClick"/>
|
|
<OnMouseUp>
|
|
if button == "RightButton" then
|
|
self:GetParent():GetParent():GetParent():ZoomOut()
|
|
end
|
|
</OnMouseUp>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="BtWQuestsExpansionTemplate" parentArray="Expansions" mixin="BtWQuestsExpansionMixin" virtual="true">
|
|
<Size x="232" y="416"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="Background" inherits="UI-BtWQuests-Expansion-Background"/>
|
|
</Layer>
|
|
<Layer level="BORDER">
|
|
<Texture parentKey="Base" inherits="UI-BtWQuests-Expansion-Base"/>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Name" inherits="Font-BtWQuests-ExpansionTitle">
|
|
<Size x="212" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" x="0" y="-25"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<CheckButton parentKey="AutoLoad">
|
|
<Size x="15" y="15"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" x="-30" y="-120"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall" text="Auto Load">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativePoint="RIGHT"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<HitRectInsets>
|
|
<AbsInset left="0" right="-100" top="0" bottom="0"/>
|
|
</HitRectInsets>
|
|
<Scripts>
|
|
<OnClick>
|
|
local item = self:GetParent().item
|
|
item:SetAutoLoad(not item:IsAutoLoad())
|
|
BtWQuestsFrame:Refresh()
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
|
|
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
|
|
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
|
|
</CheckButton>
|
|
<Button parentKey="ViewAll" inherits="BtWQuestsSmallButtonTemplate" text="BTWQUESTS_VIEW_ALL">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" y="10"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
local item = self:GetParent().item
|
|
BtWQuestsFrame:SelectExpansion(item:GetID())
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button parentKey="Load" inherits="BtWQuestsSmallButtonTemplate" text="LOAD_ADDON">
|
|
<Anchors>
|
|
<Anchor point="CENTER" y="10"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
local item = self:GetParent().item
|
|
BtWQuestsFrame:LoadExpansion(item:GetID())
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad method="OnLoad"/>
|
|
<OnMouseUp>
|
|
if button == "RightButton" then
|
|
self:GetParent():GetParent():ZoomOut()
|
|
end
|
|
</OnMouseUp>
|
|
</Scripts>
|
|
</Frame>
|
|
</Ui>
|