<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">
	<Script file="localization.lua"/>
	<Script file="localization.ge.lua"/>
	<Script file="localization.fr.lua"/>
	<Script file="CT_PartyBuffs.lua"/>
	<Button name="CT_PartyBuffButtonTemplate" hidden="true" virtual="true">
		<Size>
			<AbsDimension x="15" y="15"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parentIcon" setAllPoints="true"/>
			</Layer>
		</Layers>
		<Scripts>
			<OnEnter>
				GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
				GameTooltip:SetUnitBuff("party"..self:GetParent():GetID(), self:GetID());
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>
	<Button name="CT_PartyPetBuffButtonTemplate" hidden="true" virtual="true">
		<Size>
			<AbsDimension x="15" y="15"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parentIcon" setAllPoints="true"/>
			</Layer>
		</Layers>
		<Scripts>
			<OnEnter>
				GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
				GameTooltip:SetUnitBuff("pet", self:GetID());
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>
	<Button name="CT_PartyDebuffButtonTemplate" hidden="true" virtual="true">
		<Size>
			<AbsDimension x="15" y="15"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parentIcon" setAllPoints="true"/>
				<FontString name="$parentCount" inherits="NumberFontNormalSmall">
					<Anchors>
						<Anchor point="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="-1" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<Texture name="$parentBorder" file="Interface\Buttons\UI-Debuff-Overlays">
					<Size>
						<AbsDimension x="19" y="19"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0.296875" right="0.5703125" top="0" bottom="0.515625"/>
				</Texture>	
			</Layer>
		</Layers>
		<Scripts>
			<OnEnter>
				GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
				GameTooltip:SetUnitDebuff("party"..self:GetParent():GetID(), self:GetID());
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>
	<Button name="CT_PartyMemberFrameTemplate" hidden="false" virtual="true">
		<Size>
			<AbsDimension x="70" y="50"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="48" y="-32"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Frames>
			<Button name="$parentBuff1" inherits="CT_PartyBuffButtonTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parentBuff2" inherits="CT_PartyBuffButtonTemplate" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff1" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff3" inherits="CT_PartyBuffButtonTemplate" id="3">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff2" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff4" inherits="CT_PartyBuffButtonTemplate" id="4">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff3" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff5" inherits="CT_PartyBuffButtonTemplate" id="5">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff4" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff6" inherits="CT_PartyBuffButtonTemplate" id="6">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff5" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff7" inherits="CT_PartyBuffButtonTemplate" id="7">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff6" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff8" inherits="CT_PartyBuffButtonTemplate" id="8">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff7" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff9" inherits="CT_PartyBuffButtonTemplate" id="9">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff8" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff10" inherits="CT_PartyBuffButtonTemplate" id="10">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff9" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff11" inherits="CT_PartyBuffButtonTemplate" id="11">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff10" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff12" inherits="CT_PartyBuffButtonTemplate" id="12">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff11" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff13" inherits="CT_PartyBuffButtonTemplate" id="13">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff12" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff14" inherits="CT_PartyBuffButtonTemplate" id="14">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff13" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentDebuff1" inherits="CT_PartyDebuffButtonTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="75" y="38"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentDebuff2" inherits="CT_PartyDebuffButtonTemplate" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentDebuff1" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentDebuff3" inherits="CT_PartyDebuffButtonTemplate" id="3">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentDebuff2" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentDebuff4" inherits="CT_PartyDebuffButtonTemplate" id="4">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentDebuff3" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentDebuff5" inherits="CT_PartyDebuffButtonTemplate" id="5">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentDebuff4" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentDebuff6" inherits="CT_PartyDebuffButtonTemplate" id="6">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentDebuff5" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
		</Frames>
		<Scripts>
			<OnUpdate>
				CT_PartyBuffs_RefreshBuffs(self, elapsed);
			</OnUpdate>
			<OnLoad>
				self.update = 1;
				CT_PartyBuffs_OnLoad(self);
			</OnLoad>
		</Scripts>
	</Button>
	<Button name="CT_PartyBuffFrame1" hidden="false" inherits="CT_PartyMemberFrameTemplate" parent="PartyMemberFrame1" id="1"/>
	<Button name="CT_PartyBuffFrame2" hidden="false" inherits="CT_PartyMemberFrameTemplate" parent="PartyMemberFrame2" id="2"/>
	<Button name="CT_PartyBuffFrame3" hidden="false" inherits="CT_PartyMemberFrameTemplate" parent="PartyMemberFrame3" id="3"/>
	<Button name="CT_PartyBuffFrame4" hidden="false" inherits="CT_PartyMemberFrameTemplate" parent="PartyMemberFrame4" id="4"/>

	<Button name="CT_PetBuffFrame" hidden="false" parent="PlayerFrame">
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="128" y="-102"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Size>
			<AbsDimension x="70" y="50"/>
		</Size>
		<Frames>
			<Button name="$parentBuff1" inherits="CT_PartyPetBuffButtonTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parentBuff2" inherits="CT_PartyPetBuffButtonTemplate" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff1" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff3" inherits="CT_PartyPetBuffButtonTemplate" id="3">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff2" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff4" inherits="CT_PartyPetBuffButtonTemplate" id="4">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff3" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff5" inherits="CT_PartyPetBuffButtonTemplate" id="5">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff4" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff6" inherits="CT_PartyPetBuffButtonTemplate" id="6">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff5" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff7" inherits="CT_PartyPetBuffButtonTemplate" id="7">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff6" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff8" inherits="CT_PartyPetBuffButtonTemplate" id="8">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff7" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentBuff9" inherits="CT_PartyPetBuffButtonTemplate" id="9">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentBuff8" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
		</Frames>
		<Scripts>
			<OnUpdate>
				CT_PartyBuffs_RefreshPetBuffs(self, elapsed);
			</OnUpdate>
			<OnLoad>
				self.update = 0;
				CT_PartyBuffs_PetFrame_OnLoad(self);
			</OnLoad>
		</Scripts>
	</Button>
</Ui>
