Files
TurtleMail/TurtleMail.xml
2025-03-23 23:27:49 +01:00

849 lines
26 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="localization.lua"/>
<Script file="localization.fr.lua"/>
<Script file="localization.de.lua"/>
<Script file="localization.es.lua"/>
<Script file="localization.ru.lua"/>
<Script file="Calendar.lua"/>
<Script file="TurtleMail.lua"/>
<Button name="TurtleMailAutoCompleteButtonTemplate" virtual="true">
<Size>
<AbsDimension x="120" y="14"/>
</Size>
<Scripts>
<OnClick>
TurtleMail.select_match( this:GetID() )
</OnClick>
</Scripts>
<NormalFont inherits="GameFontNormal"/>
<HighlightFont inherits="GameFontHighlight"/>
<DisabledFont inherits="GameFontDisable"/>
<HighlightTexture inherits="UIPanelButtonHighlightTexture"/>
</Button>
<Frame name="MailAutoCompleteBox" parent="SendMailNameEditBox" frameStrata="DIALOG" hidden="true">
<Size>
<AbsDimension x="5" y="5"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="0" y="3"/></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>
<Layers>
<Layer level="ARTWORK">
<FontString name="MailAutoCompleteInstructions" inherits="GameFontDisableSmall">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="15" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="MailAutoCompleteButton1" inherits="TurtleMailAutoCompleteButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<!--This 10 is a magic number used in MailAutoComplete_Update when checking whether the MailAutoComplete box should be above or below the EditBox. Please update the number there if you change it here-->
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="MailAutoCompleteButton2" inherits="TurtleMailAutoCompleteButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="MailAutoCompleteButton1" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Button>
<Button name="MailAutoCompleteButton3" inherits="TurtleMailAutoCompleteButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="MailAutoCompleteButton2" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Button>
<Button name="MailAutoCompleteButton4" inherits="TurtleMailAutoCompleteButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="MailAutoCompleteButton3" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Button>
<Button name="MailAutoCompleteButton5" inherits="TurtleMailAutoCompleteButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="MailAutoCompleteButton4" relativePoint="BOTTOMLEFT"/>
</Anchors>
</Button>
</Frames>
<Scripts>
<OnLoad>
MAIL_AUTOCOMPLETE_MAX_BUTTONS = 5
this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b)
this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b)
this.maxHeight = MAIL_AUTOCOMPLETE_MAX_BUTTONS * MailAutoCompleteButton1:GetHeight()
MailAutoCompleteInstructions:SetText("|cffbbbbbbPress Tab|r")
</OnLoad>
</Scripts>
</Frame>
<Button name="MailAttachment" virtual="true">
<Size>
<AbsDimension x="37" y="37"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\Buttons\UI-Slot-Background">
<Size>
<AbsDimension x="39" y="39"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-1" y="1"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.640625" top="0" bottom="0.640625"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-5" y="2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="IconBorder" file="Interface\Buttons\WHITE8x8" hidden="true">
<Size>
<AbsDimension x="37" y="37"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:RegisterForClicks('LeftButtonUp', 'RightButtonUp')
this:RegisterForDrag('LeftButton')
</OnLoad>
<OnReceiveDrag>
TurtleMail.attachment_button_on_click()
</OnReceiveDrag>
<OnDragStart>
TurtleMail.attachment_button_on_click()
</OnDragStart>
<OnClick>
TurtleMail.attachment_button_on_click()
this:GetScript('OnEnter')()
</OnClick>
<OnEnter>
GameTooltip:SetOwner(this, 'ANCHOR_RIGHT')
if this.item then
GameTooltip:SetBagItem(unpack(this.item))
else
GameTooltip:SetText(ATTACHMENT_TEXT, 1.0, 1.0, 1.0)
end
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
</Scripts>
<HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
</Button>
<Button name="MailAttachment1" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment2" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment3" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment4" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment5" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment6" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment7" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment8" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment9" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment10" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment11" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment12" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment13" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment14" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment15" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment16" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment17" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment18" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment19" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment20" parent="SendMailFrame" inherits="MailAttachment"/>
<Button name="MailAttachment21" parent="SendMailFrame" inherits="MailAttachment"/>
<Frame name="TurtleMailReturnedArrowTemplate" virtual="true" hidden="true">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="0" y="8"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentTexture" file="Interface\Addons\TurtleMail\TurtleMail-RetArrow.blp">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GameTooltip:SetOwner( this, "ANCHOR_RIGHT" );
GameTooltip:SetText( L[ "This mail was returned to you." ] );
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Frame>
<Frame name="TurtleMailReturnedArrow1" parent="MailItem1ExpireTime" hidden="true" inherits="TurtleMailReturnedArrowTemplate"/>
<Frame name="TurtleMailReturnedArrow2" parent="MailItem2ExpireTime" hidden="true" inherits="TurtleMailReturnedArrowTemplate"/>
<Frame name="TurtleMailReturnedArrow3" parent="MailItem3ExpireTime" hidden="true" inherits="TurtleMailReturnedArrowTemplate"/>
<Frame name="TurtleMailReturnedArrow4" parent="MailItem4ExpireTime" hidden="true" inherits="TurtleMailReturnedArrowTemplate"/>
<Frame name="TurtleMailReturnedArrow5" parent="MailItem5ExpireTime" hidden="true" inherits="TurtleMailReturnedArrowTemplate"/>
<Frame name="TurtleMailReturnedArrow6" parent="MailItem6ExpireTime" hidden="true" inherits="TurtleMailReturnedArrowTemplate"/>
<Frame name="TurtleMailReturnedArrow7" parent="MailItem7ExpireTime" hidden="true" inherits="TurtleMailReturnedArrowTemplate"/>
<Frame name="TurtleMailAuctionTemplate" virtual="true" hidden="true">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="4" y="8"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentTexture" file="Interface\Addons\TurtleMail\TurtleMail-AH.blp">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="-4" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText( L[ "This mail was sent by an auctionhouse." ] );
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Frame>
<Frame name="TurtleMailAuctionIcon1" parent="MailItem1ExpireTime" hidden="true" inherits="TurtleMailAuctionTemplate"/>
<Frame name="TurtleMailAuctionIcon2" parent="MailItem2ExpireTime" hidden="true" inherits="TurtleMailAuctionTemplate"/>
<Frame name="TurtleMailAuctionIcon3" parent="MailItem3ExpireTime" hidden="true" inherits="TurtleMailAuctionTemplate"/>
<Frame name="TurtleMailAuctionIcon4" parent="MailItem4ExpireTime" hidden="true" inherits="TurtleMailAuctionTemplate"/>
<Frame name="TurtleMailAuctionIcon5" parent="MailItem5ExpireTime" hidden="true" inherits="TurtleMailAuctionTemplate"/>
<Frame name="TurtleMailAuctionIcon6" parent="MailItem6ExpireTime" hidden="true" inherits="TurtleMailAuctionTemplate"/>
<Frame name="TurtleMailAuctionIcon7" parent="MailItem7ExpireTime" hidden="true" inherits="TurtleMailAuctionTemplate"/>
<CheckButton name="SendMailCODAllButton" parent="SendMailFrame" inherits="OptionsCheckButtonTemplate" >
<Size x="16" y="16"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SendMailCODButton" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="40" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<Frame parent="InboxFrame" >
<Layers>
<Layer level="ARTWORK">
<FontString name="MoneyReceived" inherits="GameFontNormal" text="Money received:" hidden="true">
<Size>
<AbsDimension x="224" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="InboxTitleText" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="TurtleMailLogItemTemplate" virtual="true" hidden="true">
<Size>
<AbsDimension x="100" y="30"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentBackground" file="Interface/Buttons/WHITE8x8">
<Size>
<AbsDimension x="10" y="1"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
<Anchor point="RIGHT" />
</Anchors>
</Texture>
<Texture name="$parentStatus">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="4" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentTimeStamp" inherits="GameFontNormal">
<Size>
<AbsDimension x="80" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentMoney" inherits="GameFontNormal">
<Size>
<AbsDimension x="70" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="130" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentParticipant" inherits="GameFontNormal">
<Size>
<AbsDimension x="100" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentSubject" inherits="GameFontNormal">
<Size>
<AbsDimension x="270" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentIcon">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture" file="Interface/Icons/INV_Scroll_01">
<Size>
<AbsDimension x="28" y="28"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
</Frames>
</Frame>
<Frame name="TurtleMailLogFrame" parent="MailFrame" hidden="true">
<Size>
<AbsDimension x="384" y="512"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="TurtleMailLogTitleText" inherits="GameFontNormal">
<Size>
<AbsDimension x="224" y="14"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="6" y="230"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="TurtleMailLogStatusText" inherits="GameFontNormal">
<Size>
<AbsDimension x="150" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="27" y="-414" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="TurtleMailLogFiltersButton" inherits="UIPanelButtonTemplate" text="Filters">
<Size>
<AbsDimension x="70" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="75" y="-70"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
TurtleMail.log.filter_dropdown()
</OnClick>
</Scripts>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentArrow" file="Interface\Addons\TurtleMail\TurtleMail-DownArrow.tga">
<Size>
<AbsDimension x="12" y="12"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-8" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</Button>
<Button name="TurtleMailLogStartTime">
<Size>
<AbsDimension x="80" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="127" y="-45"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentTitle" inherits="GameFontNormal" text="Period">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="-50" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentText" inherits="GameFontNormal" text="13.12.2025">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
<Size>
<AbsDimension x="8" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-8" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
<Size>
<AbsDimension x="88" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.0625" right="0.9375" 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="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="$parentButton">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-5" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
TurtleMail.log.show_calendar( "Start" )
</OnClick>
</Scripts>
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</NormalTexture>
<PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</PushedTexture>
<DisabledTexture name="$parentDisabledTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</DisabledTexture>
<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</HighlightTexture>
</Button>
</Frames>
</Button>
<Button name="TurtleMailLogEndTime">
<Size>
<AbsDimension x="80" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="245" y="-45"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentTitle" inherits="GameFontNormal" text="-">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="-17" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentText" inherits="GameFontNormal" text="13.12.2025">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
<Size>
<AbsDimension x="8" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-8" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
<Size>
<AbsDimension x="88" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.0625" right="0.9375" 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="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="$parentButton">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-5" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
TurtleMail.log.show_calendar( "End" )
</OnClick>
</Scripts>
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</NormalTexture>
<PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</PushedTexture>
<DisabledTexture name="$parentDisabledTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</DisabledTexture>
<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT"/>
</Anchors>
</HighlightTexture>
</Button>
</Frames>
</Button>
<Frame name="TurtleMailLogPlayersDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="231" y="-75"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
TurtleMail.log.players_dropdown_on_load()
</OnLoad>
<OnShow>
TurtleMail.log.players_dropdown_on_load()
</OnShow>
</Scripts>
</Frame>
<ScrollFrame name="TurtleMailLogScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size>
<AbsDimension x="296" y="312"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="23" y="-98"/>
</Offset>
</Anchor>
</Anchors>
</ScrollFrame>
<Frame name="TurtleMailLogEntriesFrame" enableMouse="true">
<Size>
<AbsDimension x="301" y="255"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="23" y="-98"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="TurtleMailLogItem1" parent="TurtleMailLogEntriesFrame" inherits="TurtleMailLogItemTemplate"/>
<Frame name="TurtleMailLogItem2" parent="TurtleMailLogEntriesFrame" inherits="TurtleMailLogItemTemplate"/>
<Frame name="TurtleMailLogItem3" parent="TurtleMailLogEntriesFrame" inherits="TurtleMailLogItemTemplate"/>
<Frame name="TurtleMailLogItem4" parent="TurtleMailLogEntriesFrame" inherits="TurtleMailLogItemTemplate"/>
<Frame name="TurtleMailLogItem5" parent="TurtleMailLogEntriesFrame" inherits="TurtleMailLogItemTemplate"/>
<Frame name="TurtleMailLogItem6" parent="TurtleMailLogEntriesFrame" inherits="TurtleMailLogItemTemplate"/>
<Frame name="TurtleMailLogItem7" parent="TurtleMailLogEntriesFrame" inherits="TurtleMailLogItemTemplate"/>
<Frame name="TurtleMailLogItem8" parent="TurtleMailLogEntriesFrame" inherits="TurtleMailLogItemTemplate"/>
<Frame name="TurtleMailLogItem9" parent="TurtleMailLogEntriesFrame" inherits="TurtleMailLogItemTemplate"/>
<Frame name="TurtleMailLogItem10" parent="TurtleMailLogEntriesFrame" inherits="TurtleMailLogItemTemplate"/>
</Frames>
</Frame>
<Button name="TurtleMailLogSentButton" inherits="UIPanelButtonTemplate" text="Sent">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-39" y="80"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
TurtleMail.log.populate( "Sent" )
</OnClick>
</Scripts>
</Button>
<Button name="TurtleMailLogReceivedButton" inherits="UIPanelButtonTemplate" text="Received">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="SendMailCancelButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
TurtleMail.log.populate( "Received" )
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Button name="MailFrameTab3" inherits="FriendsFrameTabTemplate" id="3" parent="MailFrame" text="Log">
<Anchors>
<Anchor point="LEFT" relativeTo="MailFrameTab2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-8" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
MailFrameTab_OnClick()
</OnClick>
</Scripts>
</Button>
</Ui>