<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="PVPFrame.lua"/>
<!--Include file="PVPFrameTemplates.xml"/-->
<!-- PVP-Conquest-Misc size=1024,512
<Texture name="Pvp-Arena-TeamBox.png" >
<Size x="328" y="97"/>
<TexCoords left="0.00097656" right="0.32128906" top="0.00195313" bottom="0.19140625"/>
</Texture>
<Texture name="Pvp-Enabled-Bg.png" >
<Size x="322" y="71"/>
<TexCoords left="0.00097656" right="0.31542969" top="0.19531250" bottom="0.33398438"/>
</Texture>
<Texture name="Pvp-Arena-Bg.png" >
<Size x="321" y="280"/>
<TexCoords left="0.00097656" right="0.31445313" top="0.33789063" bottom="0.88476563"/>
</Texture>
<Texture name="Pvp-Party-Bg.png" >
<Size x="217" y="21"/>
<TexCoords left="0.00097656" right="0.21289063" top="0.88867188" bottom="0.92968750"/>
</Texture>
<Texture name="Pvp-Arena-Header.png" >
<Size x="85" y="32"/>
<TexCoords left="0.00097656" right="0.08398438" top="0.93359375" bottom="0.99609375"/>
</Texture>
<Texture name="Pvp-Arena-HeaderSelected.png" >
<Size x="85" y="32"/>
<TexCoords left="0.08593750" right="0.16894531" top="0.93359375" bottom="0.99609375"/>
</Texture>
<Texture name="Pvp-Battleground-Bg.png" >
<Size x="321" y="280"/>
<TexCoords left="0.32324219" right="0.63671875" top="0.00195313" bottom="0.54882813"/>
</Texture>
<Texture name="Pvp-Arena-TeamsBg.png" >
<Size x="321" y="193"/>
<TexCoords left="0.32324219" right="0.63671875" top="0.55273438" bottom="0.92968750"/>
</Texture>
<Texture name="Pvp-Disabled-Bg.png" >
<Size x="314" y="60"/>
<TexCoords left="0.63867188" right="0.94531250" top="0.00195313" bottom="0.11914063"/>
</Texture>
<Texture name="Pvp-Dialog-Frame.png" >
<Size x="293" y="128"/>
<TexCoords left="0.63867188" right="0.92480469" top="0.12304688" bottom="0.37304688"/>
</Texture>
<Texture name="Pvp-Dialog-Ring.png" >
<Size x="70" y="71"/>
<TexCoords left="0.92675781" right="0.99511719" top="0.12304688" bottom="0.26171875"/>
</Texture>
<Texture name="Pvp-Arena-FlagHighlight.png" >
<Size x="112" y="114"/>
<TexCoords left="0.63867188" right="0.74804688" top="0.37695313" bottom="0.59960938"/>
</Texture>
<Texture name="Pvp-Horde.png" >
<Size x="55" y="66"/>
<TexCoords left="0.63867188" right="0.69238281" top="0.60351563" bottom="0.73242188"/>
</Texture>
<Texture name="Pvp-Alliance.png" >
<Size x="55" y="64"/>
<TexCoords left="0.69433594" right="0.74804688" top="0.60351563" bottom="0.72851563"/>
</Texture>
-->
<ScrollFrame name="PVPQueueInfoScrollFrameTemplate" inherits="UIPanelScrollFrameTemplate" virtual="true">
<Size x="298" y="230"/>
<Anchors>
<Anchor point="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="scrollBarBackground">
<Size x="25" y="84"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="5"/>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="-2"/>
</Anchors>
<Color r="0" g="0" b="0" a="0.7"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar" parentKey="scrollBarArtTop">
<Size x="30" y="128"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-3" y="5"/>
</Anchors>
<TexCoords left="0" right="0.46875" top="0.0" bottom="1.0"/>
</Texture>
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar" parentKey="scrollBarArtBottom">
<Size x="30" y="128"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-3" y="-2"/>
</Anchors>
<TexCoords left="0.53125" right="1.0" top="0.0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.scrollBarHideable = true;
ScrollFrame_OnLoad(self);
ScrollFrame_OnScrollRangeChanged(self);
local scrollBar = _G[self:GetName().."ScrollBar"];
self.scrollBarBackground:SetParent(scrollBar);
self.scrollBarArtTop:SetParent(scrollBar);
self.scrollBarArtBottom:SetParent(scrollBar);
self.defaultWidth = self:GetWidth();
local resizeFunc = function(scrollBar)
if ( scrollBar:IsShown() ) then
self:SetWidth(self.defaultWidth);
else
self:SetWidth(self.defaultWidth + scrollBar:GetWidth() + 7);
end
end
scrollBar:SetScript("OnHide", resizeFunc);
scrollBar:SetScript("OnShow", resizeFunc);
resizeFunc(scrollBar);
</OnLoad>
</Scripts>
<ScrollChild>
<Frame name="$parentChildFrame">
<Size x="1" y="1"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentDescription" inherits="GameFontBlackMedium" justifyH="LEFT" justifyV="TOP" text="">
<Size x="275" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" x="15" y="-15"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentRewardsInfo">
<Size x="298" y="232"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentTitle" inherits="QuestTitleFontBlackShadow" justifyH="LEFT" parentKey="title" text="RANDOM_BATTLEGROUND">
<Anchors>
<Anchor point="TOPLEFT" x="20" y="-15"/>
</Anchors>
</FontString>
<FontString name="$parentDescription" inherits="QuestFont" justifyH="LEFT" parentKey="description" text="RANDOM_BATTLEGROUND_EXPLANATION">
<Size x="280" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT" x="0" y="-5"/>
</Anchors>
</FontString>
<FontString name="$parentRewardsLabel" inherits="QuestTitleFontBlackShadow" justifyH="LEFT" parentKey="rewardsLabel" text="LFD_REWARDS">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentDescription" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentWinReward" parentKey="winReward">
<Size x="319" y="40"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentRewardsLabel" relativePoint="BOTTOMLEFT" x="-19" y="-15"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true">
<Color r="0.0" g="0.439" b="0.0" a="0.2"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentLabel" inherits="GameFontHighlightMedium" text="WIN" justifyH="CENTER">
<Size x="90" y="10"/>
<Anchors>
<Anchor point="LEFT" x="5" y="0"/>
</Anchors>
</FontString>
<Texture name="$parentHonorSymbol" parentKey="honorSymbol">
<Size x="48" y="48"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLabel" relativePoint="RIGHT" x="5" y="0"/>
</Anchors>
</Texture>
<FontString name="$parentHonorAmount" inherits="NumberFontNormalLarge" justifyH="LEFT" parentKey="honorAmount">
<Size x="55" y="12"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentHonorSymbol" relativePoint="RIGHT" x="3" y="0"/>
</Anchors>
</FontString>
<Texture name="$parentArenaSymbol" parentKey="arenaSymbol">
<Size x="48" y="48"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentHonorAmount" relativePoint="RIGHT" x="5" y="0"/>
</Anchors>
</Texture>
<FontString name="$parentArenaAmount" inherits="NumberFontNormalLarge" justifyH="LEFT" parentKey="arenaAmount">
<Size x="65" y="12"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentArenaSymbol" relativePoint="RIGHT" x="3" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="$parentLossReward" parentKey="lossReward">
<Size>
<AbsDimension x="319" y="40"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWinReward" relativePoint="BOTTOMLEFT">
<Offset x="0" y="-2"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true">
<Color r="0.5608" g="0" b="0" a="0.2"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentLabel" inherits="GameFontHighlightMedium" text="LOSS" justifyH="CENTER">
<Size x="90" y="10"/>
<Anchors>
<Anchor point="LEFT" x="5" y="0"/>
</Anchors>
</FontString>
<Texture name="$parentHonorSymbol" parentKey="honorSymbol">
<Size x="48" y="48"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLabel" relativePoint="RIGHT" x="5" y="0"/>
</Anchors>
</Texture>
<FontString name="$parentHonorAmount" inherits="NumberFontNormalLarge" justifyH="LEFT" parentKey="honorAmount">
<Size x="55" y="12"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentHonorSymbol" relativePoint="RIGHT" x="3" y="0"/>
</Anchors>
</FontString>
<Texture name="$parentArenaSymbol" parentKey="arenaSymbol">
<Size x="48" y="48"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentHonorAmount" relativePoint="RIGHT" x="5" y="0"/>
</Anchors>
</Texture>
<FontString name="$parentArenaAmount" inherits="NumberFontNormalLarge" justifyH="LEFT" parentKey="arenaAmount">
<Size x="65" y="12"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentArenaSymbol" relativePoint="RIGHT" x="3" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
</Frame>
</Frames>
</Frame>
</ScrollChild>
</ScrollFrame>
<Frame name="PVPFrame" inherits="ButtonFrameTemplate" toplevel="true" enableMouse="true" parent="UIParent" hidden="true">
<Frames>
<Frame name="$parentCurrency">
<Size x="48" y="48"/>
<Anchors>
<Anchor point="TOP" x="0" y="-20"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon">
<Size x="48" y="48"/>
<Anchors>
<Anchor point="TOP"/>
</Anchors>
</Texture>
<FontString name="$parentLabel" inherits="GameFontNormal" text="BATTLEGROUNDS" justifyH="RIGHT">
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentIcon" relativePoint="LEFT" x="0"/>
</Anchors>
</FontString>
<FontString name="$parentValue" inherits="GameFontHighlight" text="0" justifyH="RIGHT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentIcon" relativePoint="RIGHT" x="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetCurrencyByID(self.currencyID);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Frame>
<!-- Tabs Honor, Conquest, Arena Teams -->
<Button name="$parentTab1" inherits="CharacterFrameTabButtonTemplate" id="1" text="HONOR">
<Anchors>
<Anchor point="BOTTOMLEFT" x="11" y="-31"/>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(MicroButtonTooltipText(HONOR, "TOGGLECHARACTER4"), 1.0,1.0,1.0 );
</OnEnter>
<OnClick>
PVPFrame_TabClicked(self);
PanelTemplates_Tab_OnClick(self, PVPFrame);
PlaySound("igCharacterInfoTab");
</OnClick>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="$parentTab2" inherits="CharacterFrameTabButtonTemplate" id="2" text="PVP_CONQUEST">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentTab1" relativePoint="RIGHT" x="-15" y="0"/>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(MicroButtonTooltipText(PVP_CONQUEST, "TOGGLECHARACTER4"), 1.0,1.0,1.0 );
</OnEnter>
<OnClick>
PVPFrame_TabClicked(self);
PanelTemplates_Tab_OnClick(self, PVPFrame);
PlaySound("igCharacterInfoTab");
</OnClick>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="$parentTab3" inherits="CharacterFrameTabButtonTemplate" id="3" text="ARENA">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentTab2" relativePoint="RIGHT" x="-15" y="0"/>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(MicroButtonTooltipText(ARENA, "TOGGLECHARACTER4"), 1.0,1.0,1.0 );
</OnEnter>
<OnClick>
PVPFrame_TabClicked(self);
PanelTemplates_Tab_OnClick(self, PVPFrame);
PlaySound("igCharacterInfoTab");
</OnClick>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="$parentTab4" inherits="CharacterFrameTabButtonTemplate" id="4" text="WARGAMES">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentTab3" relativePoint="RIGHT" x="-15" y="0"/>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(MicroButtonTooltipText(WARGAMES, "TOGGLECHARACTER4"), 1.0,1.0,1.0 );
</OnEnter>
<OnClick>
PVPFrame_TabClicked(self);
PanelTemplates_Tab_OnClick(self, PVPFrame);
PlaySound("igCharacterInfoTab");
</OnClick>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Frame name="$parentConquestBar" inherits="CapProgressBarTemplate">
<Size x="254" y="20"/>
<Anchors>
<Anchor point="TOP" x="20" y="-38"/>
</Anchors>
<Scripts>
<OnLoad>
CapProgressBar_SetNotches(self, 5);
self.cap1Marker:SetScript("OnEnter", PVPFrameConquestBarMarker_OnEnter);
self.progress:SetVertexColor(1, 0, 0)
</OnLoad>
<OnEnter function="PVPFrameConquestBar_OnEnter"/>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Frame>
<Frame name="$parentTopInset" useParentLevel="true" inherits="InsetFrameTemplate" parentKey="topInset" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" x="4" y="-60" />
<Anchor point="BOTTOMRIGHT" relativeTo="$parentInset" relativePoint="TOPRIGHT" x="0" y="22" />
</Anchors>
</Frame>
<!-- Magic Buttons -->
<Button name="$parentLeftButton" inherits="MagicButtonTemplate" text="BATTLEFIELD_JOIN" motionScriptsWhileDisabled="true" >
<Size x="108" y="22"/>
<Anchors>
<Anchor point="BOTTOMLEFT" />
</Anchors>
<Scripts>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
PVPFrame_JoinClicked(self);
</OnClick>
<OnEnter>
if not self:IsEnabled() and PVPConquestFrame:IsShown() then
local groupSize = GetNumGroupMembers();
if UnitIsGroupLeader("player") or groupSize == 1 then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(PVP_NO_QUEUE_GROUP, NORMAL_FONT_COLOR[1], NORMAL_FONT_COLOR[2], NORMAL_FONT_COLOR[3], 1, true);
else
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(PVP_NOT_LEADER, NORMAL_FONT_COLOR[1], NORMAL_FONT_COLOR[2], NORMAL_FONT_COLOR[3], 1, true);
end
end
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="$parentRightButton" inherits="MagicButtonTemplate" text="BATTLEFIELD_GROUP_JOIN">
<Size x="108" y="22"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" />
</Anchors>
<Scripts>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
PVPFrame_JoinClicked(self, true);
</OnClick>
</Scripts>
</Button>
<!-- main frames -->
<Frame name="PVPHonorFrame" enableMouse="true" hidden="true" parentKey="panel1">
<Anchors>
<Anchor point="TOPLEFT" x="8" y="-64"/>
<Anchor point="BOTTOMRIGHT" x="-11" y="28"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentBGTex" file="Interface\PVPFrame\PvpRandomBg">
<Anchors>
<Anchor point="BOTTOMLEFT" x="-7" y="0"/>
<Anchor point="BOTTOMRIGHT" x="8" y="0"/>
<Anchor point="TOP" x="0" y="-90"/>
</Anchors>
<TexCoords left="0.0" right="0.6504" top="0.0" bottom="0.9414"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="$parentBgButton1" inherits="PVPBattlegroundButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-2"/>
</Anchors>
<Scripts>
<OnClick function="PVPHonor_ButtonClicked"/>
<OnEnter function="PVPHonor_ButtonEnter"/>
<OnLeave function="PVPHonor_ButtonLeave"/>
</Scripts>
</Button>
<Button name="$parentBgButton2" inherits="PVPBattlegroundButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentBgButton1" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
</Anchors>
<Scripts>
<OnClick function="PVPHonor_ButtonClicked"/>
<OnEnter function="PVPHonor_ButtonEnter"/>
<OnLeave function="PVPHonor_ButtonLeave"/>
</Scripts>
</Button>
<Button name="$parentBgButton3" inherits="PVPBattlegroundButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentBgButton2" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
</Anchors>
<Scripts>
<OnClick function="PVPHonor_ButtonClicked"/>
<OnEnter function="PVPHonor_ButtonEnter"/>
<OnLeave function="PVPHonor_ButtonLeave"/>
</Scripts>
</Button>
<Button name="$parentBgButton4" inherits="PVPBattlegroundButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentBgButton3" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
</Anchors>
<Scripts>
<OnClick function="PVPHonor_ButtonClicked"/>
<OnEnter function="PVPHonor_ButtonEnter"/>
<OnLeave function="PVPHonor_ButtonLeave"/>
</Scripts>
</Button>
<Button name="$parentBgButton5" inherits="PVPBattlegroundButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentBgButton4" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
</Anchors>
<Scripts>
<OnClick function="PVPHonor_ButtonClicked"/>
<OnEnter function="PVPHonor_ButtonEnter"/>
<OnLeave function="PVPHonor_ButtonLeave"/>
</Scripts>
</Button>
<ScrollFrame name="$parentTypeScrollFrame" inherits="FauxScrollFrameTemplate" parentKey="bgTypeScrollFrame">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentBgButton1" x="0" y="2"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBgButton5" x="0" y="-5"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size x="30" y="84"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-3" y="5"/>
</Anchors>
<TexCoords left="0" right="0.46875" top="0.0" bottom="0.65625"/>
</Texture>
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size x="30" y="84"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-3" y="-2"/>
</Anchors>
<TexCoords left="0.53125" right="1.0" top="0.34375" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(self, offset, 16, PVPHonor_UpdateBattlegrounds)
</OnVerticalScroll>
</Scripts>
</ScrollFrame>
<ScrollFrame name="$parentInfoScrollFrame" inherits="PVPQueueInfoScrollFrameTemplate">
<Anchors>
<Anchor point="BOTTOM" x="0" y="0"/>
</Anchors>
</ScrollFrame>
</Frames>
<Scripts>
<OnLoad function="PVPHonorFrame_OnLoad"/>
<OnEvent function="PVPHonorFrame_OnEvent"/>
<OnShow function="PVPHonorFrame_OnShow"/>
</Scripts>
</Frame>
<Frame name="PVPConquestFrame" enableMouse="true" hidden="true" parentKey="panel2">
<Anchors>
<Anchor point="TOPLEFT" x="8" y="-64"/>
<Anchor point="BOTTOMRIGHT" x="-11" y="29"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentBG1" file="Interface\PVPFrame\PVP-Conquest-Misc" parentKey="BG">
<Size x="321" y="280"/>
<Anchors>
<Anchor point="BOTTOM"/>
</Anchors>
<TexCoords left="0.00097656" right="0.31445313" top="0.33789063" bottom="0.88476563"/>
</Texture>
<Texture name="$parentBarLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-HorizontalBar">
<Size x="256" y="16"/>
<Anchors>
<Anchor point="LEFT" x="-7" y="0"/>
<Anchor point="RIGHT" x="-69" y="0"/>
<Anchor point="BOTTOM" relativeTo="$parentBG1" relativePoint="TOP" x="0" y="-3"/>
</Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.25"/>
</Texture>
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-HorizontalBar">
<Size x="75" y="16"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentBarLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0" right="0.29296875" top="0.25" bottom="0.5"/>
</Texture>
<Texture name="$parentPartyStatusBG" parentKey="partyStatusBG" file="Interface\PVPFrame\PVP-Conquest-Misc">
<Size x="217" y="19"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" x="2" y="-24"/>
</Anchors>
<TexCoords left="0.00097656" right="0.21289063" top="0.88867188" bottom="0.92968750"/>
<Color r="1" g="0" b="0"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parentPartyNum" inherits="SystemFont_Med1" parentKey="partyNum">
<Size x="200" y="16"/>
<Anchors>
<Anchor point="CENTER" relativeTo="$parentPartyStatusBG"/>
</Anchors>
<Color r="1" g="0" b="0"/>
</FontString>
<FontString name="$parentTitle" inherits="QuestTitleFontBlackShadow" justifyH="LEFT" parentKey="title" text="ARENA_BATTLES">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentBG1" relativePoint="TOPLEFT" x="10" y="-35"/>
</Anchors>
</FontString>
<FontString name="$parentTopRatingText" inherits="GameFontHighlight" justifyH="RIGHT" parentKey="topRatingText" text="RATING">
<Size x="120" y="0"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBG1" relativePoint="TOPRIGHT" x="-10" y="-35"/>
</Anchors>
</FontString>
<FontString name="$parentDescription" inherits="GameFontHighlight" justifyH="LEFT" justifyV="TOP" parentKey="description" text="PVP_ARENA_EXPLANATION">
<Size x="290" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT" x="0" y="-8"/>
</Anchors>
</FontString>
<FontString name="$parentRewardLabel" inherits="QuestTitleFontBlackShadow" justifyH="LEFT" parentKey="rewardLabel" text="LFD_REWARDS">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT" x="0" y="-85"/>
</Anchors>
</FontString>
<FontString name="$parentRewardDescription" inherits="GameFontHighlight" justifyH="LEFT" parentKey="rewardDescription" text="PVP_REWARD_EXPLANATION">
<Size x="290" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentRewardLabel" relativePoint="BOTTOMLEFT" x="0" y="-5"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentInfoRollOver" parentKey="partyInfoRollOver">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentPartyStatusBG"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentPartyStatusBG"/>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:AddLine(self:GetParent().partyNum:GetText());
if self.tooltip then
GameTooltip:AddLine(self.tooltip, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
else
GameTooltip:AddLine(PVP_NO_QUEUE_GROUP, NORMAL_FONT_COLOR[1], NORMAL_FONT_COLOR[2], NORMAL_FONT_COLOR[3], 1);
end
GameTooltip:Show();
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Frame>
<Button name="$parentConquestButtonArena" inherits="PVPBattlegroundButtonTemplate" parentKey="arenaButton" id="1">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-5"/>
</Anchors>
<Scripts>
<OnClick function="PVPConquestFrame_ButtonClicked"/>
</Scripts>
</Button>
<Button name="$parentConquestButtonRated" inherits="PVPBattlegroundButtonTemplate" parentKey="ratedbgButton" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentConquestButtonArena" relativePoint="BOTTOMLEFT" y="-1"/>
</Anchors>
<Scripts>
<OnClick function="PVPConquestFrame_ButtonClicked"/>
</Scripts>
</Button>
<Frame name="$parentWinReward" parentKey="winReward">
<Size x="316" y="40"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentRewardDescription" relativePoint="TOPLEFT" x="-8" y="-22"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true">
<Color r="0.0" g="0.439" b="0.0" a="0.1"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentLabel" inherits="GameFontHighlightMedium" text="WIN" justifyH="LEFT">
<Size x="90" y="10"/>
<Anchors>
<Anchor point="LEFT" x="25" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentArenaAmount" inherits="GameFontHighlightMedium" justifyH="RIGHT" parentKey="winAmount" text="200">
<Size x="45" y="12"/>
<Anchors>
<Anchor point="RIGHT" x="-25" y="0"/>
</Anchors>
</FontString>
<Texture name="$parentArenaSymbol" parentKey="arenaSymbol">
<Size x="48" y="48"/>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentArenaAmount" relativePoint="LEFT" x="-5" y="0"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="$parentNoWeekly" inherits="GlowBoxTemplate" parentKey="noWeeklyFrame" hidden="true" enableMouse="true">
<Anchors>
<Anchor point="TOPLEFT" x="8" y="-174"/>
<Anchor point="BOTTOMRIGHT" x="-11" y="7"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentError" inherits="GameFontRedLarge" text="PVP_NO_WEEKLY_RATED_BG" justifyH="CENTER">
<Size x="280" y="0"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="$parentInfoButton" parentKey="infoButton">
<Size x="314" y="60"/>
<Anchors>
<Anchor point="TOP" relativeTo="$parentWinReward" relativePoint="BOTTOM" x="0" y="-10"/>
</Anchors>
<Layers>
<Layer level="BORDER">
<Texture name="$parentInfoBG" parentKey="bgNorm" file="Interface\PVPFrame\PVP-Conquest-Misc">
<Size x="314" y="60"/>
<TexCoords left="0.00097656" right="0.31242969" top="0.20531250" bottom="0.32098438"/>
</Texture>
<Texture name="$parentInfoBGOff" parentKey="bgOff" file="Interface\PVPFrame\PVP-Conquest-Misc" hidden="true">
<Size x="314" y="60"/>
<Anchors>
<Anchor point="BOTTOM" relativeTo="$parentInfoBG"/>
</Anchors>
<TexCoords left="0.63867188" right="0.94531250" top="0.00195313" bottom="0.11914063"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentInfoIconHorde" file="Interface\PVPFrame\PVP-Conquest-Misc" hidden="true">
<Size x="55" y="66"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentInfoBG" x="5" y="0"/>
</Anchors>
<TexCoords left="0.63867188" right="0.69238281" top="0.60351563" bottom="0.73242188"/>
</Texture>
<Texture name="$parentInfoIconAlliance" file="Interface\PVPFrame\PVP-Conquest-Misc" hidden="true">
<Size x="55" y="64"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentInfoBG" x="5" y="0"/>
</Anchors>
<TexCoords left="0.69433594" right="0.74804688" top="0.60351563" bottom="0.72851563"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parentTitle" inherits="GameFontNormalMed3" justifyH="LEFT" parentKey="title" text="ARENA_BATTLES">
<Size x="175" y="12"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentInfoIconHorde" relativePoint="TOPRIGHT" x="0" y="-13"/>
</Anchors>
</FontString>
<FontString name="$parentWins" inherits="GameFontNormal" justifyH="LEFT" parentKey="wins" text="WINS">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT" x="3" y="-6"/>
</Anchors>
</FontString>
<FontString name="$parentWinsValue" inherits="GameFontHighlightSmall" justifyH="LEFT" parentKey="winsValue" text="0">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentWins" relativePoint="BOTTOMRIGHT" x="4" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentLosses" inherits="GameFontNormal" justifyH="LEFT" parentKey="losses" text="LOSSES">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentWinsValue" relativePoint="BOTTOMRIGHT" x="14" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentLossesValue" inherits="GameFontHighlightSmall" justifyH="LEFT" parentKey="lossesValue" text="0">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentLosses" relativePoint="BOTTOMRIGHT" x="4" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentTopLeftText" inherits="GameFontNormal" justifyH="CENTER" parentKey="topLeftText" text="ARENA_THIS_WEEK">
<Size x="84" y="12"/>
<Anchors>
<Anchor point="TOPRIGHT" x="-4" y="-13"/>
</Anchors>
</FontString>
<FontString name="$parentBottomLeftText" inherits="GameFontNormalLarge" justifyH="CENTER" parentKey="bottomLeftText" text="ARENA_5V5">
<Anchors>
<Anchor point="TOP" relativeTo="$parentTopLeftText" relativePoint="BOTTOM" y="-5"/>
</Anchors>
</FontString>
<FontString name="$parentArenaError" inherits="GameFontNormalSmall" justifyH="LEFT" parentKey="arenaError" text="PVP_ARENA_PARTY_ERROR">
<Size x="253" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<!--
<HighlightTexture file="Interface\PVPFrame\PVP-Conquest-Misc" alphaMode="ADD">
<Size x="314" y="60"/>
<TexCoords left="0.00097656" right="0.31242969" top="0.20531250" bottom="0.32098438"/>
<Color r="1.0" g="1.0" b="0.3" a="0.5"/>
</HighlightTexture>
<PushedTexture file="Interface\PVPFrame\PVP-Conquest-Misc" alphaMode="ADD">
<Size x="314" y="60"/>
<TexCoords left="0.00097656" right="0.31242969" top="0.20531250" bottom="0.32098438"/>
<Color r="0.5" g="0.5" b="1.0" a="0.5"/>
</PushedTexture>
<Scripts>
<OnClick>
PVPFrame_JoinClicked(self);
</OnClick>
</Scripts>
-->
</Frame>
</Frames>
<Scripts>
<OnLoad function="PVPConquestFrame_OnLoad"/>
<OnShow function="PVPConquestFrame_OnShow"/>
<OnEvent function="PVPConquestFrame_OnEvent"/>
</Scripts>
</Frame>
<Frame name="PVPTeamManagementFrame" enableMouse="true" hidden="true" parentKey="panel3">
<Anchors>
<Anchor point="TOPLEFT" x="8" y="-64"/>
<Anchor point="BOTTOMRIGHT" x="-11" y="28"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBG" file="Interface\PVPFrame\PVP-Conquest-Misc">
<Size x="321" y="193"/>
<Anchors>
<Anchor point="TOP"/>
</Anchors>
<TexCoords left="0.32324219" right="0.63671875" top="0.55273438" bottom="0.92968750"/>
</Texture>
</Layer>
<Layer level="BORDER">
<Texture name="$parentInfoBG" file="Interface\PVPFrame\PVP-Conquest-Misc">
<Size x="328" y="97"/>
<Anchors>
<Anchor point="BOTTOM" relativeTo="$parentBG" y="-6"/>
</Anchors>
<TexCoords left="0.00097656" right="0.32128906" top="0.00195313" bottom="0.19140625"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="$parentWeeklyToggleRight" parentKey="weeklyToggleRight">
<Size x="24" y="24"/>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="-5" y="-2"/>
</Anchors>
<Scripts>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
PVPTeamManagementFrame_ToggleSeasonal(self);
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
</Button>
<Frame name="$parentWeeklyDisplay">
<Size x="140" y="20"/>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentWeeklyToggleRight" relativePoint="LEFT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
<Size x="8" y="20"/>
<Anchors>
<Anchor point="TOPLEFT" x="-5" y="0"/>
</Anchors>
<TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
</Texture>
<Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
<Size x="8" y="20"/>
<Anchors>
<Anchor point="RIGHT" x="0" y="0"/>
</Anchors>
<TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
<Size x="10" y="20"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
</Anchors>
<TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<FontString name="PvP_WeeklyText" inherits="GameFontNormal">
<Anchors>
<Anchor point="CENTER" y="1"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="$parentWeeklyToggleLeft" parentKey="weeklyToggleLeft">
<Size x="24" y="24"/>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentWeeklyDisplay" relativePoint="LEFT" x="-2" y="0"/>
</Anchors>
<Scripts>
<OnClick>
PlaySound("igMainMenuOptionCheckBoxOn");
PVPTeamManagementFrame_ToggleSeasonal(self);
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
</Button>
<Button name="$parentFlag2" inherits="PVPArenaTeamFlagTemplate" parentKey="flag2">
<Anchors>
<Anchor point="TOPLEFT" x="1" y="1"/>
</Anchors>
<Scripts>
<OnClick function="PVPTeamManagementFrame_FlagClicked"/>
</Scripts>
</Button>
<Button name="$parentFlag3" inherits="PVPArenaTeamFlagTemplate" parentKey="flag3">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentFlag2" relativePoint="RIGHT" x="-12" y="0"/>
</Anchors>
<Scripts>
<OnClick function="PVPTeamManagementFrame_FlagClicked"/>
</Scripts>
</Button>
<Button name="$parentFlag5" inherits="PVPArenaTeamFlagTemplate" parentKey="flag5">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentFlag3" relativePoint="RIGHT" x="-12" y="0"/>
</Anchors>
<Scripts>
<OnClick function="PVPTeamManagementFrame_FlagClicked"/>
</Scripts>
</Button>
<Button name="$parentHeader1" inherits="PVPTeamDetailsFrameColumnHeaderTemplate" text="NAME">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentInfoBG" relativePoint="BOTTOMLEFT" x="8" y="1"/>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 130);
self.sortType = "name";
</OnLoad>
</Scripts>
</Button>
<Button name="$parentHeader2" inherits="PVPTeamDetailsFrameColumnHeaderTemplate" text="PLAYED">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentHeader1" relativePoint="RIGHT" x="-2" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 55);
self.sortType = "played";
</OnLoad>
</Scripts>
</Button>
<Button name="$parentHeader3" inherits="PVPTeamDetailsFrameColumnHeaderTemplate" text="WIN_LOSS">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentHeader2" relativePoint="RIGHT" x="-2" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 75);
self:GetFontString():SetWidth(75); --Deal with a problem of size in Russian client
self.sortType = "won";
</OnLoad>
</Scripts>
</Button>
<Button name="$parentHeader4" inherits="PVPTeamDetailsFrameColumnHeaderTemplate" text="RATING">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentHeader3" relativePoint="RIGHT" x="-2" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 59);
self.sortType = "rating";
</OnLoad>
</Scripts>
</Button>
<Button name="$parentTeamMemberButton1" inherits="PVPTeamMemberButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentHeader1" relativePoint="BOTTOMLEFT" x="-4" y="-2"/>
</Anchors>
</Button>
<Button name="$parentTeamMemberButton2" inherits="PVPTeamMemberButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTeamMemberButton1" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
</Anchors>
</Button>
<Button name="$parentTeamMemberButton3" inherits="PVPTeamMemberButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTeamMemberButton2" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
</Anchors>
</Button>
<Button name="$parentTeamMemberButton4" inherits="PVPTeamMemberButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTeamMemberButton3" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
</Anchors>
</Button>
<Button name="$parentTeamMemberButton5" inherits="PVPTeamMemberButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTeamMemberButton4" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
</Anchors>
</Button>
<Button name="$parentTeamMemberButton6" inherits="PVPTeamMemberButtonTemplate" id="6">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTeamMemberButton5" relativePoint="BOTTOMLEFT" x="0" y="-1"/>
</Anchors>
</Button>
<ScrollFrame name="$parentTeamScrollFrame" inherits="FauxScrollFrameTemplate" parentKey="teamMemberScrollFrame">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTeamMemberButton1" x="0" y="-0"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentTeamMemberButton6" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size x="30" y="84"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-3" y="5"/>
</Anchors>
<TexCoords left="0" right="0.46875" top="0.0" bottom="0.65625"/>
</Texture>
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size x="30" y="84"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-3" y="-2"/>
</Anchors>
<TexCoords left="0.53125" right="1.0" top="0.34375" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(self, offset, 18, PVPTeamManagementFrame_TeamInfo_OnScroll)
</OnVerticalScroll>
</Scripts>
</ScrollFrame>
<Frame name="$parentTeamDropDown" inherits="UIDropDownMenuTemplate"/>
<Frame name="$parentTeamData" inherits="PVPTeamDataTemplate" parentKey="TeamData" hidden="true">
<Anchors>
<Anchor point="CENTER" relativeTo="$parentInfoBG"/>
</Anchors>
</Frame>
<Frame name="$parentNoTeamsFrame" inherits="GlowBoxTemplate" parentKey="noTeams" hidden="true" enableMouse="true">
<Anchors>
<Anchor point="TOPLEFT" x="-3" y="-112"/>
<Anchor point="BOTTOMRIGHT" x="5" y="2"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentTitle" inherits="QuestTitleFontBlackShadow" text="ARENA_TEAMS" justifyH="CENTER">
<Anchors>
<Anchor point="TOP" x="0" y="-20"/>
</Anchors>
</FontString>
<FontString inherits="GameFontRed" text="ARENA_TEAMS_INVALID_WARNING" justifyH="CENTER">
<Size x="280" y="0"/>
<Anchors>
<Anchor point="TOP" relativeTo="$parentTitle" relativePoint="BOTTOM" x="0" y="-6"/>
</Anchors>
</FontString>
<FontString name="$parentInfo" inherits="GameFontHighlight" text="ARENA_INFO" justifyH="LEFT">
<Size x="280" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" x="20" y="-95"/>
</Anchors>
</FontString>
<FontString inherits="GameFontNormal" text="ARENA_CREATE_INFO" justifyH="LEFT">
<Size x="280" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentInfo" relativePoint="BOTTOMLEFT" x="0" y="-15"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="$parentInvalidTeamFrame" inherits="GlowBoxTemplate" parentKey="invalidTeam" hidden="true">
<Size x="295" y="35"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTeamData" relativePoint="TOPLEFT" x="9" y="-31"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentInfo" parentKey="text" inherits="GameFontHighlightSmall" text="ARENA_CAPTAIN_INVALID_TEAM" justifyH="LEFT">
<Size x="280" y="0"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
<OnLoad function="PVPTeamManagementFrame_OnLoad"/>
<OnShow function="PVPTeamManagementFrame_OnShow"/>
<OnEvent function="PVPTeamManagementFrame_OnEvent"/>
</Scripts>
</Frame>
<Frame name="WarGamesFrame" enableMouse="true" hidden="true" parentKey="panel4">
<Anchors>
<Anchor point="TOPLEFT" x="8" y="-64"/>
<Anchor point="BOTTOMRIGHT" x="-11" y="28"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBGTex" file="Interface\PVPFrame\PvpRandomBg">
<Anchors>
<Anchor point="BOTTOMLEFT" x="-7" y="0"/>
<Anchor point="BOTTOMRIGHT" x="8" y="0"/>
<Anchor point="TOP" x="0" y="-204"/>
</Anchors>
<TexCoords left="0.0" right="0.6504" top="0.0" bottom="0.9414"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentBarLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-HorizontalBar">
<Size x="256" y="16"/>
<Anchors>
<Anchor point="LEFT" x="-7" y="0"/>
<Anchor point="RIGHT" x="-69" y="0"/>
<Anchor point="TOP" relativeTo="$parentBGTex" x="0" y="4"/>
</Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.25"/>
</Texture>
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-HorizontalBar">
<Size x="75" y="16"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentBarLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0" right="0.29296875" top="0.25" bottom="0.5"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="WarGameStartButton" inherits="MagicButtonTemplate" text="START_WARGAME" motionScriptsWhileDisabled="true">
<Size x="130" y="22"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="PVPFrameLeftButton"/>
</Anchors>
<Scripts>
<OnClick function="WarGameStartButton_OnClick"/>
<OnEnter function="WarGameStartButton_OnEnter"/>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<ScrollFrame name="$parentScrollFrame" inherits="HybridScrollFrameTemplate" parentKey="scrollFrame">
<Size x="302" y="202"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Frames>
<Slider name="$parentScrollBar" inherits="HybridScrollBarTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="-12"/>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="11"/>
</Anchors>
</Slider>
</Frames>
</ScrollFrame>
<ScrollFrame name="$parentInfoScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size x="298" y="120"/>
<Anchors>
<Anchor point="BOTTOMLEFT" x="0" y="2"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture parentKey="scrollBarBackground">
<Size x="25" y="84"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="5"/>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="-2"/>
</Anchors>
<Color r="0" g="0" b="0" a="0.7"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar" parentKey="scrollBarArtTop">
<Size x="30" y="128"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-3" y="3"/>
</Anchors>
<TexCoords left="0" right="0.46875" top="0.0" bottom="1.0"/>
</Texture>
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar" parentKey="scrollBarArtBottom">
<Size x="30" y="128"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-3" y="-4"/>
</Anchors>
<TexCoords left="0.53125" right="1.0" top="0.0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.scrollBarHideable = true;
ScrollFrame_OnLoad(self);
ScrollFrame_OnScrollRangeChanged(self);
local scrollBar = _G[self:GetName().."ScrollBar"];
self.scrollBarBackground:SetParent(scrollBar);
self.scrollBarArtTop:SetParent(scrollBar);
self.scrollBarArtBottom:SetParent(scrollBar);
scrollBar:SetPoint("TOPLEFT", self, "TOPRIGHT", 6, -18);
scrollBar:SetPoint("BOTTOMLEFT", self, "BOTTOMRIGHT", 6, 14);
self.defaultWidth = self:GetWidth();
local resizeFunc = function(scrollBar)
if ( scrollBar:IsShown() ) then
self:SetWidth(self.defaultWidth);
else
self:SetWidth(self.defaultWidth + scrollBar:GetWidth() + 7);
end
end
scrollBar:SetScript("OnHide", resizeFunc);
scrollBar:SetScript("OnShow", resizeFunc);
resizeFunc(scrollBar);
</OnLoad>
</Scripts>
<ScrollChild>
<Frame name="$parentChildFrame">
<Size x="1" y="1"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="WarGamesFrameDescription" inherits="GameFontBlackMedium" justifyH="LEFT" justifyV="TOP" text="WARGAME_TOOLTIP">
<Size x="275" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" x="15" y="-15"/>
</Anchors>
</FontString>
<Texture name="$parentSpacer">
<Size x="15" y="15"/>
<Anchors>
<Anchor point="TOP" relativeTo="WarGamesFrameDescription" relativePoint="BOTTOM" x="0" y="0"/>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
</ScrollChild>
</ScrollFrame>
</Frames>
<Scripts>
<OnLoad function="WarGamesFrame_OnLoad"/>
<OnEvent function="WarGamesFrame_OnEvent"/>
<OnShow function="WarGamesFrame_OnShow"/>
</Scripts>
</Frame>
<Frame name="$parentLowLevelFrame" inherits="GlowBoxTemplate" parentKey="lowLevelFrame" hidden="true" enableMouse="true">
<Anchors>
<Anchor point="TOPLEFT" x="8" y="-64"/>
<Anchor point="BOTTOMRIGHT" x="-11" y="29"/>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentTitle" inherits="QuestTitleFontBlackShadow" text="ARENA_TEAMS" justifyH="CENTER" parentKey="title">
<Size x="280" y="0"/>
<Anchors>
<Anchor point="TOP" x="0" y="-60"/>
</Anchors>
</FontString>
<FontString name="$parentError" inherits="GameFontRed" text="ARENA_TEAMS_INVALID_WARNING" justifyH="CENTER" parentKey="error" >
<Size x="280" y="0"/>
<Anchors>
<Anchor point="TOP" relativeTo="$parentTitle" relativePoint="BOTTOM" x="0" y="-6"/>
</Anchors>
</FontString>
<FontString name="$parentInfo" inherits="GameFontHighlight" text="ARENA_INFO" justifyH="CENTER" justifyV="TOP" parentKey="description">
<Size x="280" y="180"/>
<Anchors>
<Anchor point="TOP" relativeTo="$parentError" relativePoint="BOTTOM" x="0" y="-15"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
<OnShow function="PVPFrame_OnShow"/>
<OnHide function="PVPFrame_OnHide"/>
<OnLoad function="PVPFrame_OnLoad"/>
<OnEvent function="PVPFrame_OnEvent"/>
</Scripts>
</Frame>
<Frame name="PVPTimerFrame"/>
<Frame name="PVPFramePopup" parent="UIParent" frameStrata="DIALOG" hidden="true">
<Size x="306" y="193"/>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="BORDER">
<Texture name="$parentBackground" file="Interface\PVPFrame\PVP-Conquest-Misc" >
<Size x="293" y="128"/>
<Anchors>
<Anchor point="TOP" x="0" y="-11"/>
</Anchors>
<TexCoords left="0.63867188" right="0.92480469" top="0.12304688" bottom="0.37304688"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentRingIcon" parentKey="ringIcon">
<Size x="60" y="60"/>
<Anchors>
<Anchor point="BOTTOM" x="-4" y="61"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentRing" file="Interface\PVPFrame\PVP-Conquest-Misc" >
<Size x="70" y="71"/>
<Anchors>
<Anchor point="CENTER" relativeTo="$parentRingIcon"/>
</Anchors>
<TexCoords left="0.92675781" right="0.99511719" top="0.12304688" bottom="0.26171875"/>
</Texture>
<FontString name="$parentTitle" parentKey="title" inherits="GameFontHighlight" justifyH="CENTER" justifyV="CENTER">
<Size x="240" y="48"/>
<Anchors>
<Anchor point="TOP" x="0" y="-24"/>
</Anchors>
</FontString>
<FontString name="$parentTimer" inherits="GameFontHighlightExtraSmall" parentKey="timer">
<Anchors>
<Anchor point="RIGHT" x="-40" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentMinimizeButton" parentKey="minimizeButton">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="TOPRIGHT" x="-4" y="-6"/>
</Anchors>
<Scripts>
<OnClick>
PlaySound("igCharacterInfoTab");
StaticPopupSpecial_Hide(PVPFrameReadyPopup);
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-Panel-HideButton-Up"/>
<PushedTexture file="Interface\Buttons\UI-Panel-HideButton-Down"/>
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
</Button>
<Button name="$parentAcceptButton" inherits="UIPanelButtonTemplate" text="ACCEPT">
<Size x="115" y="22"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOM" x="-7" y="25"/>
</Anchors>
<Scripts>
<OnClick>
PlaySound("igCharacterInfoTab");
PVPFramePopup_OnResponse(true);
</OnClick>
</Scripts>
</Button>
<Button name="$parentDeclineButton" inherits="UIPanelButtonTemplate" text="DECLINE">
<Size x="115" y="22"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOM" x="7" y="25"/>
</Anchors>
<Scripts>
<OnClick>
PlaySound("igCharacterInfoTab");
PVPFramePopup_OnResponse(false);
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad function="PVPFramePopup_OnLoad"/>
<OnUpdate function="PVPFramePopup_OnUpdate"/>
<OnEvent function="PVPFramePopup_OnEvent"/>
</Scripts>
</Frame>
</Ui>