<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">
	<Button name="Nurfed_player" frameStrata="LOW" toplevel="true" movable="true" parent="UIParent" hidden="true">
		<Size>
			<AbsDimension x="175" y="46"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER">
				<Offset>
					<AbsDimension x="0" y="-250"/>
				</Offset>
			</Anchor>
		</Anchors>
		<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>
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="$parentStatusIcon" file="Interface\CharacterFrame\UI-StateIcon" hidden="true">
					<Size>
						<AbsDimension x="17" y="17"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="4" y="-3"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="$parentGroup" inherits="Nurfed_UnitTextSmall" hidden="true">
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentStatusIcon" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="2" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1.0" g="1.0" b="0.0"/>
				</FontString>
				<Texture name="$parentPvPIcon" hidden="true">
					<Size>
						<AbsDimension x="20" y="20"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT">
							<Offset>
								<AbsDimension x="-35" y="-5"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentRankIcon" hidden="true">
					<Size>
						<AbsDimension x="12" y="12"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT" relativeTo="$parentPvPIcon" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentLeaderIcon" file="Interface\GroupFrame\UI-Group-LeaderIcon" hidden="true">
					<Size>
						<AbsDimension x="12" y="12"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT" relativeTo="$parentRankIcon" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentMasterIcon" file="Interface\GroupFrame\UI-Group-MasterLooter" hidden="true">
					<Size>
						<AbsDimension x="12" y="12"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT" relativeTo="$parentLeaderIcon" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="-1" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="$parentLevel" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="RIGHT" relativeTo="$parentMasterIcon" relativePoint="LEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1.0" g="1.0" b="1.0"/>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<PlayerModel name="$parentModel">
				<Size>
					<AbsDimension x="35" y="35"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-5" y="4"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						this:SetUnit("player");
						this:RegisterEvent("PLAYER_ENTERING_WORLD");
						this:RegisterEvent("DISPLAY_SIZE_CHANGED");
						this:RegisterEvent("UNIT_MODEL_CHANGED");
						this:SetFrameLevel(this:GetFrameLevel() - 1);
						this:SetModelScale(1.9);
						this:SetCamera(0);
					</OnLoad>
					<OnEvent>
						if (event == "DISPLAY_SIZE_CHANGED") then
							this:RefreshUnit();
						else
							this:SetUnit("player");
						end
					</OnEvent>
					<OnUpdate>
						if (UnitExists("player")) then
							this:SetCamera(0);
						end
					</OnUpdate>
				</Scripts>
			</PlayerModel>
			<StatusBar name="$parentHealthBar" inherits="Nurfed_StatusBarTemplate">
				<Size>
					<AbsDimension x="128" y="13"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT">
						<Offset>
							<AbsDimension x="5" y="-1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</StatusBar>
			<StatusBar name="$parentManaBar" inherits="Nurfed_StatusBarTemplate">
				<Size>
					<AbsDimension x="128" y="10"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentHealthBar" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</StatusBar>
		</Frames>
		<Scripts>
			<OnEvent>
				Nurfed_Player_OnEvent(event);
			</OnEvent>
			<OnDragStart>
				Nurfed_Unit_OnDragStart(this);
			</OnDragStart>
			<OnDragStop>
				Nurfed_Unit_OnDragStop(this);
			</OnDragStop>
			<OnClick>
				Nurfed_Unit_OnClick(arg1);
			</OnClick>
		</Scripts>
	</Button>
</Ui>