<?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>VGUIInventoryContainerTemplate.xml</File>
	<File>VGUIInventoryPopups.xml</File>
</Includes>

<VGUIWindow name="Inventory">
	<Rect x="700" y="478" width="310" height="190"/>
	<Settings	background= "true"
				visible="false"
				setStoreInt="-1"
				searchKey="_inventory"
				movable="true"
				titlebar="true"
				closeBox="true"
				rollupBox="true"
				useColoredBackground="false"
				escapeCloses="true"
				border="frame"
				sizable="false"/>
	
<!-- inventory - window item list -->
	<UseControl type="Window">
		<VGUIWindow>
			<Rect x="0" y="1" width="242" height="166"/>
			<Settings setStoreInt="-3"	name="_inventory_list"	fontSize="7"	dropShadowText="true"						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="10"	linkElements="true">
				<EntryWindow>
					<UseControl type="ItemSlot"><ItemSlot><Rect x="0" y="0" width="28" height="25"/></ItemSlot><Settings visible="false"  notifyOnDragDrop="true"	fontSize="7" dropShadowText="true"	forceTooltipFollowMouse="true"	forceTooltipReverseBias="true"/></UseControl>
				</EntryWindow>
				<Settings visible="false"><SetRelationalPos relationTo="SIBLING"><Edge>TOP_RIGHT</Edge><Offset><Point x="0" y="0"/></Offset></SetRelationalPos></Settings>
			</AttachUpdater>
			
<!-- BEGINBag Buttons -->	
	<Settings 	searchKey="_VGInfoPanel_bag_bar"	movable="false"	layoutMovable="true"	layoutOutline="false"	sizable="false"	visible="false"	background="true"	useColoredBackground="true"	setBackgroundColor="black"	setBackgroundColorOpacity="0"	saveVisibility="true">
			<SetRelationalPos relationTo="PARENT"><Edge>TOP_RIGHT</Edge><Offset><Point x="-400" y="0"/></Offset></SetRelationalPos>
		<!-- events -->
			<Action event="toggle_show_window" senderName="_inventory_button" strData="_inventory"><Notifications><Message>BUTTON_PRESS</Message></Notifications></Action>
			<Action event="execute_slash_command" senderName="#SetAsSender" strData="/openall"><Notifications><Message>RIGHTCLICK</Message><Message>ITEMSLOT_SELITEMRIGHT</Message></Notifications></Action>
			<Action event="_begin_drag" senderName="#SetAsSender"><Notifications><Message>ITEMSLOT_DRAG</Message></Notifications></Action>
			<Action event="equipment_drag_drop" senderName="#SetAsSender"><Notifications><Message>DRAGDROP</Message></Notifications></Action>
			<Action event="equipment_use" senderName="#SetAsSender"><Notifications><Message>ITEMSLOT_SELITEM</Message></Notifications></Action>
			<Action event="play_sound" senderName="#SetAsSender" strData="UISounds.JewelryOff"><Notifications><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.LeatherOff"><Notifications><Message>BUTTON_PRESS</Message><Message>ITEMSLOT_SELITEM</Message><Message>ITEMSLOT_SELITEMRIGHT</Message></Notifications></Action>
	</Settings>
	<!-- Backpack (Container 1) -->
		<UseControl	type="StaticWindow"><StaticWindow pictureMode="true" textData="Graphic" stretch="true"><Rect x="198" y="132" width="22" height="22"/><GraphicName label="Graphic" isBaseName="false"><Name>VGInfoPanelBagGrey</Name></GraphicName></StaticWindow></UseControl>
		<UseControl type="ItemSlot">
			<ItemSlot textColor="white" slotText="" slotTag="CONTAINER1" drawEmptyIcon="false"><Rect x="199" y="133" width="20" height="20"/></ItemSlot>
			<Settings name="_VGInfoPanel_equipment_slot_container1" notifyOnDragDrop="true" forceTooltipFollowMouse="true"/>
			<AttachUpdater type="Equipment" gameVarLink="InventoryList"><EquipmentSlots><Slot>_VGInfoPanel_equipment_slot_container1</Slot></EquipmentSlots></AttachUpdater>
		</UseControl>
	<!-- Backpack (Container 2) -->
		<UseControl	type="button"><StaticWindow pictureMode="true" textData="Graphic" stretch="true"><Rect x="218" y="132" width="22" height="22"/><GraphicName label="Graphic" isBaseName="false"><Name>VGInfoPanelBagGrey</Name></GraphicName><Command>/togglewindow _VGInfoPanel_equipment_slot_container2</Command></StaticWindow></UseControl>
		<UseControl type="ItemSlot">
			<ItemSlot textColor="white" slotText="" slotTag="CONTAINER2" drawEmptyIcon="false"><Rect x="219" y="133" width="20" height="20"/></ItemSlot>
			<Settings name="_VGInfoPanel_equipment_slot_container2" notifyOnDragDrop="true" forceTooltipFollowMouse="true"/>
			<AttachUpdater type="Equipment" gameVarLink="InventoryList"><EquipmentSlots><Slot>_VGInfoPanel_equipment_slot_container2</Slot></EquipmentSlots></AttachUpdater>	
		</UseControl>
	<!-- Backpack (Container 3) -->
		<UseControl	type="StaticWindow"><StaticWindow pictureMode="true" textData="Graphic" stretch="true"><Rect x="238" y="132" width="22" height="22"/><GraphicName label="Graphic" isBaseName="false"><Name>VGInfoPanelBagGrey</Name></GraphicName></StaticWindow></UseControl>
		<UseControl type="ItemSlot">
			<ItemSlot textColor="white" slotText="" slotTag="CONTAINER3" drawEmptyIcon="false"><Rect x="239" y="133" width="20" height="20"/></ItemSlot>
			<Settings name="_VGInfoPanel_equipment_slot_container3" notifyOnDragDrop="true" forceTooltipFollowMouse="true"/><AttachUpdater type="Equipment" gameVarLink="InventoryList"><EquipmentSlots><Slot>_VGInfoPanel_equipment_slot_container3</Slot></EquipmentSlots></AttachUpdater>
		</UseControl>
	<!-- Saddlebags (Container 1) -->
		<UseControl	type="StaticWindow"><StaticWindow pictureMode="true" textData="Graphic" stretch="true"><Rect x="258" y="132" width="22" height="22"/><GraphicName label="Graphic" isBaseName="false"><Name>VGInfoPanelSaddleBagGrey</Name></GraphicName></StaticWindow></UseControl>
		<UseControl type="ItemSlot">
			<ItemSlot textColor="white" slotText="" slotTag="MOUNTSADDLEBAGS" drawEmptyIcon="false"><Rect x="259" y="133" width="20" height="20"/></ItemSlot>
			<Settings name="_VGInfoPanel_container_slot_mount_saddlebags" notifyOnDragDrop="true" forceTooltipFollowMouse="true"/>
			<AttachUpdater type="Equipment" gameVarLink="InventoryList">
			<EquipmentSlots><Slot>_VGInfoPanel_container_slot_mount_saddlebags</Slot></EquipmentSlots>
		</AttachUpdater>
		</UseControl>
		<!-- UpDater -->
		<AttachUpdater type="Equipment" gameVarLink="InventoryList">
			<EquipmentSlots><Slot>_VGInfoPanel_equipment_slot_container1</Slot><Slot>_VGInfoPanel_equipment_slot_container2</Slot><Slot>_VGInfoPanel_equipment_slot_container3</Slot><Slot>_VGInfoPanel_container_slot_mount_saddlebags</Slot></EquipmentSlots>
		</AttachUpdater>
		
<!-- ENDBag Buttons -->	
		</VGUIWindow>
	</UseControl>
	<!-- actual component that needs attached... money clip -->
	<UseComponent name="_money_clip"><Point x="0" y="130"/><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>