<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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
	<!--
	 !-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
	 !	GypsyMod Library - Gypsy_CapsuleTemplate.xml
	 !	Capsule template
	 !-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
	-->
	<Frame name="Gypsy_HotBar_CapsuleTemplate" frameStrata="BACKGROUND" movable="true" virtual="true">
		<Backdrop name="$parentBackdrop" 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>
			<Button name="$parentHoriTab" frameStrata="HIGH" toplevel="true" hidden="true">
				<Size>
					<AbsDimension x="64" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-7" y="-2"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						Gypsy_CapsuleHoriTab_OnLoad();
					</OnLoad>
					<OnMouseDown>
						Gypsy_CapsuleHoriTab_OnMouseDown(arg1);
					</OnMouseDown>
					<OnMouseUp>
						Gypsy_CapsuleHoriTab_OnMouseUp(arg1);
					</OnMouseUp>
					<OnEnter>
						Gypsy_CapsuleHoriTab_OnEnter();
					</OnEnter>
					<OnLeave>
						Gypsy_CapsuleHoriTab_OnLeave();
					</OnLeave>
				</Scripts>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentLeft" file="Interface\ChatFrame\ChatFrameTab">
							<Size>
								<AbsDimension x="16" y="21"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
							<TexCoords left="0.0" right="0.25" top="0.35" bottom="1.0"/>
						</Texture>
						<Texture name="$parentMiddle" file="Interface\ChatFrame\ChatFrameTab">
							<Size>
								<AbsDimension x="44" y="21"/>
							</Size>
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
							</Anchors>
							<TexCoords left="0.25" right="0.75" top="0.35" bottom="1.0"/>
						</Texture>
						<Texture name="$parentRight" file="Interface\ChatFrame\ChatFrameTab">
							<Size>
								<AbsDimension x="16" y="21"/>
							</Size>
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
							</Anchors>
							<TexCoords left="0.75" right="1.0" top="0.35" bottom="1.0"/>
						</Texture>
					</Layer>
				</Layers>
				<NormalText name="$parentText" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="CENTER" relativeTo="$parentMiddle" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</NormalText>
				<HighlightTexture name="$parentHighlight" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentLeft">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
						<Anchor point="RIGHT" relativeTo="$parentRight">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</HighlightTexture>
			</Button>
			<Button name="$parentVertTab" frameStrata="HIGH" toplevel="true" hidden="true">
				<Size>
					<AbsDimension x="21" y="64"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-2" y="-7"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						Gypsy_CapsuleVertTab_OnLoad();
					</OnLoad>
					<OnMouseDown>
						Gypsy_CapsuleVertTab_OnMouseDown(arg1);
					</OnMouseDown>
					<OnMouseUp>
						Gypsy_CapsuleVertTab_OnMouseUp(arg1);
					</OnMouseUp>
					<OnEnter>
						Gypsy_CapsuleVertTab_OnEnter();
					</OnEnter>
					<OnLeave>
						Gypsy_CapsuleVertTab_OnLeave();
					</OnLeave>
				</Scripts>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentTop" file="Interface\AddOns\Gypsy_HotBar\img\Gypsy_ChatFrameTab-Vertical">
							<Size>
								<AbsDimension x="21" y="16"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
							<TexCoords left="0" right="0.65" top="0" bottom="0.25"/>
						</Texture>
						<Texture name="$parentMiddle" file="Interface\AddOns\Gypsy_HotBar\img\Gypsy_ChatFrameTab-Vertical">
							<Size>
								<AbsDimension x="21" y="44"/>
							</Size>
							<Anchors>
								<Anchor point="TOP" relativeTo="$parentTop" relativePoint="BOTTOM"/>
							</Anchors>
							<TexCoords left="0" right="0.65" top="0.25" bottom="0.75"/>
						</Texture>
						<Texture name="$parentBottom" file="Interface\AddOns\Gypsy_HotBar\img\Gypsy_ChatFrameTab-Vertical">
							<Size>
								<AbsDimension x="21" y="16"/>
							</Size>
							<Anchors>
								<Anchor point="Top" relativeTo="$parentMiddle" relativePoint="BOTTOM"/>
							</Anchors>
							<TexCoords left="0" right="0.65" top="0.75" bottom="1.0"/>
						</Texture>
					</Layer>
				</Layers>
				<NormalText name="$parentText" inherits="GameFontNormalSmall" justifyV="CENTER" justifyH="CENTER">
					<Anchors>
						<Anchor point="CENTER" relativeTo="$parentMiddle">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</NormalText>
				<HighlightTexture name="$parentHighlight" file="Interface\AddOns\Gypsy_HotBar\img\Gypsy_ChatFrameTab-VerticalHighlight" alphaMode="ADD">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentTop">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottom">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</HighlightTexture>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				Gypsy_Capsule_OnLoad();
			</OnLoad>
			<OnUpdate>
				Gypsy_Capsule_OnUpdate(arg1);
			</OnUpdate>
		</Scripts>
	</Frame>
	<CheckButton name="Gypsy_HotBar_Capsule_LockButtonTemplate" frameStrata="BACKGROUND" hidden="true" virtual="true">
		<Size>
			<AbsDimension x="22" y="22"/>
		</Size>
		<Anchors>
			<Anchor point="BOTTOMLEFT" relativeTo="MinimapBackdrop" relativePoint="BOTTOMLEFT">
				<Offset>
					<AbsDimension x="53" y="39"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
					<Size>
						<AbsDimension x="56" y="56"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER">
							<Offset>
								<AbsDimension x="11" y="-11"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
				<Anchors>
					<Anchor point="CENTER"/>
				</Anchors>
				<Scripts>
					<OnShow>
						Gypsy_Capsule_LockButtonDropDown_OnShow();
					</OnShow>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				Gypsy_Capsule_LockButton_OnLoad();
			</OnLoad>
			<OnClick>
				Gypsy_Capsule_LockButton_OnClick(arg1);
			</OnClick>
			<OnEnter>
				Gypsy_Capsule_LockButton_OnEnter();
			</OnEnter>
			<OnLeave>
				Gypsy_Capsule_LockButton_OnLeave();
			</OnLeave>
		</Scripts>
		<NormalTexture file="Interface\AddOns\Gypsy_HotBar\img\Gypsy_Lock-Normal"/>
		<CheckedTexture file="Interface\AddOns\Gypsy_HotBar\img\Gypsy_Lock-Checked"/>
		<HighlightTexture file="Interface\AddOns\Gypsy_HotBar\img\Gypsy_Lock-Highlight" alphaMode="ADD"/>
	</CheckButton>
</Ui>