<?xml version="1.0" standalone="yes" ?>
<XML id="SGOUIMarkupLanguage" version="0.1"
	xmlns="http://www.sigilgames.com/vanguard-ui-0.1"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.sigilgames.com/vanguard-ui-0.1 ../../../vanguard-ui.xsd">

<Includes>
	<File>ManicUI-InventoryContainerTemplate.xml</File>
	<File>ManicUI-InventoryPopups.xml</File>
</Includes>

<VGUIWindow name="Inventory">
	<Rect x="700" y="480" width="197" height="415"/>
	<Settings	background= "true"
				visible="false"
				setStoreInt="-1"
				searchKey="_inventory"
				movable="true"
				titlebar="true"
				closeBox="true"
				rollupBox="true"
				useColoredBackground="true"
				setBackgroundColor="gray"
				setBackgroundColorOpacity="100"
				escapeCloses="true"
				border="frame"
				sizable="false"/>
	
	<!-- inventory - window item list -->
	<UseControl type="Window">
		<VGUIWindow>
			<Rect x="1" y="6" width="215" height="166"/>
			<Settings 
						setStoreInt="-1"
						name="_inventory_list"
						searchKey="_inventory_list"
						neverClickThrough="true"
						canTriggerMove="false"
						alwaysClickThrough="false"
						resizeOnChildren="true">
				<Action event="_begin_drag" senderName="#SetAsSender">
					<Notifications>
						<Message>ITEMSLOT_DRAG</Message>
					</Notifications>
				</Action>
				<Action event="inventory_pick_up" senderName="#SetAsSender">
					<Notifications>
						<Message>ITEMSLOT_SELITEM</Message>
					</Notifications>
				</Action>
				<Action event="equipment_drag_drop" senderName="#SetAsSender">
					<Notifications>
						<Message>DRAGDROP</Message>
					</Notifications>
				</Action>
				<Action event="inventory_use" senderName="#SetAsSender">
					<Notifications>
						<Message>ITEMSLOT_SELITEMRIGHT</Message>
					</Notifications>
				</Action>
				<Action event="play_sound" senderName="#SetAsSender" strData="UISounds.JewelryOff">
					<Notifications>
						<Message>ITEMSLOT_SELITEM</Message>
						<Message>ITEMSLOT_DRAG</Message>
					</Notifications>
				</Action>
				<Action event="play_sound" senderName="#SetAsSender" strData="UISounds.JewelryOn">
					<Notifications>
						<Message>DRAGDROP</Message>
					</Notifications>
				</Action>
				<Action event="play_sound" senderName="#SetAsSender" strData="UISounds.MiscOff">
					<Notifications>
						<Message>ITEMSLOT_SELITEMRIGHT</Message>
					</Notifications>
				</Action>
			</Settings>
		
			<AttachUpdater type="ItemList"
							gameVarLink="InventoryContainerID_-1"
							inventoryList="true"
							useMultiRow="true"
							numPerMulti="5"
							linkElements="true">
				<EntryWindow>
					<UseControl type="ItemSlot">
						<ItemSlot>
							<Rect x="0" y="2" width="32" height="30"/>
						</ItemSlot>
						<Settings visible="false"
										notifyOnDragDrop="true"
										forceTooltipFollowMouse="true"
										forceTooltipReverseBias="true" fontSize="8"/>
					</UseControl>
				</EntryWindow>
				<Settings visible="false">
					<SetRelationalPos relationTo="SIBLING">
						<Edge>TOP_RIGHT</Edge>
						<Offset>
							<Point x="2" y="0"/>
						</Offset>
					</SetRelationalPos>
				</Settings>
			</AttachUpdater>
			
		</VGUIWindow>
	</UseControl>
	
	
	<!-- actual component that needs attached... money clip -->
	<UseComponent name="_money_clip">
		<Point x="-38" y="354"/>
		<Settings notifyOnDragDrop="true"
		          clipping="false"/>
	</UseComponent>

	<!--Container Template to replicate when containers are openned-->
	<UseComponent name="_inventory_container_template">
		<Point x="0" y="0"/>
	</UseComponent>
	
	<!--Delete popup to replicate-->
	<UseComponent name="_inventory_delete_confirm">
		<Point x="0" y="0"/>
	</UseComponent>

	<!--Delete popup to replicate-->
	<UseComponent name="_inventory_deleteall_confirm">
		<Point x="0" y="0"/>
	</UseComponent>
	
	<!--Examine popup to replicate-->
	<UseComponent name="_inventory_examine">
		<Point x="0" y="0"/>
	</UseComponent>
			
	<!--Name Vehicle popup to replicate-->
	<UseComponent name="Name Vehicle">
		<Point x="0" y="0"/>
	</UseComponent>

	<!--Place fixture popup to replicate-->
	<UseComponent name="Place Fixture">
		<Point x="0" y="0"/>
	</UseComponent>


</VGUIWindow>
</XML>