<Ui>

	<GameTooltip frameStrata="MEDIUM" name="ConsolePortPopupMenuTooltip" parentKey="Tooltip" inherits="GameTooltipTemplate"/>

	<!-- Container item menu -->
	<Frame name="ConsolePortItemMenu"
		clampedToScreen="true"
		movable="true"
		enableMouse="true"
		hidden="true"
		parent="UIParent"
		inherits="CPPopupPortraitFrameTemplate"
		frameStrata="DIALOG"
		mixin="ItemLocationMixin, ItemMixin">
		<Size x="440" y="130"/>
		<Anchors>
			<Anchor point="CENTER" x="0" y="0"/>
		</Anchors>
		<KeyValues>
			<KeyValue key="nameOffsetY" value="-16" type="number"/>
		</KeyValues>
		<Scripts>
			<OnMouseDown method="StartMoving"/>
			<OnMouseUp method="StopMovingOrSizing"/>
		</Scripts>
	</Frame>

	<!-- Spell menu -->
	<Frame name="ConsolePortSpellMenu"
		clampedToScreen="true"
		movable="true"
		enableMouse="true"
		hidden="true"
		parent="UIParent"
		inherits="CPPopupPortraitFrameTemplate"
		frameStrata="DIALOG"
		mixin="SpellMixin">
		<Size x="440" y="130"/>
		<Anchors>
			<Anchor point="CENTER" x="0" y="0"/>
		</Anchors>
		<KeyValues>
			<KeyValue key="nameOffsetY" value="-16" type="number"/>
		</KeyValues>
		<Scripts>
			<OnMouseDown method="StartMoving"/>
			<OnMouseUp method="StopMovingOrSizing"/>
		</Scripts>
		<Frames>
			<Frame parentKey="BindingHeader" inherits="CPPopupHeaderTemplate"/>
		</Frames>
	</Frame>

	<!-- Unit menu -->
	<Frame name="ConsolePortUnitMenu"
		clampedToScreen="true"
		movable="true"
		enableMouse="true"
		hidden="true"
		parent="UIParent"
		inherits="CPPopupPortraitFrameTemplate"
		frameStrata="DIALOG">
		<Size x="440" y="130"/>
		<Anchors>
			<Anchor point="CENTER" x="400" y="0"/>
		</Anchors>
		<Scripts>
			<OnMouseDown method="StartMoving"/>
			<OnMouseUp method="StopMovingOrSizing"/>
		</Scripts>
	</Frame>

	<Script file="Shared\Tooltip.lua"/>
	<Script file="Shared\Button.lua"/>
	<Script file="ItemMenu.lua"/>
	<Script file="SpellMenu.lua"/>
	<Script file="UnitMenu.lua"/>
</Ui>
