<Page
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:local="clr-namespace:ForzaUI"
    mc:Ignorable="d"
	x:Class="ForzaUI.TOY_GT86_13">
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type TextBlock}">
            <Setter Property="FontFamily" Value="Moire"/>
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="TextWrapping" Value="Wrap"/>
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>
		
		<local:DigitalGaugeConfig x:Key="Config" HasClock="True" HasExternalTemp="True" UseDegreesF="True" UseMPH="True" UsePsi="True" MaxBoost="13" MinBoost="1" MaxSpeed="120" HasAbsLight="True" HasStmLight="True" HasTcsLight="True" HasGAccelX="True" HasGAccelY="True" HasShiftLights="True" HasTextTach="True" HasLapPlaceInfo="True" HasTextBoost="True" HasTextGAccel="True" HasTextOdometer="True" HasTextFuel="True" MaxFuel="20" MaxGear="8" MaxRpm="10000"></local:DigitalGaugeConfig>
		<Storyboard x:Key="Start Up Animation">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Start_Up_Mask">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Page.Resources>
	  

	<Canvas x:Name="LayoutRoot" Background="Transparent" Width="1280" Height="720">
		<VisualStateManager.VisualStateGroups>
			<VisualStateGroup x:Name="NightDaySplit">
				<VisualState x:Name="Day"/>
				<VisualState x:Name="Night"/>
			</VisualStateGroup>
		</VisualStateManager.VisualStateGroups>
        <Rectangle x:Name="Background_Grey" Fill="#FF3B3B3B" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0" />
        <Rectangle x:Name="Background_Speedo" Fill="Black" Height="196" Stroke="Black" Width="304" Canvas.Left="480.5" Canvas.Top="91.5"/>
        <Rectangle x:Name="Background_Odo" Fill="Black" Height="214" Stroke="Black" Width="494" Canvas.Left="414" Canvas.Top="366"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<TextBlock x:Name="Text_Speed" Canvas.Left="455" Canvas.Top="119.893" Text="{Binding Speed}" Width="300" FontSize="106.667" Style="{StaticResource TextBlockStyle}" Foreground="#FFFE3232" FontFamily="DG2_LCD"/>
			<TextBlock x:Name="Text_Odometer" Canvas.Left="335.183" Canvas.Top="458.511" Text="{Binding Odometer}" Width="350" FontSize="64" Style="{StaticResource TextBlockStyle}" FontFamily="DG2_LCD" RenderTransformOrigin="0.5,0.5" Foreground="#FFFE3232">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.95"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<Image x:Name="Text_miles_baked" Height="35.484" Canvas.Left="681.209" Source="game:/media/cars/TOY_GT86_13/UI/Textures/TOY_GT86_13_txt_miles.png" Stretch="Fill" Canvas.Top="485.258" Width="110"/>
			<Image x:Name="Text_mph_baked" Height="40" Canvas.Left="498" Source="game:/media/cars/TOY_GT86_13/UI/Textures/TOY_GT86_13_txt_mph.png" Stretch="Fill" Canvas.Top="232" Width="110"/>
			<Image x:Name="Text_odo_baked" Height="40" Canvas.Left="449" Source="game:/media/cars/TOY_GT86_13/UI/Textures/TOY_GT86_13_txt_odo.png" Stretch="Fill" Canvas.Top="409" Width="110"/>
		</Canvas>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="668" Stroke="Black" Width="1186" Canvas.Left="58" Canvas.Top="53" Opacity="0"/>
	</Canvas>
</Page>