<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">

<Frame name="NxFrame">
	<Scripts>
		<OnLoad>
			if Nx and not Nx.NXVerOld then
				Nx:NXOnLoad (self)
			else
				this:Hide()
			end
		</OnLoad>
		<OnEvent>
			Nx:NXOnEvent (event, ...)
		</OnEvent>
		<OnUpdate>
			Nx:NXOnUpdate (elapsed)
		</OnUpdate>
	</Scripts>
</Frame>

<UnitPositionFrame name="NXWorldMapUnitPositionFrame" frameLevel="1500" inherits="UnitPositionFrameTemplate">
</UnitPositionFrame>

<Slider name="NxSliderFrame" orientation="HORIZONTAL" virtual="true">
	<ThumbTexture file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
		<Size>
			<AbsDimension x="32" y="32" />
		</Size>
	</ThumbTexture>
</Slider>

<ScrollFrame name="NxQuestDetails" inherits="UIPanelScrollFrameTemplate" virtual="true">
	<Size>
		<AbsDimension x="298" y="334" />
	</Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="19" y="-76" />
			</Offset>
		</Anchor>
	</Anchors>
	<ScrollChild>
		<Frame name="NXQuestLogDetailScrollChildFrame">
			<Size>
				<AbsDimension x="298" y="333" />
			</Size>
		</Frame>
	</ScrollChild>
</ScrollFrame>

<Button name="NXMiniMapBut" parent="Minimap" toplevel="true" hidden="false" frameStrata="LOW" enableMouse="true" movable="true">
	<NormalTexture file="Interface\AddOns\Carbonite\Gfx\MMBut" />
	<PushedTexture alphaMode="ADD" file="Interface\AddOns\Carbonite\Gfx\MMBut" />
	<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight" />
	<Size>
		<AbsDimension x="32" y="32" />
	</Size>
	<Anchors>
		<Anchor point="TOPLEFT" />
	</Anchors>
	<Scripts>
		<OnEnter>
			Nx.NXMiniMapBut:NXOnEnter (self)
		</OnEnter>
		<OnLeave>
			if Nx and Nx.TooltipText then Nx.TooltipText:Hide() end
		</OnLeave>
		<OnLoad>
			self:RegisterForClicks ("LeftButtonUp", "MiddleButtonUp", "RightButtonUp")
		</OnLoad>
		<OnClick>
			Nx.NXMiniMapBut:NXOnClick (button, down)
		</OnClick>
		<OnMouseUp>
			self:StopMovingOrSizing()
			self.NXDrag = false
		</OnMouseUp>
		<OnDragStart>
			if button == "LeftButton" and IsShiftKeyDown() then
				self:StartMoving()
				self.NXDrag = true
			end
		</OnDragStart>
		<OnDragStop>
			self:StopMovingOrSizing()
			self.NXDrag = false
		</OnDragStop>
		<OnUpdate>
			if Nx then
				Nx.NXMiniMapBut:NXOnUpdate (self)
			else
				UIErrorsFrame:AddMessage ("Carbonite File Error!\nDownload and unzip it again", 1, .2, .2)
			end
		</OnUpdate>
	</Scripts>
</Button>
<Button name="NxWatchListItem" inherits="SecureActionButtonTemplate" virtual="true">
	<Size x="26" y="26" />
		<Layers>
			<Layer level="ARTWORK">
				<FontString parentKey="HotKey" inherits="NumberFontNormalSmallGray" justifyH="LEFT" text="RANGE_INDICATOR">
					<Size x="29" y="10" />
					<Anchors>
						<Anchor point="TOPRIGHT" x="16" y="-2" />
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="BORDER">
				<Texture parentKey="icon" />
				<FontString parentKey="Count" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
					<Anchors>
						<Anchor point="BOTTOMRIGHT" x="-3" y="2" />
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Cooldown parentKey="Cooldown" inherits="CooldownFrameTemplate" />
		</Frames>
		<Scripts>
			<!--<OnLoad function="QuestObjectiveItem_OnLoad" />
			<OnEvent function="QuestObjectiveItem_OnEvent" />
			<OnShow function="QuestObjectiveItem_OnShow" />
			<OnHide function="QuestObjectiveItem_OnHide" /> -->
			<OnUpdate function="NxWatchListItem_OnUpdate" />
			<OnEnter>
				GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
				GameTooltip:SetQuestLogSpecialItem(self.questLogIndex);
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
			<!--OnClick function="QuestObjectiveItem_OnClick"/-->
		</Scripts>
		<NormalTexture parentKey="NormalTexture" file="Interface\Buttons\UI-Quickslot2">
			<Size x="42" y="42" />
			<Anchors>
				<Anchor point="CENTER" />
			</Anchors>
		</NormalTexture>
		<PushedTexture file="Interface\Buttons\UI-Quickslot-Depress" />
		<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD" />
	</Button>
</Ui>
