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

5955 lines
193 KiB
XML

<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
<Script file="FriendsFrame.lua"/>
<Frame name="FriendsFrameHeaderTemplate" virtual="true" enableMouse="true">
<Size>
<AbsDimension x="302" y="16"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentTitle" inherits="GameFontHighlightLeft">
<Anchors>
<Anchor point="LEFT" x="5" y="1"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="FriendsFrameButtonTemplate" hidden="true" virtual="true">
<Size>
<AbsDimension x="298" y="20"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<FontString inherits="GameFontNormal" parentKey="text" />
<Texture name="$parentBackground" parentKey="background">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0" g="0.694" b="0.941" a="0.050"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentStatus" file="Interface\FriendsFrame\StatusIcon-Online" parentKey="status">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="4" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentGameIcon" file="Interface\FriendsFrame\Battlenet-WoWicon" parentKey="gameIcon">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="$parentName" inherits="FriendsFont_Normal" justifyH="LEFT" parentKey="name">
<Size>
<AbsDimension x="248" y="12"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-3"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0.510" g="0.773" b="1" />
</FontString>
<FontString name="$parentCompactInfo" inherits="FriendsFont_Small" justifyH="LEFT" parentKey="compactInfo" hidden="true">
<Size>
<AbsDimension x="260" y="10"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-5"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0.486" g="0.518" b="0.541" />
</FontString>
<FontString name="$parentInfo" inherits="FriendsFont_Small" justifyH="LEFT" parentKey="info">
<Size>
<AbsDimension x="260" y="10"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
</Anchors>
<Color r="0.486" g="0.518" b="0.541" />
</FontString>
<FontString name="$parentBroadcastMessage" inherits="FriendsFont_UserText" justifyH="LEFT" justifyV="TOP" parentKey="broadcastMessage" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentInfo" relativePoint="BOTTOMLEFT" x="20" y="-4"/>
</Anchors>
<Size>
<AbsDimension x="250" y="2"/>
</Size>
<Color r="0.345" g="0.667" b="0.867" />
</FontString>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentBroadcastIcon" file="Interface\FriendsFrame\BroadcastIcon" parentKey="broadcastIcon" hidden="true">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" x="20" y="-29"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="$parentSummonButton" inherits="ActionButtonTemplate" hidden="true" parentKey="summonButton">
<Size x="26" y="26"/>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="-4" y="-4"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentIcon"/>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentFlash" file="Interface\Buttons\UI-QuickslotRed" hidden="true"/>
<FontString name="$parentHotKey" inherits="NumberFontNormalSmallGray" justifyH="RIGHT">
<Size>
<AbsDimension x="32" y="10"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parentName" inherits="GameFontHighlightSmallOutline">
<Size>
<AbsDimension x="32" y="10"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Cooldown name="$parentCooldown" inherits="CooldownFrameTemplate">
<Size x="28" y="28"/>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Cooldown>
</Frames>
<Scripts>
<OnLoad>
_G[self:GetName().."Icon"]:SetTexture("Interface\\Icons\\Spell_Shadow_Teleport");
self:RegisterEvent("SPELL_UPDATE_COOLDOWN");
local normalTexture = _G[self:GetName().."NormalTexture"];
normalTexture:SetWidth(40);
normalTexture:SetHeight(40);
</OnLoad>
<OnEvent>
FriendsFrame_SummonButton_OnEvent(self, event, ...);
</OnEvent>
<OnShow>
FriendsFrame_SummonButton_OnShow(self);
</OnShow>
<OnClick>
FriendsFrame_ClickSummonButton(self, button, down);
</OnClick>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:AddLine(RAF_SUMMON_LINKED, 1, 1, 1, 1);
if ( self.duration ) then
GameTooltip:AddLine(COOLDOWN_REMAINING .. " " .. SecondsToTime(self.duration - (GetTime() - self.start)), 1, 1, 1, 1);
end
if ( SHOW_NEWBIE_TIPS == "1" ) then
GameTooltip:AddLine(NEWBIE_TOOLTIP_RAF_SUMMON_LINKED, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1)
end
GameTooltip:Show();
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
</Frames>
<HighlightTexture file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD" parentKey="highlight" />
<Scripts>
<OnLoad>
self.highlight:SetVertexColor(0.243, 0.570, 1);
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnEnter function="FriendsFrameTooltip_Show" />
<OnLeave>
FriendsTooltip.button = nil;
FriendsTooltip:Hide();
</OnLeave>
<OnClick>
FriendsFrameFriendButton_OnClick(self, button);
</OnClick>
</Scripts>
</Button>
<!--
<Button name="FriendsFrameButtonTemplate" virtual="true">
<Size>
<AbsDimension x="298" y="31"/>
</Size>
<Frames>
<Frame name="$parentButtonText" setAllPoints="true">
<Layers>
<Layer level="BORDER">
<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="10" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<Texture name="$parentLink" file="Interface/FriendsFrame/UI-FriendsFrame-Link" hidden="true">
<Size x="16" y="16"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
<FontString name="$parentLocation" inherits="GameFontNormal" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT"/>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="10" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentInfo" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT"/>
</Anchors>
</FontString>
<FontString name="$parentNoteHiddenText" inherits="GameFontNormalSmall" justifyH="LEFT" hidden="true">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentInfo" relativePoint="RIGHT">
<Offset x="5" y="0"/>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentNoteText" inherits="GameFontNormalSmall" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentInfo" relativePoint="RIGHT">
<Offset x="2" y="0"/>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentSummonButton" inherits="ActionButtonTemplate">
<Size x="24" y="24"/>
<Anchors>
<Anchor point="LEFT">
<Offset x="12" y="1"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentIcon"/>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentFlash" file="Interface\Buttons\UI-QuickslotRed" hidden="true"/>
<FontString name="$parentHotKey" inherits="NumberFontNormalSmallGray" justifyH="RIGHT">
<Size>
<AbsDimension x="32" y="10"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parentName" inherits="GameFontHighlightSmallOutline">
<Size>
<AbsDimension x="32" y="10"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Cooldown name="$parentCooldown" inherits="CooldownFrameTemplate">
<Size x="28" y="28"/>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Cooldown>
</Frames>
<Scripts>
<OnLoad>
_G[self:GetName().."Icon"]:SetTexture("Interface\\Icons\\Spell_Shadow_Teleport");
self:RegisterEvent("SPELL_UPDATE_COOLDOWN");
local normalTexture = _G[self:GetName().."NormalTexture"];
normalTexture:SetWidth(40);
normalTexture:SetHeight(40);
</OnLoad>
<OnEvent>
FriendsFrame_SummonButton_OnEvent(self, event, ...);
</OnEvent>
<OnShow>
FriendsFrame_SummonButton_OnShow(self);
</OnShow>
<OnClick>
FriendsFrame_ClickSummonButton(self, button, down);
</OnClick>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:AddLine(RAF_SUMMON_LINKED, 1, 1, 1, 1);
if ( self.duration ) then
GameTooltip:AddLine(COOLDOWN_REMAINING .. " " .. SecondsToTime(self.duration - (GetTime() - self.start)), 1, 1, 1, 1);
end
if ( SHOW_NEWBIE_TIPS == "1" ) then
GameTooltip:AddLine(NEWBIE_TOOLTIP_RAF_SUMMON_LINKED, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1)
end
GameTooltip:Show();
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="$parentNote">
<Size x="7" y="8"/>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentName" relativePoint="LEFT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentIcon" file="Interface/FriendsFrame/UI-FriendsFrame-Note">
<Size x="7" y="8"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
FriendsFrame.NotesID = self:GetParent():GetParent():GetID();
local dialog = StaticPopup_Show("SET_FRIENDNOTE", GetFriendInfo(FriendsFrame.NotesID));
PlaySound("igCharacterInfoClose");
</OnClick>
</Scripts>
<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
<Size x="7" y="8"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="-1" y="0"/>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
</Frames>
</Frame>
</Frames>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
FriendsFrameFriendButton_OnClick(self, button);
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
</Button>
-->
<Button name="FriendsFrameIgnoreButtonTemplate" virtual="true">
<Size>
<AbsDimension x="298" y="16"/>
</Size>
<Layers>
<Layer level="BORDER">
<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT" parentKey="name">
<Size>
<AbsDimension x="288" y="12"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="10" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick>
FriendsFrameIgnoreButton_OnClick(self);
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
</Button>
<Button name="FriendsFramePendingButtonTemplate" virtual="true">
<Size>
<AbsDimension x="298" y="82"/>
</Size>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="4" right="4" top="4" bottom="4"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="BORDER">
<Texture name="$parentBackground" file="Interface\FriendsFrame\PendingFriendNameBG">
<Size>
<AbsDimension x="290" y="60"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="5"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentName" inherits="FriendsFont_Normal" justifyH="LEFT" parentKey="name" justifyV="TOP">
<Size>
<AbsDimension x="235" y="10"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="12" y="-7"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0.510" g="0.773" b="1" />
</FontString>
<FontString name="$parentSent" inherits="FriendsFont_Small" justifyH="LEFT" parentKey="sent">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-30"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0.263" g="0.506" b="0.659" />
</FontString>
<FontString name="$parentMessage" inherits="FriendsFont_Small" justifyH="LEFT" parentKey="message">
<Size>
<AbsDimension x="260" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentSent" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-6"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0.486" g="0.518" b="0.541" />
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentHighlight" parentKey="highlight" hidden="true">
<Size>
<AbsDimension x="290" y="60"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="5"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BORDER">
<Texture file="Interface\FriendsFrame\PendingFriendNameBG-New" setAllPoints="true"/>
</Layer>
</Layers>
<Scripts>
<OnUpdate>
-- smooth alpha from 0.2 to 0.6
local pulseInterval = mod(GetTime() * 1.5, math.pi);
self:SetAlpha(math.sin(pulseInterval) / 2.5 + 0.2)
</OnUpdate>
</Scripts>
</Frame>
<Button name="$parentAcceptButton" inherits="UIPanelButtonTemplate2" text="ACCEPT">
<Size>
<AbsDimension x="98" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentMessage" relativePoint="BOTTOMLEFT" x="10" y="-10"/>
</Anchors>
<Scripts>
<OnClick>
BNAcceptFriendInvite(self:GetParent().inviteID);
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
</Button>
<Button name="$parentDeclineButton" inherits="UIPanelButtonTemplate2" text="DECLINE">
<Size>
<AbsDimension x="98" y="22"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentAcceptButton" relativePoint="RIGHT" x="44" y="0"/>
</Anchors>
<Scripts>
<OnClick>
BNDeclineFriendInvite(self:GetParent().inviteID);
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
</Button>
<Button name="$parentReportButton">
<Size>
<AbsDimension x="17" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" x="-30" y="-6"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\FriendsFrame\ReportSpamIcon" alpha="0.5" parentKey="texture">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="1"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
self.texture:SetAlpha(1.0);
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:AddLine(BNET_REPORT_PLAYER, 1, 1, 1);
GameTooltip:AddLine(BNET_REPORT_PLAYER_TOOLTIP, nil, nil, nil, 1);
GameTooltip:Show();
</OnEnter>
<OnLeave>
self.texture:SetAlpha(0.5);
GameTooltip:Hide();
</OnLeave>
<OnMouseDown>
self.texture:SetPoint("TOPLEFT", 1, 0);
</OnMouseDown>
<OnMouseUp>
self.texture:SetPoint("TOPLEFT", 0, 1);
</OnMouseUp>
<OnClick function="PendingListFrame_ReportPlayer"/>
</Scripts>
</Button>
<Button name="$parentBlockButton">
<Size>
<AbsDimension x="16" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" x="-10" y="-6"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\FriendsFrame\BlockCommunicationsIcon" alpha="0.5" parentKey="texture">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" x="-1" y="1"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
self.texture:SetAlpha(1.0);
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:AddLine(BLOCK_INVITES, 1, 1, 1);
GameTooltip:AddLine(BLOCK_INVITES_TOOLTIP, nil, nil, nil, 1);
GameTooltip:Show();
</OnEnter>
<OnLeave>
self.texture:SetAlpha(0.5);
GameTooltip:Hide();
</OnLeave>
<OnMouseDown>
self.texture:SetPoint("TOPLEFT", 0, 0);
</OnMouseDown>
<OnMouseUp>
self.texture:SetPoint("TOPLEFT", -1, 1);
</OnMouseUp>
<OnClick function="PendingListFrame_BlockCommunication"/>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
self:SetBackdropBorderColor(0, 0.694, 0.941, 0.26);
self:SetBackdropColor(0, 0.090, 0.122, 0.6 );
</OnLoad>
</Scripts>
</Button>
<Button name="FriendsFriendsButtonTemplate" virtual="true">
<Size>
<AbsDimension x="248" y="16"/>
</Size>
<Layers>
<Layer level="BORDER">
<FontString name="$parentName" inherits="FriendsFont_Normal" justifyH="LEFT" parentKey="name">
<Size>
<AbsDimension x="240" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="6" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick function="FriendsFriendsButton_OnClick"/>
</Scripts>
<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
</Button>
<Button name="FriendsFrameWhoButtonTemplate" virtual="true">
<Size>
<AbsDimension x="298" y="16"/>
</Size>
<Layers>
<Layer level="BORDER">
<FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
<Size>
<AbsDimension x="88" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="10" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentVariable" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Size>
<AbsDimension x="95" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentLevel" inherits="GameFontHighlightSmall" justifyH="CENTER">
<Size>
<AbsDimension x="20" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentVariable" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentClass" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Size>
<AbsDimension x="80" y="8"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLevel" relativePoint="RIGHT">
<Offset>
<AbsDimension x="12" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<!--
<FontString name="$parentGroup" inherits="GameFontHighlightSmall" justifyH="CENTER">
<Size>
<AbsDimension x="45" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentClass" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
-->
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
FriendsFrameWhoButton_OnClick(self, button);
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
<Size>
<AbsDimension x="298" y="16"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="5" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<Button name="WhoFrameColumnHeaderTemplate" virtual="true">
<Size>
<AbsDimension x="10" y="24"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size>
<AbsDimension x="5" y="24"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0" right="0.078125" top="0" bottom="0.75"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size>
<AbsDimension x="53" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.078125" right="0.90625" top="0" bottom="0.75"/>
</Texture>
<Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size>
<AbsDimension x="4" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.90625" right="0.96875" top="0" bottom="0.75"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
if ( self.sortType ) then
SortWho(self.sortType);
end
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<ButtonText>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="8" y="0"/>
</Offset>
</Anchor>
</Anchors>
</ButtonText>
<NormalFont style="GameFontHighlightSmall"/>
<HighlightTexture name="$parentHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentLeft">
<Offset>
<AbsDimension x="-2" y="5"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="2" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<Button name="FriendsFrameGuildPlayerStatusButtonTemplate" virtual="true">
<Size>
<AbsDimension x="298" y="16"/>
</Size>
<Layers>
<Layer level="BORDER">
<FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
<Size>
<AbsDimension x="78" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="14" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentZone" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Size>
<AbsDimension x="90" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentLevel" inherits="GameFontHighlightSmall" justifyH="CENTER">
<Size>
<AbsDimension x="20" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentZone" relativePoint="RIGHT">
<Offset>
<AbsDimension x="4" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentClass" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Size>
<AbsDimension x="80" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLevel" relativePoint="RIGHT">
<Offset>
<AbsDimension x="12" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentGroup" inherits="GameFontHighlightSmall" justifyH="CENTER">
<Size>
<AbsDimension x="40" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentClass" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
FriendsFrameGuildStatusButton_OnClick(self, button, down);
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, GUILD_MEMBER_OPTIONS, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_GUILD_MEMBER_OPTIONS, 1);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
<HighlightTexture file="Interface\FriendsFrame\UI-FriendsFrame-HighlightBar" alphaMode="ADD">
<Size>
<AbsDimension x="298" y="16"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="5" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<Button name="FriendsFrameGuildStatusButtonTemplate" virtual="true">
<Size>
<AbsDimension x="298" y="16"/>
</Size>
<Layers>
<Layer level="BORDER">
<FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
<Size>
<AbsDimension x="75" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="14" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentRank" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Size>
<AbsDimension x="55" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentNote" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Size>
<AbsDimension x="85" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentRank" relativePoint="RIGHT">
<Offset>
<AbsDimension x="11" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentOnline" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Size>
<AbsDimension x="80" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentNote" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
FriendsFrameGuildStatusButton_OnClick(self, button, down);
</OnClick>
</Scripts>
<HighlightTexture file="Interface\FriendsFrame\UI-FriendsFrame-HighlightBar" alphaMode="ADD">
<Size>
<AbsDimension x="298" y="16"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="5" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<Button name="GuildFrameColumnHeaderTemplate" virtual="true">
<Size>
<AbsDimension x="10" y="24"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size>
<AbsDimension x="5" y="24"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0" right="0.078125" top="0" bottom="0.75"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size>
<AbsDimension x="53" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.078125" right="0.90625" top="0" bottom="0.75"/>
</Texture>
<Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size>
<AbsDimension x="4" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.90625" right="0.96875" top="0" bottom="0.75"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
if ( self.sortType ) then
SortGuildRoster(self.sortType);
end
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<ButtonText>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="8" y="0"/>
</Offset>
</Anchor>
</Anchors>
</ButtonText>
<NormalFont style="GameFontHighlightSmall"/>
<HighlightTexture name="$parentHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentLeft">
<Offset>
<AbsDimension x="-2" y="5"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="2" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<CheckButton name="GuildControlPopupFrameCheckboxTemplate" virtual="true">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="GameFontNormalSmall">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="1" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick>
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
GuildControlSetRankFlag(self:GetID(), self:GetChecked());
GuildControlPopupAcceptButton:Enable();
</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 name="GuildBankTabPermissionsTabTemplate" virtual="true">
<Size x="26" y="32"/>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBackground" file="Interface\GuildBankFrame\UI-GuildFrame-PermissionTab">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
GuildBankTabPermissionsTab_OnClick(self:GetID());
</OnClick>
<OnEnter>
if(self.tooltip) then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(self.tooltip);
end
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
<ButtonText name="$parentText">
<Size>
<AbsDimension x="50" y="8"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="$parentBackground">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</ButtonText>
<NormalFont style="GameFontNormalSmall"/>
<HighlightFont style="GameFontHighlightSmall"/>
<DisabledFont style="GameFontDisableSmall"/>
<HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentBackground">
<Offset>
<AbsDimension x="6" y="0"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBackground">
<Offset>
<AbsDimension x="-7" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<Button name="FriendsFrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
<Scripts>
<OnClick>
PanelTemplates_Tab_OnClick(self, FriendsFrame);
FriendsFrame_OnShow();
GuildControlPopupFrame:Hide();
GuildMemberDetailFrame:Hide();
GuildInfoFrame:Hide();
GuildFrame:Hide();
</OnClick>
</Scripts>
</Button>
<Frame name="FriendsFrame" toplevel="true" parent="UIParent" movable="true" 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="30" top="0" bottom="45"/>
</HitRectInsets>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\FriendsFrame\FriendsFrameScrollIcon">
<Size>
<AbsDimension x="60" y="60"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="FriendsFrameTopLeft" file="Interface\FriendsFrame\UI-FriendsFrame-TopLeft-bnet">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="FriendsFrameTopRight" file="Interface\FriendsFrame\UI-FriendsFrame-TopRight-bnet">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="FriendsFrameBottomLeft" file="Interface\FriendsFrame\UI-FriendsFrame-BotLeft-bnet">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="FriendsFrameBottomRight" file="Interface\FriendsFrame\UI-FriendsFrame-BotRight-bnet">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="FriendsFrameTitleText" inherits="GameFontNormal">
<Size>
<AbsDimension x="250" y="16"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="3" y="-16"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="FriendsDropDown" inherits="UIDropDownMenuTemplate"/>
<Button name="FriendsFrameCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-30" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Frame name="FriendsTabHeader" setAllPoints="true">
<Frames>
<Frame name="FriendsFrameBattlenetStatus" hidden="false">
<Size>
<AbsDimension x="270" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="74" y="-40"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true" hidden="true">
<Color r="1" g="0" b="0"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="FriendsFont_Large" text="BATTLENET_UNAVAILABLE">
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Color r="1" g="0" b="0"/>
</FontString>
<Texture file="Interface\FriendsFrame\PlusManz-BattleNet">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentText" relativePoint="LEFT" x="-4" y="0"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="$parentInfoButton">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentText" x="4" y="0"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture" file="Interface\FriendsFrame\InformationIcon">
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<HighlightTexture file="Interface\FriendsFrame\InformationIcon-Highlight" alphaMode="ADD">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTexture" relativePoint="TOPLEFT"/>
</Anchors>
</HighlightTexture>
<Scripts>
<OnMouseDown>
_G[self:GetName().."Texture"]:SetPoint("TOPLEFT", 1, -1);
</OnMouseDown>
<OnMouseUp>
_G[self:GetName().."Texture"]:SetPoint("TOPLEFT", 0, 0);
</OnMouseUp>
<OnClick>
StaticPopup_Show("BATTLENET_UNAVAILABLE");
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="FriendsFrameStatusDropDown" inherits="UIDropDownMenuTemplate" hidden="true">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="56" y="-40"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentStatus" file="Interface\FriendsFrame\StatusIcon-Online">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="24" y="1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="$parentMouseOver" enableMouse="true">
<Size>
<AbsDimension x="22" y="23"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" x="16" y="-2"/>
</Anchors>
<Scripts>
<OnEnter function="FriendsFrameStatusDropDown_ShowTooltip"/>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad function="FriendsFrameStatusDropDown_OnLoad"/>
<OnShow function="FriendsFrameStatusDropDown_OnShow"/>
</Scripts>
</Frame>
<EditBox name="FriendsFrameBroadcastInput" letters="127" countInvisibleLetters="true" autoFocus="false" hidden="true">
<Size>
<AbsDimension x="190" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="FriendsFrameStatusDropDown" relativePoint="RIGHT">
<Offset x="14" y="2"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
<Size>
<AbsDimension x="8" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="-21" y="0"/>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
</Texture>
<Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
<Size>
<AbsDimension x="8" y="20"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
<TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
<Size>
<AbsDimension x="0" y="20"/>
</Size>
<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="BORDER">
<FontString name="$parentFill" inherits="FriendsFont_UserText" justifyH="LEFT" justifyV="MIDDLE" text="FRIENDS_LIST_ENTER_TEXT">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0.35" g="0.35" b="0.35"/>
</FontString>
</Layer>
<Layer level="ARTWORK">
<Texture file="Interface\FriendsFrame\BroadcastIcon" parentKey="icon">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT">
<Offset x="-5" y="-1"/>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.icon:SetAlpha(0.35);
</OnLoad>
<OnShow>
</OnShow>
<OnEnterPressed function="FriendsFrameBroadcastInput_OnEnterPressed"/>
<OnEscapePressed function="FriendsFrameBroadcastInput_UpdateDisplay"/>
<OnEditFocusGained>
self.icon:SetAlpha(1);
self.clear:Hide();
self:SetTextInsets(0, 10, 0, 0);
</OnEditFocusGained>
<OnEditFocusLost>
FriendsFrameBroadcastInputTooltipButton:Show();
</OnEditFocusLost>
<OnTextChanged>
if ( self:GetText() ~= "" ) then
FriendsFrameBroadcastInputFill:Hide();
else
FriendsFrameBroadcastInputFill:Show();
end
</OnTextChanged>
<OnHide function="FriendsFrameBroadcastInput_UpdateDisplay"/>
</Scripts>
<FontString inherits="FriendsFont_UserText">
<Color r="0.345" g="0.667" b="0.867" />
</FontString>
<Frames>
<Button name="$parentTooltipButton" setAllPoints="true">
<Scripts>
<OnClick>
local editBox = FriendsFrameBroadcastInput;
editBox:SetFocus();
editBox:SetCursorPosition(strlen(editBox:GetText()));
editBox:HighlightText(0, -1); -- highlight all
self:Hide();
</OnClick>
<OnEnter>
GameTooltip:SetOwner(FriendsFrameBroadcastInput, "ANCHOR_RIGHT");
GameTooltip:SetText(BN_BROADCAST_TOOLTIP, nil, nil, nil, nil, 1);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="$parentClearButton" parentKey="clear" hidden="true">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset x="-2" y="0"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\FriendsFrame\ClearBroadcastIcon" parentKey="icon" setAllPoints="true" alpha="0.60" />
</Layer>
</Layers>
<Scripts>
<OnEnter>self.icon:SetAlpha(1.0);</OnEnter>
<OnShow>self:SetPoint("RIGHT", -2, 0);</OnShow>
<OnLeave>self.icon:SetAlpha(0.60);</OnLeave>
<OnMouseDown>self:SetPoint("RIGHT", -1, -1);</OnMouseDown>
<OnMouseUp>self:SetPoint("RIGHT", -2, 0);</OnMouseUp>
<OnClick function="FriendsFrameBroadcastInput_OnClearPressed"/>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
frameLevel = self:GetFrameLevel();
FriendsFrameBroadcastInputTooltipButton:SetFrameLevel(frameLevel + 1);
FriendsFrameBroadcastInputClearButton:SetFrameLevel(frameLevel + 2);
</OnLoad>
</Scripts>
</EditBox>
<Button name="FriendsTabHeaderTab1" inherits="TabButtonTemplate" text="FRIENDS" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-64"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
PanelTemplates_TabResize(self, 0);
_G[self:GetName().."HighlightTexture"]:SetWidth(self:GetTextWidth() + 31);
</OnLoad>
<OnClick>
PanelTemplates_Tab_OnClick(self, FriendsTabHeader);
FriendsFrame_Update();
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
</Button>
<Button name="FriendsTabHeaderTab2" inherits="TabButtonTemplate" text="IGNORE" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="FriendsTabHeaderTab1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PanelTemplates_Tab_OnClick(self, FriendsTabHeader);
FriendsFrame_Update();
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
</Button>
<Button name="FriendsTabHeaderTab3" inherits="TabButtonTemplate" text="PENDING_INVITE" id="3">
<Anchors>
<Anchor point="LEFT" relativeTo="FriendsTabHeaderTab2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PanelTemplates_Tab_OnClick(self, FriendsTabHeader);
FriendsFrame_Update();
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
<OnEnter>
FriendsTabHeaderInviteAlert:Hide();
</OnEnter>
<OnLeave function="PendingList_UpdateTab"/>
</Scripts>
</Button>
<Frame name="FriendsTabHeaderInviteAlert" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FriendsTabHeaderTab3" relativePoint="TOPLEFT" x="0" y="-10"/>
<Anchor point="BOTTOMRIGHT" relativeTo="FriendsTabHeaderTab3" relativePoint="BOTTOMRIGHT" x="0" y="-5"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight-yellow" setAllPoints="true" alphaMode="ADD"/>
</Layer>
</Layers>
<Scripts>
<OnUpdate>
self:SetAlpha(abs(mod(GetTime(), 2) - 1));
</OnUpdate>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
PanelTemplates_SetNumTabs(self, 3);
PanelTemplates_SetTab(self, 1);
</OnLoad>
<OnShow function="PendingList_UpdateTab"/>
</Scripts>
</Frame>
<Frame name="FriendsListFrame" hidden="true" setAllPoints="true">
<Frames>
<Button name="FriendsFrameAddFriendButton" inherits="UIPanelButtonTemplate2" text="ADD_FRIEND">
<Size>
<AbsDimension x="131" y="21"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="FriendsFrame">
<Offset>
<AbsDimension x="15" y="81"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="FriendsFrameAddFriendButton_OnClick"/>
<OnEnter>
GameTooltip_AddNewbieTip(self, ADD_FRIEND, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_ADDFRIEND, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="FriendsFrameSendMessageButton" inherits="UIPanelButtonTemplate2" text="SEND_MESSAGE">
<Size>
<AbsDimension x="131" y="21"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="FriendsFrame">
<Offset>
<AbsDimension x="-41" y="81"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="FriendsFrameSendMessageButton_OnClick"/>
<OnEnter>
GameTooltip_AddNewbieTip(self, SEND_MESSAGE, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_SENDMESSAGE, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<ScrollFrame name="FriendsFrameFriendsScrollFrame" inherits="DynamicScrollFrameTemplate">
<Size>
<AbsDimension x="302" y="307"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FriendsFrame">
<Offset>
<AbsDimension x="21" y="-100"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="FriendsFrameOfflineHeader" file="Interface\FriendsFrame\UI-FriendsFrame-OnlineDivider" hidden="true"/>
</Layer>
</Layers>
<Frames>
<Slider name="$parentScrollBar" inherits="UIPanelScrollBarTemplate" parentKey="scrollBar">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="FriendsFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-47" y="-115"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="6" y="15"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
</Frames>
</ScrollFrame>
</Frames>
</Frame>
<Frame name="IgnoreListFrame" hidden="true" setAllPoints="true">
<Frames>
<Button name="FriendsFrameIgnorePlayerButton" inherits="UIPanelButtonTemplate2" text="IGNORE_PLAYER">
<Size>
<AbsDimension x="131" y="21"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="FriendsFrame">
<Offset>
<AbsDimension x="15" y="81"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
self:SetFrameLevel( self:GetFrameLevel() + 3 );
</OnLoad>
<OnClick>
if ( UnitCanCooperate("player", "target") ) then
AddIgnore(UnitName("target"));
PlaySound("UChatScrollButton");
else
StaticPopup_Show("ADD_IGNORE");
end
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, IGNORE_PLAYER, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_IGNOREPLAYER, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="FriendsFrameUnsquelchButton" inherits="UIPanelButtonTemplate2" text="REMOVE_PLAYER">
<Size>
<AbsDimension x="134" y="21"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="FriendsFrame">
<Offset>
<AbsDimension x="-38" y="81"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
self:SetFrameLevel( self:GetFrameLevel() + 3 );
</OnLoad>
<OnClick function="FriendsFrameUnsquelchButton_OnClick"/>
<OnEnter>
GameTooltip_AddNewbieTip(self, REMOVE_PLAYER, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_REMOVEPLAYER, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="FriendsFrameMutePlayerButton" inherits="UIPanelButtonTemplate2" text="MUTE_PLAYER">
<Size>
<AbsDimension x="110" y="21"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="FriendsFrameIgnorePlayerButton" relativePoint="RIGHT"/>
</Anchors>
<Scripts>
<OnLoad>
self:SetFrameLevel( self:GetFrameLevel() + 3 );
</OnLoad>
<OnClick>
if ( UnitCanCooperate("player", "target") ) then
AddMute(UnitName("target"));
PlaySound("UChatScrollButton");
else
StaticPopup_Show("ADD_MUTE");
end
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, MUTE_PLAYER, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_MUTEPLAYER, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Frame name="FriendsFrameIgnoredHeader" inherits="FriendsFrameHeaderTemplate" hidden="true"/>
<Frame name="FriendsFrameBlockedInviteHeader" inherits="FriendsFrameHeaderTemplate" hidden="true"/>
<Frame name="FriendsFrameBlockedToonHeader" inherits="FriendsFrameHeaderTemplate" hidden="true"/>
<Frame name="FriendsFrameMutedHeader" inherits="FriendsFrameHeaderTemplate" hidden="true"/>
<Button name="FriendsFrameIgnoreButton1" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FriendsFrame">
<Offset>
<AbsDimension x="21" y="-102"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton2" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton1" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton3" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton2" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton4" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton3" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton5" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton4" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton6" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton5" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton7" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton6" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton8" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton7" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton9" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton8" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton10" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton9" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton11" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton10" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton12" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton11" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton13" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton12" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton14" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton13" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton15" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton14" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton16" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton15" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton17" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton16" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton18" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton17" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFrameIgnoreButton19" inherits="FriendsFrameIgnoreButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFrameIgnoreButton18" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<ScrollFrame name="FriendsFrameIgnoreScrollFrame" inherits="FauxScrollFrameTemplate">
<Size>
<AbsDimension x="298" y="309"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="FriendsFrame">
<Offset>
<AbsDimension x="-65" y="-99"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(self, offset, FRIENDS_FRAME_IGNORE_HEIGHT, IgnoreList_Update);
</OnVerticalScroll>
</Scripts>
</ScrollFrame>
</Frames>
<Scripts>
<OnLoad>
FriendsFrameIgnoredHeaderTitle:SetText(IGNORED);
FriendsFrameBlockedInviteHeaderTitle:SetText(BLOCKED_INVITES);
FriendsFrameBlockedToonHeaderTitle:SetText(BLOCKED_COMMUNICATION);
FriendsFrameMutedHeaderTitle:SetText(MUTED);
</OnLoad>
</Scripts>
</Frame>
<Frame name="PendingListFrame" hidden="true" setAllPoints="true">
<Frames>
<Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="10" y="-60"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad function="PendingListFrameDropDown_OnLoad"/>
</Scripts>
</Frame>
<Frame name="PendingListInfoFrame" enableMouse="true" hidden="true">
<Size>
<AbsDimension x="298" y="309"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FriendsFrame">
<Offset>
<AbsDimension x="22" y="-99"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true">
<Color r="0" g="0" b="0" a="0.85"/>
</Texture>
</Layer>
<Layer level="BORDER">
<Texture name="$parentLeft" file="Interface\FriendsFrame\PlusManz-BattleNetBG" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" x="-8" y="12" />
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentBattlenetIcon" file="Interface\FriendsFrame\PlusManz-BattleNet" alpha="0.3">
<Anchors>
<Anchor point="CENTER" x="10" y="100" />
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentPlayerIcon" file="Interface\FriendsFrame\PlusManz-PlusManz">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentBattlenetIcon" x="-20" y="-10" />
</Anchors>
</Texture>
<FontString name="$parentTitle" inherits="GameFontNormal" text="BATTLENET_FRIEND">
<Anchors>
<Anchor point="TOP" relativeTo="$parentPlayerIcon" relativePoint="BOTTOM" x="0" y="2"/>
<Anchor point="LEFT"/>
<Anchor point="RIGHT"/>
</Anchors>
</FontString>
<FontString inherits="GameFontHighlight" justifyH="LEFT" text="RID_FRIEND_REQUEST_INFO">
<Size>
<AbsDimension x="200" y="0"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="$parentTitle" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentContinueButton" inherits="UIPanelButtonTemplate2" text="CONTINUE">
<Size>
<AbsDimension x="131" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SetCVar("pendingInviteInfoShown", 1);
PendingListInfoFrame:Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<ScrollFrame name="FriendsFramePendingScrollFrame">
<Size>
<AbsDimension x="298" y="308"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="FriendsFrame">
<Offset>
<AbsDimension x="-65" y="-99"/>
</Offset>
</Anchor>
</Anchors>
<ScrollChild>
<Frame name="$parentScrollChild" parentKey="scrollChild">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Frames>
<Button name="FriendsFramePendingButton1" inherits="FriendsFramePendingButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFramePendingButton2" inherits="FriendsFramePendingButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FriendsFramePendingButton1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFramePendingButton3" inherits="FriendsFramePendingButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FriendsFramePendingButton2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFramePendingButton4" inherits="FriendsFramePendingButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FriendsFramePendingButton3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
</Frames>
</Frame>
</ScrollChild>
<Frames>
<Slider name="$parentScrollBar" inherits="UIPanelScrollBarTemplate" parentKey="scrollBar" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="6" y="-16"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="6" y="15"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
local button = _G[self:GetName().."ScrollUpButton"];
button:SetScript("OnClick", function() FriendsFramePendingScrollFrame_AdjustScroll(-2); PlaySound("UChatScrollButton"); end);
local button = _G[self:GetName().."ScrollDownButton"];
button:SetScript("OnClick", function() FriendsFramePendingScrollFrame_AdjustScroll(2); PlaySound("UChatScrollButton"); end);
</OnLoad>
<OnValueChanged>
local value = self:GetValue();
local min, max = self:GetMinMaxValues();
if ( value == 0 ) then
_G[self:GetName().."ScrollUpButton"]:Disable();
else
_G[self:GetName().."ScrollUpButton"]:Enable();
end
if ( value == max ) then
_G[self:GetName().."ScrollDownButton"]:Disable();
else
_G[self:GetName().."ScrollDownButton"]:Enable();
end
PendingList_Scroll(value);
</OnValueChanged>
</Scripts>
</Slider>
</Frames>
<Scripts>
<OnLoad>
self.scrollBar:SetValueStep(1);
self.scrollHeight = self:GetHeight();
FriendsFramePendingButton1.message:SetText(PENDING_INVITE);
MAX_INVITE_MESSAGE_HEIGHT = MAX_INVITE_MESSAGE_LINES * FriendsFramePendingButton1.message:GetHeight();
</OnLoad>
<OnMouseWheel>
FriendsFramePendingScrollFrame_AdjustScroll(delta * -2);
</OnMouseWheel>
</Scripts>
</ScrollFrame>
</Frames>
<Scripts>
<OnShow function="PendingListFrame_OnShow"/>
<OnHide function="PendingListFrame_OnHide"/>
</Scripts>
</Frame>
<Frame name="WhoFrame" setAllPoints="true" hidden="true">
<Layers>
<Layer level="ARTWORK">
<FontString name="WhoFrameTotals" inherits="GameFontNormalSmall">
<Size>
<AbsDimension x="298" y="16"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="-10" y="127"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="WhoFrameColumnHeader1" inherits="WhoFrameColumnHeaderTemplate" text="NAME">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-70"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 83);
self.sortType = "name";
</OnLoad>
</Scripts>
</Button>
<Button name="WhoFrameColumnHeader2" inherits="WhoFrameColumnHeaderTemplate">
<Anchors>
<Anchor point="LEFT" relativeTo="WhoFrameColumnHeader1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="WhoFrameDropDown" inherits="UIDropDownMenuTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-15" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="WhoFrameDropDownHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD" hidden="true">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="15" y="3"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-30" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad function="WhoFrameDropDown_OnLoad"/>
<OnShow>
UIDropDownMenu_Initialize(self, WhoFrameDropDown_Initialize);
UIDropDownMenu_SetSelectedID(self, 1);
</OnShow>
<OnEnter>
WhoFrameDropDownHighlightTexture:Show();
</OnEnter>
<OnLeave>
WhoFrameDropDownHighlightTexture:Hide();
</OnLeave>
<OnMouseUp>
if ( WHOFRAME_DROPDOWN_LIST[UIDropDownMenu_GetSelectedID(self)].sortType ) then
SortWho(WHOFRAME_DROPDOWN_LIST[UIDropDownMenu_GetSelectedID(self)].sortType);
PlaySound("igMainMenuOptionCheckBoxOn");
end
</OnMouseUp>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 105);
</OnLoad>
</Scripts>
</Button>
<Button name="WhoFrameColumnHeader3" inherits="WhoFrameColumnHeaderTemplate" text="LEVEL_ABBR">
<Anchors>
<Anchor point="LEFT" relativeTo="WhoFrameColumnHeader2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 32);
self.sortType = "level";
</OnLoad>
</Scripts>
</Button>
<Button name="WhoFrameColumnHeader4" inherits="WhoFrameColumnHeaderTemplate" text="CLASS">
<Anchors>
<Anchor point="LEFT" relativeTo="WhoFrameColumnHeader3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 92);
self.sortType = "class";
</OnLoad>
</Scripts>
</Button>
<!--
<Button name="WhoFrameColumnHeader5" inherits="WhoFrameColumnHeaderTemplate" text="GROUP">
<Anchors>
<Anchor point="LEFT" relativeTo="WhoFrameColumnHeader4" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(53);
self.sortType = "group";
</OnLoad>
</Scripts>
</Button>
-->
<Button name="WhoFrameButton1" inherits="FriendsFrameWhoButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrame">
<Offset>
<AbsDimension x="15" y="-95"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton2" inherits="FriendsFrameWhoButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton3" inherits="FriendsFrameWhoButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton4" inherits="FriendsFrameWhoButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton5" inherits="FriendsFrameWhoButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton6" inherits="FriendsFrameWhoButtonTemplate" id="6">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton7" inherits="FriendsFrameWhoButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton8" inherits="FriendsFrameWhoButtonTemplate" id="8">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton7" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton9" inherits="FriendsFrameWhoButtonTemplate" id="9">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton8" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton10" inherits="FriendsFrameWhoButtonTemplate" id="10">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton9" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton11" inherits="FriendsFrameWhoButtonTemplate" id="11">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton10" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton12" inherits="FriendsFrameWhoButtonTemplate" id="12">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton11" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton13" inherits="FriendsFrameWhoButtonTemplate" id="13">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton12" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton14" inherits="FriendsFrameWhoButtonTemplate" id="14">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton13" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton15" inherits="FriendsFrameWhoButtonTemplate" id="15">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton14" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton16" inherits="FriendsFrameWhoButtonTemplate" id="16">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton15" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameButton17" inherits="FriendsFrameWhoButtonTemplate" id="17">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="WhoFrameButton16" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="WhoFrameGroupInviteButton" inherits="UIPanelButtonTemplate" text="GROUP_INVITE">
<Size>
<AbsDimension x="120" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-40" y="82"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
InviteUnit(WhoFrame.selectedName);
</OnClick>
</Scripts>
</Button>
<Button name="WhoFrameAddFriendButton" inherits="UIPanelButtonTemplate" text="ADD_FRIEND">
<Size>
<AbsDimension x="120" y="22"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="WhoFrameGroupInviteButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AddFriend(WhoFrame.selectedName);
</OnClick>
</Scripts>
</Button>
<Button name="WhoFrameWhoButton" inherits="UIPanelButtonTemplate" text="REFRESH">
<Size>
<AbsDimension x="85" y="22"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="WhoFrameAddFriendButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
WhoFrameEditBox_OnEnterPressed(WhoFrameEditBox);
WhoFrame.selectedWho = nil;
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
</Button>
<EditBox name="WhoFrameEditBox" autoFocus="false" frameStrata="HIGH" historyLines="32">
<Size>
<AbsDimension x="296" y="32"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="-20" y="100"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow function="EditBox_ClearFocus"/>
<OnEnterPressed function="WhoFrameEditBox_OnEnterPressed"/>
<OnEscapePressed function="EditBox_ClearFocus"/>
</Scripts>
<FontString inherits="ChatFontNormal" bytes="256"/>
</EditBox>
<ScrollFrame name="WhoListScrollFrame" inherits="FauxScrollFrameTemplate">
<Size>
<AbsDimension x="296" y="287"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="FriendsFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-67" y="-96"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(self, offset, FRIENDS_FRAME_WHO_HEIGHT, WhoList_Update);
</OnVerticalScroll>
</Scripts>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="5"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
</Texture>
<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="106"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
</Texture>
</Layer>
</Layers>
</ScrollFrame>
</Frames>
<Scripts>
<OnLoad>
SetWhoToUI(0);
</OnLoad>
<OnShow>
SetWhoToUI(1);
</OnShow>
<OnHide>
SetWhoToUI(0);
</OnHide>
</Scripts>
</Frame>
<Frame name="GuildFrame" setAllPoints="true" hidden="true">
<Layers>
<Layer level="ARTWORK">
<FontString name="GuildFrameTotals" inherits="GameFontNormalSmall" justifyH="LEFT">
<Size>
<AbsDimension x="0" y="16"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="LEFT">
<Offset>
<AbsDimension x="75" y="-75"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildFrameOnlineTotals" inherits="GameFontNormalSmall" justifyH="LEFT">
<Size>
<AbsDimension x="0" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="GuildFrameTotals" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildFrameNotesLabel" inherits="GameFontNormalSmall" justifyH="LEFT" text="GUILD_MOTD_LABEL">
<Size>
<AbsDimension x="225" y="11"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="23" y="-344"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildFrameNotesText" inherits="GameFontHighlightSmall" justifyH="LEFT" justifyV="TOP">
<Size>
<AbsDimension x="315" y="45"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameNotesLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="GuildFrameLFGFrame">
<Size>
<AbsDimension x="210" y="23"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-42" y="-38"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="GuildFrameLFGFrameRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
<Size>
<AbsDimension x="12" y="28"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
<TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
</Texture>
<Texture name="GuildFrameLFGFrameMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
<Size>
<AbsDimension x="186" y="28"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildFrameLFGFrameRight" relativePoint="LEFT"/>
</Anchors>
<TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
</Texture>
<Texture name="GuildFrameLFGFrameLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
<Size>
<AbsDimension x="12" y="28"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildFrameLFGFrameMiddle" relativePoint="LEFT"/>
</Anchors>
<TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Frames>
<CheckButton name="GuildFrameLFGButton" virtual="true">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-8" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="GuildFrameLFGButtonText" inherits="GameFontHighlightSmall" text="SHOW_OFFLINE_MEMBERS">
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT">
<Offset>
<AbsDimension x="-10" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:RegisterEvent("VARIABLES_LOADED");
</OnLoad>
<OnEvent>
self:SetChecked(GetGuildRosterShowOffline());
</OnEvent>
<OnClick>
SetGuildRosterSelection(0);
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
SetGuildRosterShowOffline(self:GetChecked());
GuildStatus_Update();
</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>
</Frames>
</Frame>
<Frame name="GuildPlayerStatusFrame" hidden="true">
<Size>
<AbsDimension x="300" y="200"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="GuildFrameColumnHeader1" inherits="GuildFrameColumnHeaderTemplate" text="NAME">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-70"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 83);
self.sortType = "name";
</OnLoad>
</Scripts>
</Button>
<Button name="GuildFrameColumnHeader2" inherits="GuildFrameColumnHeaderTemplate" text="ZONE">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildFrameColumnHeader1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 105);
self.sortType = "zone";
</OnLoad>
</Scripts>
</Button>
<Button name="GuildFrameColumnHeader3" inherits="GuildFrameColumnHeaderTemplate" text="LEVEL_ABBR">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildFrameColumnHeader2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 32);
self.sortType = "level";
</OnLoad>
</Scripts>
</Button>
<Button name="GuildFrameColumnHeader4" inherits="GuildFrameColumnHeaderTemplate" text="CLASS">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildFrameColumnHeader3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 92);
self.sortType = "class";
</OnLoad>
</Scripts>
</Button>
<Button name="GuildFrameButton1" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrame">
<Offset>
<AbsDimension x="15" y="-95"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton2" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton3" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton4" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton5" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton6" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="6">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton7" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton8" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="8">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton7" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton9" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="9">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton8" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton10" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="10">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton9" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton11" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="11">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton10" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton12" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="12">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton11" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameButton13" inherits="FriendsFrameGuildPlayerStatusButtonTemplate" id="13">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton12" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
</Frames>
</Frame>
<Frame name="GuildStatusFrame" hidden="true">
<Size>
<AbsDimension x="300" y="200"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="GuildFrameGuildStatusColumnHeader1" inherits="GuildFrameColumnHeaderTemplate" text="NAME">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-70"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 83);
self.sortType = "name";
</OnLoad>
</Scripts>
</Button>
<Button name="GuildFrameGuildStatusColumnHeader2" inherits="GuildFrameColumnHeaderTemplate" text="RANK">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildFrameGuildStatusColumnHeader1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 75);
self.sortType = "rank";
</OnLoad>
</Scripts>
</Button>
<Button name="GuildFrameGuildStatusColumnHeader3" inherits="GuildFrameColumnHeaderTemplate" text="LABEL_NOTE">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildFrameGuildStatusColumnHeader2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 75);
self.sortType = "note";
</OnLoad>
</Scripts>
</Button>
<Button name="GuildFrameGuildStatusColumnHeader4" inherits="GuildFrameColumnHeaderTemplate" text="LASTONLINE">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildFrameGuildStatusColumnHeader3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(self, 75);
self.sortType = "online";
</OnLoad>
</Scripts>
</Button>
<Button name="GuildFrameGuildStatusButton1" inherits="FriendsFrameGuildStatusButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrame">
<Offset>
<AbsDimension x="15" y="-95"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton2" inherits="FriendsFrameGuildStatusButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton3" inherits="FriendsFrameGuildStatusButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton4" inherits="FriendsFrameGuildStatusButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton5" inherits="FriendsFrameGuildStatusButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton6" inherits="FriendsFrameGuildStatusButtonTemplate" id="6">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton7" inherits="FriendsFrameGuildStatusButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton8" inherits="FriendsFrameGuildStatusButtonTemplate" id="8">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton7" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton9" inherits="FriendsFrameGuildStatusButtonTemplate" id="9">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton8" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton10" inherits="FriendsFrameGuildStatusButtonTemplate" id="10">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton9" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton11" inherits="FriendsFrameGuildStatusButtonTemplate" id="11">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton10" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton12" inherits="FriendsFrameGuildStatusButtonTemplate" id="12">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton11" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildFrameGuildStatusButton13" inherits="FriendsFrameGuildStatusButtonTemplate" id="13">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameButton12" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
</Frames>
</Frame>
<ScrollFrame name="GuildListScrollFrame" inherits="FauxScrollFrameTemplate">
<Size>
<AbsDimension x="296" y="237"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="GuildFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-67" y="-98"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(self, offset, FRIENDS_FRAME_GUILD_HEIGHT, GuildStatus_Update);
</OnVerticalScroll>
</Scripts>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="226"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="5"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.484375" top="0" bottom="0.8828125"/>
</Texture>
<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="106"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
</Texture>
</Layer>
</Layers>
</ScrollFrame>
<Button name="GuildFrameGuildListToggleButton">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="245" y="-67"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GuildFrameGuildListToggleButton_OnClick();
PlaySound("igMainMenuOptionCheckBoxOn");
</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"/>
<ButtonText>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-32" y="0"/>
</Offset>
</Anchor>
</Anchors>
</ButtonText>
<NormalFont style="GameFontNormalSmall"/>
<PushedTextOffset>
<AbsDimension x="0" y="0"/>
</PushedTextOffset>
</Button>
<Button name="GuildFrameControlButton" inherits="UIPanelButtonTemplate" text="GUILDCONTROL">
<Size>
<AbsDimension x="104" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-39" y="82"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnUpdate function="GuildFrameControlButton_OnUpdate"/>
<OnClick>
if ( GuildControlPopupFrame:IsShown() ) then
GuildControlPopupFrame:Hide();
else
GuildFramePopup_Show(GuildControlPopupFrame);
end
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, GUILDCONTROL, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_GUILDCONTROL, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalFont style="GameFontNormalSmall"/>
<HighlightFont style="GameFontHighlightSmall"/>
<DisabledFont style="GameFontDisableSmall"/>
</Button>
<Button name="GuildFrameAddMemberButton" inherits="UIPanelButtonTemplate" text="ADDMEMBER">
<Size>
<AbsDimension x="98" y="22"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildFrameControlButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
StaticPopup_Show("ADD_GUILDMEMBER");
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, ADDMEMBER, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_ADDMEMBER, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalFont style="GameFontNormalSmall"/>
<HighlightFont style="GameFontHighlightSmall"/>
<DisabledFont style="GameFontDisableSmall"/>
</Button>
<Button name="GuildFrameGuildInformationButton" inherits="UIPanelButtonTemplate" text="GUILD_INFORMATION">
<Size>
<AbsDimension x="123" y="22"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildFrameAddMemberButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="ToggleGuildInfoFrame"/>
<OnEnter>
GameTooltip_AddNewbieTip(self, GUILD_INFORMATION, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_GUILD_INFORMATION, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalFont style="GameFontNormalSmall"/>
<HighlightFont style="GameFontHighlightSmall"/>
<DisabledFont style="GameFontDisableSmall"/>
</Button>
<Button name="GuildMOTDEditButton">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrameNotesText">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="GuildFrameNotesText">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
StaticPopup_Show("SET_GUILDMOTD");
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow function="GuildRoster"/>
<OnHide>
GuildControlPopupFrame:Hide();
GuildMemberDetailFrame:Hide();
GuildEventLogFrame:Hide();
</OnHide>
</Scripts>
</Frame>
<Frame name="GuildControlPopupFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
<Size>
<AbsDimension x="320" y="457"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrame" relativePoint="TOPRIGHT">
<Offset x="-37" y="-6"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\MacroFrame\MacroPopup-TopLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\MacroFrame\MacroPopup-TopRight">
<Size>
<AbsDimension x="64" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture file="Interface\MacroFrame\MacroPopup-BotLeft">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\MacroFrame\MacroPopup-BotRight">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</Texture>
<Texture file="Interface\MacroFrame\MacroPopup-TopLeft">
<Size>
<AbsDimension x="256" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="0" y="-256"/>
</Anchor>
<Anchor point="BOTTOMLEFT">
<Offset x="0" y="64"/>
</Anchor>
</Anchors>
<TexCoords left="0" right="1" top="0.3125" bottom="1"/>
</Texture>
<Texture file="Interface\MacroFrame\MacroPopup-TopRight">
<Size>
<AbsDimension x="64" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="-256"/>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset x="0" y="64"/>
</Anchor>
</Anchors>
<TexCoords left="0" right="1" top="0.3125" bottom="1"/>
</Texture>
<FontString inherits="GameFontNormal" text="GUILDCONTROL_SELECTRANK">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString inherits="GameFontHighlightSmall" text="GUILDCONTROL_ALLOWRANK">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="-10" y="-106"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="GuildControlPopupFrameCheckboxes">
<Size>
<AbsDimension x="300" y="500"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="-22" y="1"/>
</Anchor>
</Anchors>
<Frames>
<Frame name="GuildControlPopupFrameDropDown" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-30"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="0" right="20" top="0" bottom="0"/>
</HitRectInsets>
<Scripts>
<OnLoad function="GuildControlPopupFrameDropDown_OnLoad"/>
</Scripts>
</Frame>
<Button name="GuildControlPopupFrameAddRankButton">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="GuildControlPopupFrameDropDown" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-15" y="1"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnUpdate function="GuildControlPopupFrameAddRankButton_OnUpdate"/>
<OnClick>
StaticPopup_Show("ADD_GUILDRANK");
</OnClick>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(GUILDADDRANK_BUTTON_TOOLTIP);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-PlusButton-Up"/>
<PushedTexture file="Interface\Buttons\UI-PlusButton-Down"/>
<DisabledTexture file="Interface\Buttons\UI-PlusButton-Disabled"/>
<HighlightTexture file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD"/>
</Button>
<Button name="GuildControlPopupFrameRemoveRankButton">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="GuildControlPopupFrameAddRankButton" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnUpdate function="GuildControlPopupFrameRemoveRankButton_OnUpdate"/>
<OnClick function="GuildControlPopupFrameRemoveRankButton_OnClick"/>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(GUILDREMOVERANK_BUTTON_TOOLTIP);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-MinusButton-Up"/>
<PushedTexture file="Interface\Buttons\UI-MinusButton-Down"/>
<DisabledTexture file="Interface\Buttons\UI-MinusButton-Disabled"/>
<HighlightTexture file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD"/>
</Button>
<CheckButton name="GuildControlPopupFrameCheckbox1" inherits="GuildControlPopupFrameCheckboxTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="21" y="-123"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox3" inherits="GuildControlPopupFrameCheckboxTemplate" id="3">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox1" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox5" inherits="GuildControlPopupFrameCheckboxTemplate" id="5">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox3" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox7" inherits="GuildControlPopupFrameCheckboxTemplate" id="7">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox5" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox9" inherits="GuildControlPopupFrameCheckboxTemplate" id="9">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox7" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox11" inherits="GuildControlPopupFrameCheckboxTemplate" id="11">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox9" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox13" inherits="GuildControlPopupFrameCheckboxTemplate" id="13">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox11" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<Frame name="GuildControlWithdrawGold">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildControlPopupFrameCheckbox13" relativePoint="BOTTOMLEFT">
<Offset x="0" y="-16"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="GuildControlWithdrawGoldText" inherits="GameFontNormalSmall" text="GUILDCONTROL_WITHDRAW_GOLD">
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</FontString>
<FontString name="GuildControlWithdrawGoldAmountText" inherits="GameFontNormalSmall" text="GOLD_PER_DAY">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildControlWithdrawGoldText" relativePoint="BOTTOMLEFT">
<Offset x="0" y="-13"/>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox name="GuildControlWithdrawGoldEditBox" autoFocus="false" historyLines="1" inherits="InputBoxTemplate" numeric="true">
<Size>
<AbsDimension x="70" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="GuildControlWithdrawGoldAmountText" relativePoint="RIGHT">
<Offset>
<AbsDimension x="11" y="-1"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="$parentMask" enableMouse="true" hidden="true" setAllPoints="true"/>
</Frames>
<Scripts>
<OnTextChanged>
if ( self:GetText() ~= UNLIMITED ) then
GuildControlPopupAcceptButton:Enable();
GuildControlPopupFrame.goldChanged = 1;
end
</OnTextChanged>
<OnEditFocusGained>
GuildControlPopupAcceptButton:Enable();
</OnEditFocusGained>
<OnEnterPressed>
self:ClearFocus();
GuildControlPopupAcceptButton:Enable();
</OnEnterPressed>
<OnEscapePressed function="EditBox_ClearFocus"/>
</Scripts>
</EditBox>
</Frames>
</Frame>
<CheckButton name="GuildControlPopupFrameCheckbox2" inherits="GuildControlPopupFrameCheckboxTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildControlPopupFrameCheckbox1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="117" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox4" inherits="GuildControlPopupFrameCheckboxTemplate" id="4">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox2" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox6" inherits="GuildControlPopupFrameCheckboxTemplate" id="6">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox4" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox8" inherits="GuildControlPopupFrameCheckboxTemplate" id="8">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox6" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox10" inherits="GuildControlPopupFrameCheckboxTemplate" id="10">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox8" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox12" inherits="GuildControlPopupFrameCheckboxTemplate" id="12">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox10" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox17" inherits="GuildControlPopupFrameCheckboxTemplate" id="17">
<Anchors>
<Anchor point="TOP" relativeTo="GuildControlPopupFrameCheckbox12" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox16" inherits="GuildControlPopupFrameCheckboxTemplate" id="16">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildControlWithdrawGoldText" relativePoint="RIGHT">
<Offset x="4" y="-1"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
GuildControlSetRankFlag(self:GetID(), self:GetChecked());
GuildControlPopupAcceptButton:Enable();
WithdrawGoldEditBox_Update();
</OnClick>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(GUILDCONTROL_OPTION16_TOOLTIP, nil, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</CheckButton>
<CheckButton name="GuildControlPopupFrameCheckbox15" inherits="GuildControlPopupFrameCheckboxTemplate" id="15">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildControlPopupFrameCheckbox16Text" relativePoint="RIGHT">
<Offset x="12" y="-1"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
GuildControlSetRankFlag(self:GetID(), self:GetChecked());
GuildControlPopupAcceptButton:Enable();
WithdrawGoldEditBox_Update();
</OnClick>
<OnEnter>
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(GUILDCONTROL_OPTION15_TOOLTIP, nil, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</CheckButton>
</Frames>
</Frame>
<Button name="GuildControlPopupFrameCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
<Size>
<AbsDimension x="78" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="GuildControlPopupFrame">
<Offset x="-33" y="34"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="HideParentPanel"/>
</Scripts>
</Button>
<Button name="GuildControlPopupAcceptButton" inherits="UIPanelButtonTemplate" text="ACCEPT">
<Size>
<AbsDimension x="78" y="22"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildControlPopupFrameCancelButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="GuildControlPopupAcceptButton_OnClick"/>
</Scripts>
</Button>
<EditBox name="GuildControlPopupFrameEditBox" autoFocus="false" historyLines="1" letters="15" inherits="InputBoxTemplate">
<Size>
<AbsDimension x="130" y="32"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="35" y="-68"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString inherits="GameFontNormal" text="GUILDCONTROL_RANKLABEL">
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildControlPopupFrameEditBox" relativePoint="LEFT">
<Offset>
<AbsDimension x="-12" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEditFocusGained>
GuildControlPopupAcceptButton:Enable();
</OnEditFocusGained>
<OnEnterPressed>
self:ClearFocus();
GuildControlPopupAcceptButton:Enable();
</OnEnterPressed>
<OnEscapePressed function="EditBox_ClearFocus"/>
</Scripts>
</EditBox>
<Frame name="GuildControlPopupFrameTabPermissions">
<Size>
<AbsDimension x="268" y="62"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="GuildControlPopupFrame" relativePoint="BOTTOMLEFT">
<Offset x="13" y="58"/>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="BACKGROUND">
<FontString name="GuildBankTabLabel" inherits="GameFontHighlightSmall" text="GUILDBANK_TAB_COLON">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildControlPopupFrameTabPermissions" relativePoint="TOPLEFT">
<Offset x="9" y="13"/>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="GuildControlTabPermissionsViewTab" inherits="GuildControlPopupFrameCheckboxTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildControlPopupFrameTabPermissions" relativePoint="TOPLEFT">
<Offset x="10" y="-6"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SetPendingGuildBankTabPermissions(GuildControlPopupFrameTabPermissions.selectedTab, self:GetID(), self:GetChecked());
GuildControlPopupAcceptButton:Enable();
GuildControlPopup_UpdateDepositCheckBox();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="GuildControlTabPermissionsDepositItems" inherits="GuildControlPopupFrameCheckboxTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildControlTabPermissionsViewTabText" relativePoint="RIGHT">
<Offset x="45" y="-1"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SetPendingGuildBankTabPermissions(GuildControlPopupFrameTabPermissions.selectedTab, self:GetID(), self:GetChecked());
GuildControlPopupAcceptButton:Enable();
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="GuildControlTabPermissionsUpdateText" inherits="GuildControlPopupFrameCheckboxTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildControlTabPermissionsViewTab" relativePoint="BOTTOMLEFT">
<Offset x="0" y="4"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SetPendingGuildBankTabPermissions(GuildControlPopupFrameTabPermissions.selectedTab, self:GetID(), self:GetChecked());
GuildControlPopupAcceptButton:Enable();
</OnClick>
</Scripts>
</CheckButton>
<Frame name="GuildControlTabPermissionsWithdrawItems">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildControlTabPermissionsViewTab" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-16"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="GuildControlTabPermissionsWithdrawItemsText" inherits="GameFontNormalSmall" text="GUILDCONTROL_WITHDRAW_ITEMS">
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox name="GuildControlWithdrawItemsEditBox" autoFocus="false" historyLines="1" letters="15" inherits="InputBoxTemplate" numeric="true">
<Size>
<AbsDimension x="70" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="GuildControlTabPermissionsWithdrawItemsText" relativePoint="RIGHT">
<Offset>
<AbsDimension x="20" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="$parentMask" enableMouse="true" hidden="true" setAllPoints="true"/>
</Frames>
<Scripts>
<OnEditFocusGained>
GuildControlPopupAcceptButton:Enable();
</OnEditFocusGained>
<OnTextChanged>
local amount = self:GetText();
if(amount and amount ~= "" and amount ~= UNLIMITED) then
SetPendingGuildBankTabWithdraw(GuildControlPopupFrameTabPermissions.selectedTab, amount);
end
</OnTextChanged>
<OnEnterPressed>
self:ClearFocus();
GuildControlPopupAcceptButton:Enable();
</OnEnterPressed>
<OnEscapePressed function="EditBox_ClearFocus"/>
</Scripts>
</EditBox>
</Frames>
</Frame>
<Button name="GuildBankTabPermissionsTab6" inherits="GuildBankTabPermissionsTabTemplate" id="6" text="6">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="GuildControlPopupFrameTabPermissions" relativePoint="TOPRIGHT">
<Offset x="-4" y="27"/>
</Anchor>
</Anchors>
</Button>
<Button name="GuildBankTabPermissionsTab5" inherits="GuildBankTabPermissionsTabTemplate" id="5" text="5">
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildBankTabPermissionsTab6" relativePoint="LEFT">
<Offset x="4" y="0"/>
</Anchor>
</Anchors>
</Button>
<Button name="GuildBankTabPermissionsTab4" inherits="GuildBankTabPermissionsTabTemplate" id="4" text="4">
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildBankTabPermissionsTab5" relativePoint="LEFT">
<Offset x="4" y="0"/>
</Anchor>
</Anchors>
</Button>
<Button name="GuildBankTabPermissionsTab3" inherits="GuildBankTabPermissionsTabTemplate" id="3" text="3">
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildBankTabPermissionsTab4" relativePoint="LEFT">
<Offset x="4" y="0"/>
</Anchor>
</Anchors>
</Button>
<Button name="GuildBankTabPermissionsTab2" inherits="GuildBankTabPermissionsTabTemplate" id="2" text="2">
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildBankTabPermissionsTab3" relativePoint="LEFT">
<Offset x="4" y="0"/>
</Anchor>
</Anchors>
</Button>
<Button name="GuildBankTabPermissionsTab1" inherits="GuildBankTabPermissionsTabTemplate" id="1" text="1">
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildBankTabPermissionsTab2" relativePoint="LEFT">
<Offset x="4" y="0"/>
</Anchor>
</Anchors>
</Button>
</Frames>
<Scripts>
<OnLoad>
self:SetBackdropBorderColor(0.4, 0.4, 0.4);
self:SetBackdropColor(0.15, 0.15, 0.15);
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad function="GuildControlPopupFrame_OnLoad"/>
<OnShow function="GuildControlPopupFrame_OnShow"/>
<OnHide function="GuildControlPopupFrame_OnHide"/>
</Scripts>
</Frame>
<Frame name="GuildInfoFrame" toplevel="true" enableMouse="true" hidden="true">
<Size>
<AbsDimension x="297" y="298"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildControlPopupFrame">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="GuildInfoCorner" file="Interface\DialogFrame\UI-DialogBox-Corner">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-6" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="GuildInfoTitle" inherits="GameFontNormal" text="GUILD_INFORMATION">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="17" y="-17"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="GuildInfoTextBackground">
<Size>
<AbsDimension x="276" y="230"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="11" y="-32"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Frames>
<ScrollFrame name="GuildInfoFrameScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size>
<AbsDimension x="243" y="218"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-7"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnMouseDown>
if ( CanEditGuildInfo() ) then
GuildInfoEditBox:SetFocus();
else
GuildInfoEditBox:ClearFocus();
end
</OnMouseDown>
<OnMouseUp>
if ( CanEditGuildInfo() ) then
GuildInfoEditBox:SetFocus();
else
GuildInfoEditBox:ClearFocus();
end
</OnMouseUp>
</Scripts>
<ScrollChild>
<EditBox name="GuildInfoEditBox" letters="500" multiLine="true" autoFocus="false">
<Size>
<AbsDimension x="240" y="218"/>
</Size>
<Scripts>
<OnEscapePressed function="EditBox_ClearFocus"/>
<OnTextChanged>
ScrollingEdit_OnTextChanged(self, self:GetParent());
</OnTextChanged>
<OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
<OnUpdate>
ScrollingEdit_OnUpdate(self, 0, self:GetParent());
</OnUpdate>
</Scripts>
<FontString inherits="GameFontHighlight"/>
</EditBox>
</ScrollChild>
</ScrollFrame>
</Frames>
<Scripts>
<OnLoad>
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>
<OnShow>
-- If the player made a change GetGuildInfoText returns the old value until the next GUILD_ROSTER_UPDATE, so a cached value is used in the interim
local guildInfoText = GuildInfoFrame.cachedText or GetGuildInfoText();
if ( not guildInfoText ) then
guildInfoText = "";
end
if ( CanEditGuildInfo() ) then
if ( guildInfoText ~= "" ) then
GuildInfoEditBox:SetText(guildInfoText);
else
GuildInfoEditBox:SetText(GUILD_INFO_EDITLABEL);
end
GuildInfoEditBox:SetTextColor(1, 1, 1);
GuildInfoEditBox:EnableMouse(1);
GuildInfoSaveButton:Enable();
else
GuildInfoEditBox:SetText(guildInfoText);
GuildInfoEditBox:SetTextColor(0.65, 0.65, 0.65);
GuildInfoEditBox:EnableMouse();
GuildInfoSaveButton:Disable();
end
</OnShow>
</Scripts>
</Frame>
<Button name="GuildInfoCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-3" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildInfoSaveButton" inherits="UIPanelButtonTemplate" text="ACCEPT">
<Size>
<AbsDimension x="90" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="GuildInfoFrame" relativePoint="BOTTOMLEFT">
<Offset x="108" y="12"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SetGuildInfoText(GuildInfoEditBox:GetText());
GuildInfoFrame.cachedText = GuildInfoEditBox:GetText();
GuildRoster();
GuildInfoFrame:Hide();
</OnClick>
</Scripts>
<NormalFont style="GameFontNormalSmall"/>
<HighlightFont style="GameFontHighlightSmall"/>
<DisabledFont style="GameFontDisableSmall"/>
</Button>
<Button name="GuildInfoCancelButton" inherits="UIPanelButtonTemplate" text="CLOSE">
<Size>
<AbsDimension x="90" y="22"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="GuildInfoSaveButton" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="HideParentPanel"/>
</Scripts>
<NormalFont style="GameFontNormalSmall"/>
<HighlightFont style="GameFontHighlightSmall"/>
<DisabledFont style="GameFontDisableSmall"/>
</Button>
<Button name="GuildInfoGuildEventButton" inherits="UIPanelButtonTemplate" text="GUILD_EVENT_LOG">
<Size>
<AbsDimension x="65" y="22"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="GuildInfoSaveButton" relativePoint="LEFT">
<Offset x="-32" y="0"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="ToggleGuildEventLog"/>
</Scripts>
<NormalFont style="GameFontNormalSmall"/>
<HighlightFont style="GameFontHighlightSmall"/>
<DisabledFont style="GameFontDisableSmall"/>
</Button>
</Frames>
<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>
</Frame>
<Frame name="GuildMemberDetailFrame" toplevel="true" enableMouse="true" hidden="true">
<Size>
<AbsDimension x="212" y="270"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-33" y="-28"/>
</Offset>
</Anchor>
</Anchors>
<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="ARTWORK">
<FontString name="GuildMemberDetailName" inherits="GameFontNormal">
<Size>
<AbsDimension x="0" y="12"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="17" y="-18"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildMemberDetailLevel" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildMemberDetailName" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildMemberDetailZoneLabel" inherits="GameFontNormalSmall" text="ZONE_COLON">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildMemberDetailLevel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-11"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildMemberDetailZoneText" inherits="GameFontHighlight" justifyH="LEFT">
<Size x="147" y="12"/>
<Anchors>
<Anchor point="LEFT" relativeTo="GuildMemberDetailZoneLabel" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildMemberDetailRankLabel" inherits="GameFontNormalSmall" text="RANK_COLON">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildMemberDetailZoneLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildMemberDetailRankText" inherits="GameFontHighlight" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildMemberDetailRankLabel" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildMemberDetailOnlineLabel" inherits="GameFontNormalSmall" text="LAST_ONLINE_COLON">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildMemberDetailRankLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildMemberDetailOnlineText" inherits="GameFontHighlight">
<Anchors>
<Anchor point="LEFT" relativeTo="GuildMemberDetailOnlineLabel" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildMemberDetailNoteLabel" inherits="GameFontNormalSmall" text="NOTE_COLON">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildMemberDetailOnlineLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GuildMemberDetailOfficerNoteLabel" inherits="GameFontNormalSmall" text="OFFICER_NOTE_COLON">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildMemberDetailNoteLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-43"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<Texture file="Interface\FriendsFrame\UI-GuildMember-Patch">
<Size>
<AbsDimension x="256" y="32"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="12" y="3"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="GuildMemberDetailCorner" file="Interface\DialogFrame\UI-DialogBox-Corner">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-6" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="GuildMemberDetailCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-3" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildMemberRemoveButton" inherits="UIPanelButtonTemplate" text="REMOVE">
<Size>
<AbsDimension x="96" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="10" y="12"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
StaticPopup_Show("REMOVE_GUILDMEMBER");
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, REMOVE, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_GUILDREMOVE, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalFont style="GameFontNormalSmall"/>
<HighlightFont style="GameFontHighlightSmall"/>
<DisabledFont style="GameFontDisableSmall"/>
</Button>
<Button name="GuildMemberGroupInviteButton" inherits="UIPanelButtonTemplate" text="GROUP_INVITE">
<Size>
<AbsDimension x="96" y="22"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="GuildMemberRemoveButton" relativePoint="RIGHT">
<Offset>
<AbsDimension x="1" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
InviteUnit(GuildFrame.selectedName);
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, GROUP_INVITE, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_GROUPINVITE, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalFont style="GameFontNormalSmall"/>
<HighlightFont style="GameFontHighlightSmall"/>
<DisabledFont style="GameFontDisableSmall"/>
</Button>
<Button name="GuildFramePromoteButton">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="GuildMemberDetailFrame" relativePoint="RIGHT">
<Offset x="-60" y="50"/>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="6" right="6" top="7" bottom="7"/>
</HitRectInsets>
<Scripts>
<OnClick>
GuildPromote(GuildFrame.selectedName);
PlaySound("UChatScrollButton");
GuildFramePromoteButton:Disable();
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, PROMOTE, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_PROMOTE, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Up"/>
<PushedTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Down"/>
<DisabledTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Disabled"/>
<HighlightTexture alphaMode="ADD" file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Highlight"/>
</Button>
<Button name="GuildFrameDemoteButton">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="GuildFramePromoteButton" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-8" y="0"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="6" right="6" top="7" bottom="7"/>
</HitRectInsets>
<Scripts>
<OnClick>
GuildDemote(GuildFrame.selectedName);
PlaySound("UChatScrollButton");
GuildFrameDemoteButton:Disable();
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, DEMOTE, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_DEMOTE, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
<NormalTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Up"/>
<PushedTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Down"/>
<DisabledTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Disabled"/>
<HighlightTexture alphaMode="ADD" file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Highlight"/>
</Button>
<Frame name="GuildMemberNoteBackground" enableMouse="true">
<Size>
<AbsDimension x="181" y="40"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildMemberDetailNoteLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="PersonalNoteText" inherits="GameFontHighlight" justifyH="LEFT" justifyV="TOP">
<Size>
<AbsDimension x="165" y="32"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="1" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Scripts>
<OnLoad>
self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b, 0.5);
self:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b, 0.25);
</OnLoad>
<OnMouseUp>
StaticPopup_Show("SET_GUILDPLAYERNOTE");
</OnMouseUp>
</Scripts>
</Frame>
<Frame name="GuildMemberOfficerNoteBackground">
<Size>
<AbsDimension x="181" y="40"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildMemberDetailOfficerNoteLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="OfficerNoteText" inherits="GameFontHighlight" justifyH="LEFT" justifyV="TOP">
<Size>
<AbsDimension x="165" y="32"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="1" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Scripts>
<OnLoad>
self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b, 0.5);
self:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b, 0.25);
</OnLoad>
<OnMouseUp>
StaticPopup_Show("SET_GUILDOFFICERNOTE");
</OnMouseUp>
</Scripts>
</Frame>
</Frames>
</Frame>
<Frame name="GuildEventLogFrame" enableMouse="true" hidden="true">
<Size>
<AbsDimension x="395" y="435"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildControlPopupFrame">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture file="Interface\DialogFrame\UI-DialogBox-Corner">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-6" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="GuildEventLogTitle" inherits="GameFontNormal" text="GUILD_EVENT_LOG">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="17" y="-17"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="GuildEventFrame">
<Size>
<AbsDimension x="375" y="370"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="11" y="-32"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Frames>
<ScrollFrame name="GuildEventLogScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size>
<AbsDimension x="340" y="359"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="GuildEventFrame" relativePoint="TOPRIGHT">
<Offset x="-28" y="-6"/>
</Anchor>
</Anchors>
<ScrollChild>
<Frame name="GuildEventLogScrollChildFrame">
<Size>
<AbsDimension x="340" y="359"/>
</Size>
<Layers>
<Layer level="OVERLAY">
<FontString name="GuildEventMessage" inherits="ChatFontNormal" justifyH="LEFT">
<Size>
<AbsDimension x="340" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" />
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</ScrollChild>
</ScrollFrame>
</Frames>
<Scripts>
<OnLoad>
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>
<Button name="GuildEventLogCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-3" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GuildEventLogCancelButton" inherits="UIPanelButtonTemplate" text="CLOSE">
<Size>
<AbsDimension x="139" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="GuildEventLogFrame" relativePoint="BOTTOMRIGHT">
<Offset x="-9" y="13"/>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="HideParentPanel"/>
</Scripts>
<NormalFont style="GameFontNormalSmall"/>
<HighlightFont style="GameFontHighlightSmall"/>
<DisabledFont style="GameFontDisableSmall"/>
</Button>
</Frames>
<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>
<Scripts>
<OnLoad>
self:RegisterEvent("GUILD_EVENT_LOG_UPDATE");
</OnLoad>
<OnEvent>
GuildEventLog_Update();
</OnEvent>
<OnShow function="QueryGuildEventLog"/>
</Scripts>
</Frame>
<Button name="FriendsFrameTab1" inherits="FriendsFrameTabTemplate" id="1" text="FRIENDS">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="11" y="46"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip_AddNewbieTip(self, MicroButtonTooltipText(FRIENDS, "TOGGLEFRIENDSTAB"), 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_FRIENDSTAB, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<!--
<Button name="FriendsFrameTab2" inherits="FriendsFrameTabTemplate" id="2" text="IGNORE">
<Anchors>
<Anchor point="LEFT" relativeTo="FriendsFrameTab1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip_AddNewbieTip(nil, nil, nil, nil, NEWBIE_TOOLTIP_IGNORETAB, 1);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
-->
<Button name="FriendsFrameTab2" inherits="FriendsFrameTabTemplate" id="2" text="WHO">
<Anchors>
<Anchor point="LEFT" relativeTo="FriendsFrameTab1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-15" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip_AddNewbieTip(self, MicroButtonTooltipText(WHO, "TOGGLEWHOTAB"), 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_WHOTAB, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="FriendsFrameTab3" inherits="FriendsFrameTabTemplate" id="3" text="GUILD">
<Anchors>
<Anchor point="LEFT" relativeTo="FriendsFrameTab2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-15" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
InGuildCheck();
FriendsFrame_Update();
</OnLoad>
<OnClick>
PanelTemplates_Tab_OnClick(self, FriendsFrame);
FriendsFrame_OnShow();
</OnClick>
<OnEnter>
GameTooltip_AddNewbieTip(self, MicroButtonTooltipText(GUILD, "TOGGLEGUILDTAB"), 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_GUILDTAB, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="FriendsFrameTab4" inherits="FriendsFrameTabTemplate" id="4" text="CHAT">
<Anchors>
<Anchor point="LEFT" relativeTo="FriendsFrameTab3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-15" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad function="FriendsFrame_Update"/>
<OnEvent function="FriendsFrame_Update"/>
<OnEnter>
GameTooltip_AddNewbieTip(self, MicroButtonTooltipText(CHAT_CHANNELS, "TOGGLECHANNELTAB"), 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_CHANNELTAB, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Button name="FriendsFrameTab5" inherits="FriendsFrameTabTemplate" id="5" text="RAID">
<Anchors>
<Anchor point="LEFT" relativeTo="FriendsFrameTab4" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-15" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad function="FriendsFrame_Update"/>
<OnEvent function="FriendsFrame_Update"/>
<OnEnter>
GameTooltip_AddNewbieTip(self, MicroButtonTooltipText(RAID, "TOGGLERAIDTAB"), 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_RAIDTAB, 1);
</OnEnter>
<OnLeave function="GameTooltip_Hide"/>
</Scripts>
</Button>
<Frame name="FriendsTooltip" frameStrata="TOOLTIP" hidden="true" clampedToScreen="true">
<Size>
<AbsDimension x="200" y="200"/>
</Size>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<Color r="0" b="0" g="0"/>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="4" right="4" top="4" bottom="4"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentHeader" inherits="FriendsFont_Normal" justifyH="LEFT">
<Size>
<AbsDimension x="176" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" x="12" y="-12"/>
</Anchors>
<Color r="0.510" g="0.773" b="1" />
</FontString>
<FontString name="$parentToon1Name" inherits="FriendsFont_Small" justifyH="LEFT">
<Size>
<AbsDimension x="176" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="12" y="0"/>
<Anchor point="TOP" relativeTo="$parentHeader" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
</FontString>
<FontString name="$parentToon1Info" inherits="FriendsFont_Small" justifyH="LEFT">
<Size>
<AbsDimension x="168" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="20" y="0"/>
<Anchor point="TOP" relativeTo="$parentToon1Name" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
<Color r="0.486" g="0.518" b="0.541" />
</FontString>
<FontString name="$parentNoteText" inherits="FriendsFont_Small" justifyH="LEFT" justifyV="TOP">
<Size>
<AbsDimension x="158" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="30" y="0"/>
<Anchor point="TOP" relativeTo="$parentToon1Info" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
<Color r="1.0" g="0.82" b="0"/>
</FontString>
<Texture name="$parentNoteIcon" file="Interface/FriendsFrame/UI-FriendsFrame-Note">
<Size>
<AbsDimension x="14" y="12"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentNoteText" relativePoint="TOPLEFT" x="-1" y="0"/>
</Anchors>
<Color r="1.0" g="0.82" b="0"/>
</Texture>
<FontString name="$parentBroadcastText" inherits="FriendsFont_UserText" justifyH="LEFT" justifyV="TOP">
<Size>
<AbsDimension x="158" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="30" y="0"/>
<Anchor point="TOP" relativeTo="$parentNoteText" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
<Color r="0.345" g="0.667" b="0.867" />
</FontString>
<Texture name="$parentBroadcastIcon" file="Interface\FriendsFrame\BroadcastIcon">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentBroadcastText" relativePoint="TOPLEFT" x="-2" y="1"/>
</Anchors>
</Texture>
<FontString name="$parentLastOnline" inherits="FriendsFont_Small" justifyH="LEFT" justifyV="TOP">
<Size>
<AbsDimension x="176" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="12" y="0"/>
<Anchor point="TOP" relativeTo="$parentBroadcastText" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
<Color r="0.486" g="0.518" b="0.541" />
</FontString>
<FontString name="$parentOtherToons" inherits="FriendsFont_Normal" justifyH="LEFT" text="FRIENDS_LIST_PLAYING" hidden="true">
<Anchors>
<Anchor point="LEFT" x="12" y="0"/>
<Anchor point="TOP" relativeTo="$parentBroadcastText" relativePoint="BOTTOM" x="0" y="-12"/>
</Anchors>
<Color r="0.996" g="0.882" b="0.361"/>
</FontString>
<FontString name="$parentToon2Name" inherits="FriendsFont_Small" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="176" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="12" y="0"/>
<Anchor point="TOP" relativeTo="$parentOtherToons" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
</FontString>
<FontString name="$parentToon2Info" inherits="FriendsFont_Small" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="168" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="20" y="0"/>
<Anchor point="TOP" relativeTo="$parentToon2Name" relativePoint="BOTTOM" x="0" y="-1"/>
</Anchors>
<Color r="0.486" g="0.518" b="0.541" />
</FontString>
<FontString name="$parentToon3Name" inherits="FriendsFont_Small" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="176" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="12" y="0"/>
<Anchor point="TOP" relativeTo="$parentToon2Info" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
</FontString>
<FontString name="$parentToon3Info" inherits="FriendsFont_Small" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="168" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="20" y="0"/>
<Anchor point="TOP" relativeTo="$parentToon3Name" relativePoint="BOTTOM" x="0" y="-1"/>
</Anchors>
<Color r="0.486" g="0.518" b="0.541" />
</FontString>
<FontString name="$parentToon4Name" inherits="FriendsFont_Small" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="176" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="12" y="0"/>
<Anchor point="TOP" relativeTo="$parentToon3Info" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
</FontString>
<FontString name="$parentToon4Info" inherits="FriendsFont_Small" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="168" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="20" y="0"/>
<Anchor point="TOP" relativeTo="$parentToon4Name" relativePoint="BOTTOM" x="0" y="-1"/>
</Anchors>
<Color r="0.486" g="0.518" b="0.541" />
</FontString>
<FontString name="$parentToon5Name" inherits="FriendsFont_Small" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="176" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="12" y="0"/>
<Anchor point="TOP" relativeTo="$parentToon4Info" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
</FontString>
<FontString name="$parentToon5Info" inherits="FriendsFont_Small" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="168" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="20" y="0"/>
<Anchor point="TOP" relativeTo="$parentToon5Name" relativePoint="BOTTOM" x="0" y="-1"/>
</Anchors>
<Color r="0.486" g="0.518" b="0.541" />
</FontString>
<FontString name="$parentToonMany" inherits="FriendsFont_Small" justifyH="LEFT" hidden="true">
<Size>
<AbsDimension x="176" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" x="12" y="0"/>
<Anchor point="TOP" relativeTo="$parentToon5Info" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
<OnLoad function="FriendsFrame_OnLoad"/>
<OnShow function="FriendsFrame_OnShow"/>
<OnHide function="FriendsFrame_OnHide"/>
<OnEvent>
FriendsFrame_OnEvent(self, event, ...);
</OnEvent>
<OnMouseWheel function=""/>
</Scripts>
</Frame>
<Frame name="AddFriendFrame" parent="UIParent" hidden="true" frameStrata="DIALOG">
<Size>
<AbsDimension x="446" y="272"/>
</Size>
<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>
<Frames>
<Frame name="AddFriendInfoFrame" hidden="true">
<Size>
<AbsDimension x="446" y="272"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\FriendsFrame\PlusManz-BattleNet" alpha="0.3">
<Anchors>
<Anchor point="TOPLEFT" x="62" y="-32" />
</Anchors>
</Texture>
<Texture name="$parentFactionIcon" file="Interface\FriendsFrame\PlusManz-Horde" alpha="0.5" hidden="true">
<Anchors>
<Anchor point="TOPRIGHT" x="-114" y="-32" />
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentLeftFriend" file="Interface\FriendsFrame\PlusManz-PlusManz">
<Anchors>
<Anchor point="TOPLEFT" x="42" y="-42" />
</Anchors>
</Texture>
<Texture name="$parentRightFriend" file="Interface\FriendsFrame\PlusManz-PlusManz">
<Anchors>
<Anchor point="TOPRIGHT" x="-134" y="-42" />
</Anchors>
</Texture>
<FontString name="$parentLeftTitle" inherits="GameFontNormal" justifyH="LEFT" text="BATTLENET_FRIEND">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentLeftFriend">
<Offset>
<AbsDimension x="-2" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentRightTitle" inherits="GameFontNormal" justifyH="LEFT" text="CHARACTER_FRIEND">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentRightFriend">
<Offset>
<AbsDimension x="-2" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString inherits="GameFontHighlightSmall" justifyH="LEFT" text="BATTLENET_FRIEND_INFO">
<Size>
<AbsDimension x="160" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentLeftTitle" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString inherits="GameFontHighlightSmall" justifyH="LEFT" text="CHARACTER_FRIEND_INFO">
<Size>
<AbsDimension x="160" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentRightTitle" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentContinueButton" inherits="UIPanelButtonTemplate2" text="CONTINUE">
<Size>
<AbsDimension x="131" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SetCVar("addFriendInfoShown", 1);
AddFriendFrame_ShowEntry();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="AddFriendEntryFrame" hidden="true">
<Size>
<AbsDimension x="384" y="218"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="BORDER">
<Texture name="$parentLeftIcon" file="Interface\FriendsFrame\PlusManz-BattleNet" alpha="0.3">
<Size>
<AbsDimension x="40" y="40"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" x="92" y="-50" />
</Anchors>
</Texture>
<Texture name="$parentRightIcon" file="Interface\FriendsFrame\PlusManz-Horde" alpha="0.5" hidden="true">
<Size>
<AbsDimension x="40" y="40"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" x="-82" y="-50" />
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parentLeftFriend" file="Interface\FriendsFrame\PlusManz-PlusManz">
<Size>
<AbsDimension x="36" y="36"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentLeftIcon" x="-10" y="-4" />
</Anchors>
</Texture>
<Texture name="$parentRightFriend" file="Interface\FriendsFrame\PlusManz-PlusManz">
<Size>
<AbsDimension x="36" y="36"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentRightIcon" x="-10" y="-4" />
</Anchors>
</Texture>
<FontString name="$parentTopTitle" inherits="GameFontNormalLarge" text="ADD_FRIEND" justifyH="CENTER">
<Anchors>
<Anchor point="TOP" relativePoint="TOP" x="-12" y="-24"/>
</Anchors>
</FontString>
<FontString name="$parentOrLabel" inherits="GameFontNormalLarge" text="OR_CAPS" justifyH="CENTER">
<Anchors>
<Anchor point="TOP" relativePoint="TOP" x="0" y="-66"/>
</Anchors>
<Color r="1" g="1" b="1"/>
</FontString>
<FontString name="$parentLeftTitle" inherits="GameFontNormal" text="BATTLENET_FRIEND" justifyH="CENTER">
<Anchors>
<Anchor point="TOP" relativeTo="$parentLeftFriend" relativePoint="BOTTOM" x="8" y="4"/>
</Anchors>
</FontString>
<FontString name="$parentRightTitle" inherits="GameFontNormal" text="CHARACTER_FRIEND" justifyH="CENTER">
<Anchors>
<Anchor point="TOP" relativeTo="$parentRightFriend" relativePoint="BOTTOM" x="8" y="4"/>
</Anchors>
</FontString>
<FontString name="$parentLeftDescription" inherits="GameFontHighlightSmall" text="BATTLENET_FRIEND_LABEL" justifyH="CENTER">
<Anchors>
<Anchor point="TOP" relativeTo="$parentLeftTitle" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
</FontString>
<FontString name="$parentRightDescription" inherits="GameFontHighlightSmall" text="CHARACTER_FRIEND_LABEL" justifyH="CENTER">
<Anchors>
<Anchor point="TOP" relativeTo="$parentRightTitle" relativePoint="BOTTOM" x="0" y="-4"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentInfoButton">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentTopTitle" x="8" y="0" />
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture" file="Interface\FriendsFrame\InformationIcon">
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<HighlightTexture file="Interface\FriendsFrame\InformationIcon-Highlight" alphaMode="ADD">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTexture" relativePoint="TOPLEFT"/>
</Anchors>
</HighlightTexture>
<Scripts>
<OnMouseDown>
_G[self:GetName().."Texture"]:SetPoint("TOPLEFT", 1, -1);
</OnMouseDown>
<OnMouseUp>
_G[self:GetName().."Texture"]:SetPoint("TOPLEFT", 0, 0);
</OnMouseUp>
<OnClick>
if ( AddFriendNameEditBox:HasFocus() ) then
AddFriendFrame.editFocus = AddFriendNameEditBox;
elseif ( AddFriendNoteEditBox:HasFocus() ) then
AddFriendFrame.editFocus = AddFriendNoteEditBox;
else
AddFriendFrame.editFocus = nil;
end
AddFriendFrame_ShowInfo();
</OnClick>
</Scripts>
</Button>
<EditBox name="AddFriendNameEditBox" autoFocus="false" letters="255" inherits="AutoCompleteEditBoxTemplate">
<Size>
<AbsDimension x="280" y="20"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset x="0" y="-130"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
<Size>
<AbsDimension x="8" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="-5" y="0"/>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
</Texture>
<Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
<Size>
<AbsDimension x="8" y="20"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
<TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
<Size>
<AbsDimension x="0" y="20"/>
</Size>
<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="BORDER">
<FontString name="$parentFill" inherits="FriendsFont_Small" justifyH="LEFT" justifyV="MIDDLE" text="ENTER_NAME_OR_EMAIL">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0.35" g="0.35" b="0.35"/>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self.autoCompleteParams = AUTOCOMPLETE_LIST.ADDFRIEND;
</OnLoad>
<OnEnterPressed>
if ( not AutoCompleteEditBox_OnEnterPressed(self) ) then
AddFriendFrame_Accept();
end
</OnEnterPressed>
<OnTabPressed>
if ( AddFriendNoteEditBox:IsShown() and not AutoCompleteEditBox_OnTabPressed(self) ) then
AddFriendNoteEditBox:SetFocus();
end
</OnTabPressed>
<OnEscapePressed>
self:ClearFocus();
</OnEscapePressed>
<OnTextChanged function="AddFriendNameEditBox_OnTextChanged"/>
</Scripts>
<FontString inherits="FriendsFont_Small">
<Color r="1" g="1" b="1" />
</FontString>
</EditBox>
<Frame name="AddFriendNoteFrame" hidden="true">
<Size x="286" y="60"/>
<Anchors>
<Anchor point="TOP">
<Offset x="-2" y="-164"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentTopLeft" file="Interface\Common\Common-Input-Border-TL">
<Size>
<AbsDimension x="8" y="8"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentTopRight" file="Interface\Common\Common-Input-Border-TR">
<Size>
<AbsDimension x="8" y="8"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentTop" file="Interface\Common\Common-Input-Border-T">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="TOPRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentTopRight" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture name="$parentBottomLeft" file="Interface\Common\Common-Input-Border-BL">
<Size>
<AbsDimension x="8" y="8"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentBottomRight" file="Interface\Common\Common-Input-Border-BR">
<Size>
<AbsDimension x="8" y="8"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentBottom" file="Interface\Common\Common-Input-Border-B">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentBottomLeft" relativePoint="TOPRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border-L">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="BOTTOMLEFT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomLeft" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="$parentRight" file="Interface\Common\Common-Input-Border-R">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTopRight" relativePoint="BOTTOMLEFT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border-M">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentLeft" relativePoint="TOPRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentRight" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<ScrollFrame name="$parentScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="6" y="-6"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="6"/>
</Anchors>
<Frames>
<Button name="$parentFocusButton" setAllPoints="true">
<Scripts>
<OnClick>
AddFriendNoteEditBox:SetFocus();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
local scrollBar = _G[self:GetName().."ScrollBar"];
scrollBar:SetFrameLevel(_G[self:GetName().."FocusButton"]:GetFrameLevel() + 2);
scrollBar:ClearAllPoints();
scrollBar:SetPoint("TOPLEFT", self, "TOPRIGHT", -18, -10);
scrollBar:SetPoint("BOTTOMLEFT", self, "BOTTOMRIGHT", -18, 8);
-- reposition the up and down buttons
_G[self:GetName().."ScrollBarScrollDownButton"]:SetPoint("TOP", scrollBar, "BOTTOM", 0, 4);
_G[self:GetName().."ScrollBarScrollUpButton"]:SetPoint("BOTTOM", scrollBar, "TOP", 0, -4);
-- make the scroll bar hideable and force it to start off hidden so positioning calculations can be done
-- as soon as it needs to be shown
self.scrollBarHideable = 1;
scrollBar:Hide();
</OnLoad>
</Scripts>
<ScrollChild>
<EditBox name="AddFriendNoteEditBox" multiLine="true" letters="127" autoFocus="false">
<Size x="258" y="1"/>
<Layers>
<Layer level="BORDER">
<FontString name="$parentFill" inherits="FriendsFont_Small" justifyH="LEFT" justifyV="MIDDLE" text="ENTER_INVITE_NOTE">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0.35" g="0.35" b="0.35"/>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnTabPressed>
AddFriendNameEditBox:SetFocus();
</OnTabPressed>
<OnTextChanged>
ScrollingEdit_OnTextChanged(self, self:GetParent());
if ( self:GetText() ~= "" ) then
AddFriendNoteEditBoxFill:Hide();
else
AddFriendNoteEditBoxFill:Show();
end
</OnTextChanged>
<OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
<OnUpdate>
ScrollingEdit_OnUpdate(self, elapsed, self:GetParent());
</OnUpdate>
<OnEscapePressed>
self:ClearFocus();
</OnEscapePressed>
</Scripts>
<FontString inherits="FriendsFont_Small"/>
</EditBox>
</ScrollChild>
</ScrollFrame>
</Frames>
</Frame>
<Button name="$parentAcceptButton" inherits="UIPanelButtonTemplate2" text="ADD_FRIEND">
<Size>
<AbsDimension x="118" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="45" y="30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="AddFriendFrame_Accept"/>
</Scripts>
</Button>
<Button name="$parentCancelButton" inherits="UIPanelButtonTemplate2" text="CANCEL">
<Size>
<AbsDimension x="118" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-50" y="30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
StaticPopupSpecial_Hide(AddFriendFrame);
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Frames>
<Scripts>
<OnLoad>
self.exclusive = true;
self.hideOnEscape = true;
</OnLoad>
<OnShow function="AddFriendFrame_OnShow"/>
<OnHide>
AddFriendFrame.editFocus = nil;
PlaySound("igMainMenuClose");
</OnHide>
</Scripts>
</Frame>
<Frame name="FriendsFriendsFrame" parent="UIParent" hidden="true" frameStrata="DIALOG">
<Size>
<AbsDimension x="314" y="390"/>
</Size>
<Anchors>
<Anchor point="CENTER" x="0" y="50"/>
</Anchors>
<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="ARTWORK">
<FontString name="$parentTitle" inherits="FriendsFont_Large" justifyH="LEFT">
<Size>
<AbsDimension x="270" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" x="26" y="-20"/>
</Anchors>
<Color r="1.0" g="0.82" b="0"/>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="FriendsFriendsFrameDropDown" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="8" y="-40"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="FriendsFriendsList">
<Size>
<AbsDimension x="266" y="192"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" x="24" y="-74"/>
</Anchors>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Scripts>
<OnLoad>
self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
self:SetBackdropColor(0, 0, 0);
</OnLoad>
</Scripts>
</Frame>
<Button name="FriendsFriendsButton1" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FriendsFriendsList">
<Offset>
<AbsDimension x="4" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFriendsButton2" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFriendsButton1" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFriendsButton3" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFriendsButton2" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFriendsButton4" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFriendsButton3" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFriendsButton5" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFriendsButton4" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFriendsButton6" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFriendsButton5" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFriendsButton7" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFriendsButton6" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFriendsButton8" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFriendsButton7" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFriendsButton9" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFriendsButton8" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFriendsButton10" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFriendsButton9" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="FriendsFriendsButton11" inherits="FriendsFriendsButtonTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="FriendsFriendsButton10" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<ScrollFrame name="FriendsFriendsScrollFrame" inherits="FauxScrollFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FriendsFriendsList">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="FriendsFriendsList">
<Offset>
<AbsDimension x="-26" y="3"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(self, offset, FRIENDS_FRAME_IGNORE_HEIGHT, FriendsFriendsList_Update);
</OnVerticalScroll>
</Scripts>
</ScrollFrame>
<Frame name="FriendsFriendsWaitFrame">
<Size x="20" y="20"/>
<Anchors>
<Anchor point="CENTER" relativeTo="FriendsFriendsScrollFrame"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString inherits="ChatFontNormal" text="FRIENDS_FRIENDS_WAITING">
<Anchors>
<Anchor point="CENTER" x="12" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnShow>
if ( UIFrameIsFlashing(self) ) then
UIFrameFlashStop(self);
end
UIFrameFlash(self, 1, 0.5, 60, true, 1)
</OnShow>
</Scripts>
</Frame>
<Frame name="FriendsFriendsNoteFrame">
<Size x="262" y="60"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FriendsFriendsScrollFrame" relativePoint="BOTTOMLEFT">
<Offset x="2" y="-10"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentTopLeft" file="Interface\Common\Common-Input-Border-TL">
<Size>
<AbsDimension x="8" y="8"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentTopRight" file="Interface\Common\Common-Input-Border-TR">
<Size>
<AbsDimension x="8" y="8"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentTop" file="Interface\Common\Common-Input-Border-T">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="TOPRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentTopRight" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture name="$parentBottomLeft" file="Interface\Common\Common-Input-Border-BL">
<Size>
<AbsDimension x="8" y="8"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentBottomRight" file="Interface\Common\Common-Input-Border-BR">
<Size>
<AbsDimension x="8" y="8"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parentBottom" file="Interface\Common\Common-Input-Border-B">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentBottomLeft" relativePoint="TOPRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border-L">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="BOTTOMLEFT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomLeft" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="$parentRight" file="Interface\Common\Common-Input-Border-R">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTopRight" relativePoint="BOTTOMLEFT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border-M">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentLeft" relativePoint="TOPRIGHT"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentRight" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<ScrollFrame name="$parentScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" x="6" y="-6"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" x="0" y="6"/>
</Anchors>
<Frames>
<Button name="$parentFocusButton" setAllPoints="true">
<Scripts>
<OnClick>
FriendsFriendsNoteEditBox:SetFocus();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
local scrollBar = _G[self:GetName().."ScrollBar"];
scrollBar:SetFrameLevel(_G[self:GetName().."FocusButton"]:GetFrameLevel() + 2);
scrollBar:ClearAllPoints();
scrollBar:SetPoint("TOPLEFT", self, "TOPRIGHT", -18, -10);
scrollBar:SetPoint("BOTTOMLEFT", self, "BOTTOMRIGHT", -18, 8);
-- reposition the up and down buttons
_G[self:GetName().."ScrollBarScrollDownButton"]:SetPoint("TOP", scrollBar, "BOTTOM", 0, 4);
_G[self:GetName().."ScrollBarScrollUpButton"]:SetPoint("BOTTOM", scrollBar, "TOP", 0, -4);
-- make the scroll bar hideable and force it to start off hidden so positioning calculations can be done
-- as soon as it needs to be shown
self.scrollBarHideable = 1;
scrollBar:Hide();
</OnLoad>
</Scripts>
<ScrollChild>
<EditBox name="FriendsFriendsNoteEditBox" multiLine="true" letters="127" autoFocus="false">
<Size x="234" y="1"/>
<Layers>
<Layer level="BORDER">
<FontString name="$parentFill" inherits="FriendsFont_Small" justifyH="LEFT" justifyV="MIDDLE" text="ENTER_INVITE_NOTE">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0.35" g="0.35" b="0.35"/>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnTextChanged>
ScrollingEdit_OnTextChanged(self, self:GetParent());
if ( self:GetText() ~= "" ) then
FriendsFriendsNoteEditBoxFill:Hide();
else
FriendsFriendsNoteEditBoxFill:Show();
end
</OnTextChanged>
<OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
<OnUpdate>
ScrollingEdit_OnUpdate(self, elapsed, self:GetParent());
</OnUpdate>
<OnEscapePressed>
self:ClearFocus();
</OnEscapePressed>
</Scripts>
<FontString inherits="FriendsFont_Small"/>
</EditBox>
</ScrollChild>
</ScrollFrame>
</Frames>
</Frame>
<Button name="FriendsFriendsSendRequestButton" inherits="UIPanelButtonTemplate2" text="SEND_REQUEST">
<Size>
<AbsDimension x="118" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="30" y="24"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="FriendsFriendsFrame_SendRequest"/>
</Scripts>
</Button>
<Button name="FriendsFriendsCloseButton" inherits="UIPanelButtonTemplate2" text="CLOSE">
<Size>
<AbsDimension x="118" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-30" y="24"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="FriendsFriendsFrame_Close"/>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
self:RegisterEvent("BN_REQUEST_FOF_SUCCEEDED");
self:RegisterEvent("BN_DISCONNECTED");
self:RegisterEvent("BN_REQUEST_FOF_FAILED");
self.requested = { };
self.hideOnEscape = true;
self.exclusive = true;
UIDropDownMenu_SetWidth(FriendsFriendsFrameDropDown, 120);
</OnLoad>
<OnShow>
PlaySound("igMainMenuOpen");
</OnShow>
<OnHide>
PlaySound("igMainMenuClose");
</OnHide>
<OnEvent function="FriendsFriendsFrame_OnEvent"/>
</Scripts>
</Frame>
</Ui>