<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="Blizzard_GuildNews.lua"/>
<!--
*******************************************************************************
Templates
*******************************************************************************
-->
<CheckButton name="GuildNewsCheckButtonTemplate" virtual="true">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="GameFontHighlight">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="1" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick function="GuildNewsFilter_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>
<!-- GuildNewsButtonTemplate is in GuildUI.xml -->
<!--
*******************************************************************************
News panel
*******************************************************************************
-->
<Frame name="GuildNewsFrame" parent="GuildFrame" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" x="4" y="-65"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" x="-7" y="26"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\GuildFrame\GuildFrame">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" x="3" y="-3"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" x="-3" y="3"/>
</Anchors>
<TexCoords left="0.00097656" right="0.31445313" top="0.00195313" bottom="0.59765625"/>
</Texture>
</Layer>
<Layer level="BACKGROUND" textureSubLevel="1">
<Texture name="$parentHeader" file="Interface\GuildFrame\GuildFrame">
<Size x="319" y="22"/>
<Anchors>
<Anchor point="TOPLEFT" x="4" y="-3"/>
</Anchors>
<TexCoords left="0.00097656" right="0.31445313" top="0.93164063" bottom="0.97460938"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString inherits="GameFontNormal" text="GUILD_NEWS">
<Size>
<AbsDimension x="0" y="0"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentHeader" x="10" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentNoNews" inherits="GameFontDisable" text="GUILD_NO_GUILD_NEWS" hidden="true">
<Size>
<AbsDimension x="0" y="0"/>
</Size>
<Anchors>
<Anchor point="CENTER" x="0" y="-11"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="GuildNewsSetFiltersButton" text="GUILD_SET_FILTERS_LINK">
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentHeader" x="-8" y="0"/>
</Anchors>
<Scripts>
<OnClick>
GuildFramePopup_Show(GuildNewsFiltersFrame);
</OnClick>
</Scripts>
<ButtonText>
<Anchors>
<Anchor point="RIGHT" x="-2" y="0"/>
</Anchors>
<Color r="0.973" g="0.937" b="0.580"/>
</ButtonText>
<NormalFont style="GameFontNormalSmall"/>
</Button>
<ScrollFrame name="GuildNewsContainer" inherits="MinimalHybridScrollFrameTemplate">
<Size x="298" y="305"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="4" y="-25"/>
</Offset>
</Anchor>
</Anchors>
</ScrollFrame>
<Frame name="GuildNewsDropDown" inherits="UIDropDownMenuTemplate" hidden="true">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Scripts>
<OnLoad function="GuildNewsDropDown_OnLoad"/>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad function="GuildNewsFrame_OnLoad"/>
<OnShow function="GuildNewsFrame_OnShow"/>
<OnEvent function="GuildNewsFrame_OnEvent"/>
<OnHide function="GuildNewsFrame_OnHide"/>
</Scripts>
</Frame>
<!--
*******************************************************************************
Popup
*******************************************************************************
-->
<Frame name="GuildNewsFiltersFrame" toplevel="true" frameStrata="DIALOG" hidden="true" parent="GuildFrame" enableMouse="true" inherits="TranslucentFrameTemplate">
<Size>
<AbsDimension x="264" y="224"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrame" relativePoint="TOPRIGHT" x="0" y="-20"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentTitle" inherits="GameFontNormal" text="GUILD_NEWS_FILTERS">
<Anchors>
<Anchor point="TOPLEFT" x="24" y="-18"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-4" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<CheckButton name="GuildNewsFilterButton1" inherits="GuildNewsCheckButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" x="24" y="-40"/>
</Anchors>
</CheckButton>
<CheckButton name="GuildNewsFilterButton2" inherits="GuildNewsCheckButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildNewsFilterButton1" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
</CheckButton>
<CheckButton name="GuildNewsFilterButton3" inherits="GuildNewsCheckButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildNewsFilterButton2" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
</CheckButton>
<CheckButton name="GuildNewsFilterButton4" inherits="GuildNewsCheckButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildNewsFilterButton3" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
</CheckButton>
<CheckButton name="GuildNewsFilterButton5" inherits="GuildNewsCheckButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildNewsFilterButton4" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
</CheckButton>
<CheckButton name="GuildNewsFilterButton6" inherits="GuildNewsCheckButtonTemplate" id="6">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildNewsFilterButton5" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
</CheckButton>
<CheckButton name="GuildNewsFilterButton7" inherits="GuildNewsCheckButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildNewsFilterButton6" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
</CheckButton>
</Frames>
<Scripts>
<OnLoad function="GuildNewsFiltersFrame_OnLoad"/>
<OnShow function="GuildNewsFiltersFrame_OnShow"/>
<OnHide>
PlaySound("igMainMenuOptionCheckBoxOff");
</OnHide>
</Scripts>
</Frame>
<!--
*******************************************************************************
Boss Model
*******************************************************************************
-->
<PlayerModel name="GuildNewsBossModel" enableMouse="true" hidden="true" parent="GuildFrame" clampedToScreen="true" frameStrata="HIGH">
<Size x="198" y="230"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GuildFrame" relativePoint="TOPRIGHT" x="-3" y="-43"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBg" inherits="QuestPortrait-MrBrownstone">
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY" textureSubLevel="-1">
<Texture name="$parentShadowOverlay" file="Interface\TalentFrame\PetTalent-ShadowOverlay" setAllPoints="true">
<TexCoords left="0.00000000" right="0.537109375" top="0" bottom="0.791015625"/>
</Texture>
<Texture name="$parentTopBg" inherits="QuestPortrait-StoneSwirls-Top">
<Anchors>
<Anchor point="TOPLEFT" y="16"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentBotLeftCorner" inherits="UI-Frame-BotCornerLeft" parentKey="BorderBottomLeft">
<Anchors>
<Anchor point="BOTTOMLEFT" x="-5" y="-5"/>
</Anchors>
</Texture>
<Texture name="$parentBotRightCorner" inherits="UI-Frame-BotCornerRight" parentKey="BorderBottomRight">
<Anchors>
<Anchor point="BOTTOMRIGHT" x="2" y="-5"/>
</Anchors>
</Texture>
<Texture name="$parentTopBorder" inherits="_UI-Frame-TitleTile" parentKey="BorderTop">
<Anchors>
<Anchor point="TOPLEFT" x="-1" y="20"/>
<Anchor point="TOPRIGHT" x="1" y="20"/>
</Anchors>
</Texture>
<Texture name="$parentBottomBorder" inherits="_UI-Frame-Bot" parentKey="BorderBottom">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentBotLeftCorner" relativePoint="BOTTOMRIGHT" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBotRightCorner" relativePoint="BOTTOMLEFT" y="0"/>
</Anchors>
</Texture>
<Texture name="$parentLeftBorder" inherits="!UI-Frame-LeftTile" parentKey="BorderLeft">
<Anchors>
<Anchor point="TOPLEFT" x="-5"/>
<Anchor point="BOTTOMLEFT" relativeTo="$parentBotLeftCorner" relativePoint="TOPLEFT"/>
</Anchors>
</Texture>
<Texture name="$parentRightBorder" inherits="!UI-Frame-RightTile" parentKey="BorderRight">
<Anchors>
<Anchor point="TOPRIGHT" x="3"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentBotRightCorner" relativePoint="TOPRIGHT" x="1"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY" textureSubLevel="1">
<Texture name="$parentNameplate" inherits="QuestPortrait-Nameplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="12"/>
</Anchors>
</Texture>
<FontString name="GuildNewsBossNameText" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentNameplate" x="22" y="-12"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentNameplate" x="-22" y="12"/>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY" textureSubLevel="2">
<Texture name="$parentCornerTopLeft" inherits="QuestPortrait-Corner_UL">
<Anchors>
<Anchor point="TOPLEFT" x="-6" y="24"/>
</Anchors>
</Texture>
<Texture name="$parentCornerTopRight" inherits="QuestPortrait-Corner_UR">
<Anchors>
<Anchor point="TOPRIGHT" x="7" y="24"/>
</Anchors>
</Texture>
<Texture name="$parentCornerBottomLeft" inherits="QuestPortrait-Corner_BL">
<Anchors>
<Anchor point="BOTTOMLEFT" x="-6" y="-26"/>
</Anchors>
</Texture>
<Texture name="$parentCornerBottomRight" inherits="QuestPortrait-Corner_BR">
<Anchors>
<Anchor point="BOTTOMRIGHT" x="7" y="-26"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="$parentTextFrame" hidden="false" useParentLevel="true">
<Size x="198" y="44"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentNameplate" relativePoint="BOTTOMLEFT" y="12"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentTextFrameBg" inherits="QuestPortrait-MrBrownstone">
<Size x="197" y="64"/>
<TexCoords left="0.00390625" right="0.77343750" top="0.00195313" bottom="0.126953125"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="$parentTextBotLeftCorner" inherits="UI-Frame-BotCornerLeft" parentKey="BorderBottomLeft">
<Anchors>
<Anchor point="BOTTOMLEFT" x="-5" y="-5"/>
</Anchors>
</Texture>
<Texture name="$parentTextBotRightCorner" inherits="UI-Frame-BotCornerRight" parentKey="BorderBottomRight">
<Anchors>
<Anchor point="BOTTOMRIGHT" x="2" y="-5"/>
</Anchors>
</Texture>
<Texture name="$parentTextBottomBorder" inherits="_UI-Frame-Bot" parentKey="BorderBottom">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentTextBotLeftCorner" relativePoint="BOTTOMRIGHT" y="0"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentTextBotRightCorner" relativePoint="BOTTOMLEFT" y="0"/>
</Anchors>
</Texture>
<Texture name="$parentTextLeftBorder" inherits="!UI-Frame-LeftTile" parentKey="BorderLeft">
<Anchors>
<Anchor point="TOPLEFT" x="-5"/>
<Anchor point="BOTTOMLEFT" relativeTo="$parentTextBotLeftCorner" relativePoint="TOPLEFT"/>
</Anchors>
</Texture>
<Texture name="$parentTextRightBorder" inherits="!UI-Frame-RightTile" parentKey="BorderRight">
<Anchors>
<Anchor point="TOPRIGHT" x="3"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentTextBotRightCorner" relativePoint="TOPRIGHT" x="1"/>
</Anchors>
</Texture>
<FontString name="GuildNewsBossLocationText" inherits="GameFontHighlight">
<Size x="178" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" x="10" y="0"/>
<Anchor point="BOTTOMRIGHT" x="-10" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
GuildNewsBossModelCornerBottomLeft:SetPoint("BOTTOMLEFT", self, -6, -6);
GuildNewsBossModelCornerBottomRight:SetPoint("BOTTOMRIGHT", self, 7, -6);
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
Model_OnLoad(self);
self:SetPortraitZoom(0.6);
self:SetRotation(0);
self:SetClampRectInsets(0, 0, 24, 0);
</OnLoad>
<OnEvent function="Model_OnEvent"/>
</Scripts>
</PlayerModel>
</Ui>