<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_GuildRewards.lua"/>
<!--
*******************************************************************************
Templates
*******************************************************************************
-->
<Button name="GuildRewardsButtonTemplate" virtual="true">
<Size x="299" y="47"/>
<Frames>
<Frame name="$parentMoneyFrame" inherits="SmallMoneyFrameTemplate" parentKey="money">
<Anchors>
<Anchor point="TOPRIGHT" x="5" y="-7"/>
</Anchors>
<Scripts>
<OnLoad>
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "STATIC");
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" parentKey="icon">
<Size x="36" y="36"/>
<Anchors>
<Anchor point="TOPLEFT" x="6" y="-6"/>
</Anchors>
</Texture>
<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT" parentKey="name">
<Size x="0" y="12"/>
<Anchors>
<Anchor point="TOPLEFT" x="48" y="-7"/>
<Anchor point="RIGHT" relativeTo="$parentMoneyFrame" relativePoint="LEFT" x="-2" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentSubText" inherits="SystemFont_Shadow_Small" justifyH="LEFT" justifyV="MIDDLE" parentKey="subText">
<Size x="240" y="0"/>
<Anchors>
<Anchor point="LEFT" x="48" y="-8"/>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY" textureSubLevel="1">
<Texture parentKey="selectedTex" file="Interface\ClassTrainerFrame\TrainerTextures" hidden="true" alphaMode="ADD">
<TexCoords left="0.00195313" right="0.57421875" top="0.84960938" bottom="0.94140625"/>
</Texture>
<Texture parentKey="lock" file="Interface\GuildFrame\GuildFrame" hidden="true">
<Size x="17" y="21"/>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentIcon" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
</Anchors>
<TexCoords left="0.51660156" right="0.53320313" top="0.92578125" bottom="0.96679688"/>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture parentKey="disabledBG" hidden="true" alphaMode="MOD">
<Anchors>
<Anchor point="TOPLEFT" x="2" y="-2"/>
<Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
</Anchors>
<Color r="0.55" g="0.55" b="0.55" a="1"/>
</Texture>
</Layer>
</Layers>
<NormalTexture file="Interface\ClassTrainerFrame\TrainerTextures">
<TexCoords left="0.00195313" right="0.57421875" top="0.65820313" bottom="0.75000000"/>
</NormalTexture>
<HighlightTexture name="$parentHighlight" file="Interface\ClassTrainerFrame\TrainerTextures" alphaMode="ADD">
<TexCoords left="0.00195313" right="0.57421875" top="0.75390625" bottom="0.84570313"/>
</HighlightTexture>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnEnter function="GuildRewardsButton_OnEnter"/>
<OnLeave>
GameTooltip:Hide();
GuildRewardsFrame.activeButton = nil;
</OnLeave>
<OnClick function="GuildRewardsButton_OnClick"/>
</Scripts>
</Button>
<!--
*******************************************************************************
Rewards panel
*******************************************************************************
-->
<Frame name="GuildRewardsFrame" 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 name="$parentBg" file="Interface\ClassTrainerFrame\TrainerTextures">
<Size x="299" y="308"/>
<Anchors>
<Anchor point="TOPLEFT" x="4" y="-4"/>
</Anchors>
<TexCoords left="0.00195313" right="0.58593750" top="0.00195313" bottom="0.65429688"/>
</Texture>
<FontString name="$parentVisitText" inherits="GameFontHighlight" text="GUILD_REWARDS_VISIT_VENDOR">
<Size x="232" y="38"/>
<Anchors>
<Anchor point="TOPLEFT" x="72" y="40"/>
</Anchors>
</FontString>
</Layer>
<Layer level="ARTWORK">
<FontString inherits="GameFontNormalSmall" text="GUILD_MEMBERS_ONLINE">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="GuildFrameMembersCount" relativePoint="TOPRIGHT" x="0" y="6"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<ScrollFrame name="GuildRewardsContainer" inherits="HybridScrollFrameTemplate" hidden="false">
<Size x="302" y="306"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="4" y="-4"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Slider name="$parentScrollBar" inherits="HybridScrollBarTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="-12"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
</Frames>
</ScrollFrame>
<Frame name="GuildRewardsDropDown" inherits="UIDropDownMenuTemplate" hidden="true">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Scripts>
<OnLoad function="GuildRewardsDropDown_OnLoad"/>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad function="GuildRewardsFrame_OnLoad"/>
<OnShow function="GuildRewardsFrame_OnShow"/>
<OnEvent function="GuildRewardsFrame_OnEvent"/>
<OnHide function="GuildRewardsFrame_OnHide"/>
</Scripts>
</Frame>
</Ui>