3.0.1.8634/FrameXML/ArenaFrame.xml
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
	<Script file="ArenaFrame.lua"/>
	<Button name="ArenaButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="315" y="16"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentStatus" inherits="GameFontNormal">
					<Anchors>
						<Anchor point="RIGHT">
							<Offset>
								<AbsDimension x="-10" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				getglobal(self:GetName().."Highlight"):SetVertexColor(1.0, 0.82, 0);
			</OnLoad>
			<OnClick>
				ArenaButton_OnClick(self:GetID());
			</OnClick>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
		<HighlightTexture name="$parentHighlight" file="Interface\Buttons\UI-Listbox-Highlight2" alphaMode="ADD"/>
		<ButtonText name="$parentText">
			<Size>
				<AbsDimension x="0" y="0"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="5" y="1"/>
					</Offset>
				</Anchor>
			</Anchors>
		</ButtonText>
		<NormalFont style="GameFontNormalLeft"/>
		<HighlightFont style="GameFontHighlightLeft"/>
	</Button>
	<Frame name="ArenaFrame" toplevel="true" movable="true" parent="UIParent" enableMouse="true" hidden="true">
		<Size>
			<AbsDimension x="384" y="512"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="0" y="-104"/>
				</Offset>
			</Anchor>
		</Anchors>
		<HitRectInsets>
			<AbsInset left="0" right="34" top="0" bottom="75"/>
		</HitRectInsets>
		<Layers>
			<Layer level="BACKGROUND">
          <Texture name="ArenaFramePortrait" file="Interface\BattlefieldFrame\UI-Battlefield-Icon">
              <Size>
                  <AbsDimension x="60" y="60"/>
              </Size>
              <Anchors>
                  <Anchor point="TOPLEFT">
                      <Offset>
                          <AbsDimension x="7" y="-6"/>
                      </Offset>
                  </Anchor>
              </Anchors>
          </Texture>
      </Layer>
			<Layer level="BORDER">
				<Texture file="Interface\BattlefieldFrame\UI-Battlefield-TopLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\BattlefieldFrame\UI-Battlefield-TopRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\BattlefieldFrame\UI-Battlefield-BotLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\BattlefieldFrame\UI-Battlefield-BotRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
				<FontString name="$parentFrameLabel" inherits="GameFontNormal" text="ARENA_BATTLES">
					<Anchors>
						<Anchor point="TOP" relativeTo="BattlefieldFrame" relativePoint="TOP">
							<Offset>
								<AbsDimension x="0" y="-17"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentNameHeader" inherits="GameFontHighlight" text="ARENA_RATED_BATTLE">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="75" y="-55"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentZoneDescription" inherits="GameFontBlack" justifyH="LEFT" justifyV="TOP" text="ARENA_MASTER_TEXT">
					<Size>
						<AbsDimension x="293" y="115"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="30" y="-290"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="$parentDivider" file="Interface\BattlefieldFrame\UI-Battlefield-Bar">
					<Size>
						<AbsDimension x="513" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ArenaFrame" relativePoint="LEFT">
							<Offset>
								<AbsDimension x="14" y="95"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="$parentNameHeader2" inherits="GameFontHighlight" text="ARENA_PRACTICE_BATTLE">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentDivider" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="14" y="-9"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="ArenaZone1" inherits="ArenaButtonTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ArenaFrame">
						<Offset>
							<AbsDimension x="23" y="-79"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ArenaZone2" inherits="ArenaButtonTemplate" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ArenaZone1" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ArenaZone3" inherits="ArenaButtonTemplate" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ArenaZone2" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ArenaZone4" inherits="ArenaButtonTemplate" id="4">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ArenaZone3">
						<Offset>
							<AbsDimension x="0" y="-85"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ArenaZone5" inherits="ArenaButtonTemplate" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ArenaZone4" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ArenaZone6" inherits="ArenaButtonTemplate" id="6">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ArenaZone5" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ArenaFrameCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
				<Size>
					<AbsDimension x="83" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativeTo="ArenaFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="305" y="-423"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						HideUIPanel(self:GetParent());
					</OnClick>
				</Scripts>
			</Button>
			<Button name="ArenaFrameJoinButton" inherits="UIPanelButtonTemplate" text="BATTLEFIELD_JOIN">
				<Size>
					<AbsDimension x="109" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="ArenaFrameCancelButton" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="-2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ArenaFrameJoinButton_OnClick();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="ArenaFrameGroupJoinButton" inherits="UIPanelButtonTemplate" text="BATTLEFIELD_GROUP_JOIN">
				<Size>
					<AbsDimension x="136" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="ArenaFrameJoinButton" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ArenaFrameJoinButton_OnClick(1);
					</OnClick>
					<OnEnter>
						GameTooltip_SetDefaultAnchor(GameTooltip, self)
						GameTooltip:SetText(BATTLEFIELD_GROUP_JOIN, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
						GameTooltip:AddLine(NEWBIE_TOOLTIP_BATTLEFIELD_GROUP_JOIN, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
						GameTooltip:Show();
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			<Button name="ArenaFrameCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="ArenaFrame" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-29" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				ArenaFrame_OnLoad(self);
			</OnLoad>
			<OnEvent>
				ArenaFrame_OnEvent(self, event, ...);
			</OnEvent>
			<OnShow>
				PlaySound("igCharacterInfoOpen");
			</OnShow>
			<OnHide>
				CloseBattlefield();
				PlaySound("igCharacterInfoClose");
			</OnHide>
			<OnMouseWheel>
				return;
			</OnMouseWheel>
		</Scripts>
	</Frame>
</Ui>