<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="guildtools.lua"/>
<Frame name="GuildTools">
	<Scripts>
		<OnLoad>
 			this:RegisterEvent("VARIABLES_LOADED"); 
			this:RegisterEvent("BANKFRAME_OPENED"); 
			this:RegisterEvent("BANKFRAME_CLOSED");
			this:RegisterEvent("MAIL_SHOW"); 
			this:RegisterEvent("MAIL_INBOX_UPDATE");
			this:RegisterEvent("BAG_UPDATE");
			this:RegisterEvent("MAIL_CLOSED");
		</OnLoad>
		<OnEvent>
       			GT_OnEvent(); 
		</OnEvent>
	</Scripts>
</Frame>

<Frame name="GT_IM_Update" hidden="true">
	<Scripts>
		<OnUpdate>GT_IM_GrabMail(this);</OnUpdate> 
	</Scripts>
</Frame>

<Frame name="GT_IM_Message" toplevel="true" enableMouse="false" movable="false" parent="UIParent" hidden="true">
	<Size>
		<AbsDimension x="200" y="100"/>
	</Size>
	<Anchors>
		<Anchor point="CENTER">
			<Offset>
				<AbsDimension x="0" y="60"/>
			</Offset>
		</Anchor>
	</Anchors>
	<Layers>
		<Layer level="ARTWORK">
			<FontString inherits="GameFontHighlightLarge" text="IncomingMail is grabbing your mail.">
				<Color r="1.0" g="0.2" b="0.2"/>
				<Anchors>
					<Anchor point="CENTER">
						<Offset>
							<AbsDimension x="0" y="20"/>
						</Offset>
					</Anchor>
				</Anchors>
			</FontString>
			<FontString inherits="GameFontHighlightLarge" text="Please do not do anything while this message is displayed.">
				<Color r="1.0" g="0.2" b="0.2"/>
				<Anchors>
					<Anchor point="CENTER">
						<Offset>
							<AbsDimension x="-20" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</FontString>
		</Layer>
	</Layers>
</Frame>

<GameTooltip name="GT_ItemTooltip" frameStrata="LOW" parent="UIParent" inherits="GameTooltipTemplate"/>
</Ui>