<root>
	<styles>
		<include src="file://{resources}/styles/steamstyles.css" />
		<include src="file://{resources}/styles/library/library.css" />
	</styles>
	<scripts>
		<include src="file://{resources}/javascript/base.js" />
	</scripts>
	<script>
		function LibraryAllGamesOnLoad()
		{
			var menuHoverClass = 'MenuHover';
			var contentHoverClass = 'ContentHover';

			var hoverItemStyles = {
														'Menu' :  menuHoverClass , 
														'GamesSuggestion' : contentHoverClass ,
														'GamesGrid' :  contentHoverClass ,
														'GamesDownloads' :  contentHoverClass ,
														'MusicExplore' :  contentHoverClass ,
														'EmptySearchArea' :  contentHoverClass 
														};
			SetupPanelsHoverEvents( hoverItemStyles, $('#AllGamesContent') );
		}
	</script>	
	<LibraryAllGames defaultfocus="SuggestedFilter" selectionposboundary="vertical" content-title="#Library_ContentTitle" onload="LibraryAllGamesOnLoad()" ondescendantfocus="LibraryAllGamesOnLoad();" >
		<Label id="SectionLabel" class="SectionLabel" text="#Library_AllGames_Header" />
		<Panel hittest="false" id="FastScrollWrapper">
			<Label id="FastScrollLabel" hittest="false" />
			<Label id="TypeToJumpLabel" hittest="false" />
		</Panel>
		<Panel class="AllGamesContent" id="AllGamesContent" mousecanactivate="unfocused" >
			<Panel id="Menu" class="NxGridButtonRow" tabindex="auto" selectionpos="0,0" onfocus="FocusMenuRow();" onmoveright="FocusGamesGrid();" >
				<Panel class="GamesButtonContainer">

					<Button id="SuggestedFilter" onfocus="GamesViewType(suggested);" class="NxLeftNavButton HideIfParental" selectionpos="auto" onactivate="MoveRight(0);" >
						<Label text="#Library_HomeFilter" html="true" />
					</Button>
	
					<Panel class="GamesHorizRule" />
					<Label text="#Library_AllGamesPlay" class="Header" />
	
					<Button id="RecentFilter" onfocus="GamesViewType(recent);" class="NxLeftNavButton" selectionpos="auto" onactivate="MoveRight(0);" >
						<Panel class="ButtonFlowRight" >
							<Label text="#Library_RecentlyPlayedFilter"/>
							<Panel class="ButtonCountCapsule" >
								<Image  class="FilterHelp" src="file://{images}/library/icon_filter.png" />
							  <Label  text="#Library_RecentlyPlayedFilter_Detail"/>
							</Panel>
						</Panel>
					</Button>	
					
				  <Button id="InstalledFilter" onfocus="GamesViewType(installed);" class="NxLeftNavButton" selectionpos="auto" onactivate="MoveRight(0);">
							<Panel class="ButtonFlowRight" >
									<Label text="#Library_Installed"/>
										<Panel class="ButtonCountCapsule" >
											<Image  class="FilterHelp" src="file://{images}/library/icon_filter.png" />
											<Label  text="#Library_Installed_Detail"/>
									</Panel>
						  </Panel>
					</Button>
					
					<Button id="FavoritesFilter" onfocus="GamesViewType(favorites);" class="NxLeftNavButton" selectionpos="auto" onactivate="MoveRight(0);">
						<Panel class="ButtonFlowRight" >
							<Label text="#Library_Favorites" html="true"/>
								<Panel class="ButtonCountCapsule" >									
									<Image  class="FilterHelp" src="file://{images}/library/icon_filter.png" />
									<Label text="#Library_Favorites_Detail"/>
								</Panel>
						</Panel>
					</Button>
					
					<Panel class="GamesHorizRule" />
					<Label text="#Library_AllGamesBrowse" class="Header" />

					<Button id="SiteGamesFilter" onfocus="GamesViewType(sitegames);" class="NxLeftNavButton" selectionpos="auto" onactivate="MoveRight(0);">
						<Panel class="ButtonFlowRight" >
							<Label id="SiteGamesLabel" text="#Library_SiteDefaultName" />
								<Panel class="ButtonCountCapsule" >									
									<Image  class="FilterHelp" src="file://{images}/library/icon_filter.png" />
									<Label text="#Library_SiteGames_Detail"/>
								</Panel>
						</Panel>
					</Button>

					<Button id="VRGamesFilter" onfocus="GamesViewType(vrgames);" class="NxLeftNavButton" selectionpos="auto" onactivate="MoveRight(0);">
						<Panel class="ButtonFlowRight" >
							<Label text="#Library_VRGames" html="true"/>
								<Panel class="ButtonCountCapsule" >									
									<Image  class="FilterHelp" src="file://{images}/library/icon_filter.png" />
									<Label text="#Library_VRGames_Detail"/>
								</Panel>
						</Panel>
					</Button>


					<Button id="AllGamesFilter" onfocus="GamesViewType(allgames);" class="NxLeftNavButton" selectionpos="auto" onactivate="MoveRight(0);">
						<Panel class="ButtonFlowRight" >
							<Label id="AllGamesLabel" text="#Library_AllGames"/>
								<Panel class="ButtonCountCapsule" >
									<Image  class="FilterHelp" src="file://{images}/library/icon_filter.png" />
									<Label  text="#Library_AllGames_Detail"/>
								</Panel>
						</Panel>		
					</Button>
					
					<Button id="VideosFilter" onfocus="GamesViewType(videos);" class="NxLeftNavButton" selectionpos="auto" onactivate="MoveRight(0);">
						<Panel class="ButtonFlowRight" >
							<Label text="#Library_StreamingVideos"/>
								<Panel class="ButtonCountCapsule" >
									<Image id="FilterHelpIcon" class="FilterHelp" src="file://{images}/library/icon_filter.png" />
									<Label text="#Library_StreamingVideos_Detail" />
								</Panel>
						</Panel>
					</Button>
					
					<Button id="MusicFilter" onfocus="GamesViewType(music);" onactivate="MoveRight(0);" class="NxLeftNavButton" selectionpos="auto">
						<Panel class="ButtonFlowRight" >
							<Label text="#Library_LocalMusicTitle" />
									<Panel class="ButtonCountCapsule" >
										<Image id="FilterHelpIcon" class="FilterHelp" src="file://{images}/library/icon_filter.png" />
										<Label text="#Library_MusicTitle_Detail"/>
									</Panel>	
						</Panel>					
					</Button>
					
					<Button id="UnblockedFilter" onfocus="GamesViewType(unblocked);" class="NxLeftNavButton HideIfParental" selectionpos="auto">
						<Panel class="ButtonFlowRight" >
							<Label text="#Library_AllGamesUnblocked" />
									<Panel class="ButtonCountCapsule" >
										<Image id="FilterHelpIcon" class="FilterHelp" src="file://{images}/library/icon_filter.png" />
										<Label text="#Library_AllGamesUnblocked_Detail"/>
									</Panel>
								</Panel>	
					</Button>
					
					<Button id="DownloadsFilter" onfocus="GamesViewType(downloads);" onactivate="MoveRight(0);" class="NxLeftNavButton HideIfParental" selectionpos="auto">
						<Panel class="ButtonFlowRight" >
							<Label text="#Library_DownloadsTitle" html="true" />
									<Panel class="ButtonCountCapsule" >
										<Image id="FilterHelpIcon" class="FilterHelp" src="file://{images}/library/icon_filter.png" />
										<Label text="#Library_DownloadsTitle_Detail" />
									</Panel>
						</Panel>
					</Button>
					
					<Button id="SearchFilter" onfocus="GamesViewType(search);"  onactivate="LibrarySearchButtonActivated();" class="NxLeftNavButtonAction HideIfParental FlowRight" selectionpos="auto">
						<Image src="file://{images}/library/icon_search.png" />
						<Label text="#Library_SearchGames"/>
					</Button>

					<Panel class="GamesHorizRule" />
					<Label id="Options" text="#Library_AllGamesOptions" class="Header" />
					<Button id="AddSteamProduct" onfocus="GamesViewType(activate);" onactivate="ActivateProduct();" class="NxLeftNavButtonAction AddContentButton FlowRight" selectionpos="0,101">
						<Image src="file://{images}/library/icon_activate.png" />
						<Label text="#Library_AddContent_Activate"/>
					</Button>

					<Panel class="GamesHorizRule" />
					<Panel class="GamesHorizRule" />
					<Button class="NxLeftNavButtonAction WizardButton GapRight" id="ButtonNext" onactivate="WizardButtonNext()" selectionpos="0,102">
						<Label id="Label" text="#WizardButton_Next" />
					</Button>
					
					<Button class="NxLeftNavButtonAction WizardButton GapRight" id="ButtonBack" onactivate="WizardButtonBack()" selectionpos="0,103">
						<Label id="Label" text="#WizardButton_Back" />
					</Button>			
					
					<Button class="NxLeftNavButtonAction WizardButton GapRight" id="ButtonCancel" onactivate="WizardButtonCancel()" selectionpos="0,104">
						<Label id="Label" text="#WizardButton_Cancel" />
					</Button>
					
				</Panel>
				<Panel class="NxGridButtonWell" onactivate="NavigateTenfootBack();"></Panel>
			</Panel>
			<Label class="AllGamesFilterLabel" text="#Library_Filter_FilterStringDisplay" html="true" />
			<LibraryFilterGames id="GamesFilter" selectionpos="500,200" />
			<LibrarySuggestions id="GamesSuggestion"  class="GamesSuggestion" selectionpos="auto" oncancel="FocusMenuRow();" overscroll-y="250" rememberchildfocus="true" childfocusonhover="true" />
			<DownloadsPanel id="GamesDownloads"  class="GamesDownloads" selectionpos="auto" oncancel="FocusMenuRow();" overscroll-y="150" />
			<MusicExplorePanel id="MusicExplore" class="MusicExpore" selectionpos="auto" oncancel="FocusMenuRow();" overscroll-y="100" rememberchildfocus="true" />
			<Grid id="GamesGrid" class="GamesGrid" scrolldirection="vertical" verticalcount="4" horizontalcount="3"
						selectionpos="50,0" tabindex="auto" selectionposboundary="both"
						onmoveleft="FocusMenuRow();" oncancel="FocusMenuRow();" onmovedown="None();" focusmargin="1" />
			<Panel id="EmptyLibraryArea" >
				<Label id="EmptyLabel" class="EmptyLabel" text="#Library_AllGames_EmptyGrid" />
			</Panel>
			<Panel id="EmptySearchArea" >
				<Label class="EmptyLabel" text="#Library_AllGames_EmptySearchGrid" />
			</Panel>
			<Panel id="ActivateProductArea" >
				<Label class="EmptyLabel" text="#Library_ActivateProduct_Hint" />
			</Panel>
		</Panel>
	</LibraryAllGames>
</root>
