<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.SUB_WRXSTi_05">
	
    <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="False" HasStmLight="False" HasTcsLight="False" HasGAccelX="False" HasGAccelY="False" HasShiftLights="False" HasTextTach="False" HasLapPlaceInfo="False" HasTextBoost="False" HasTextGAccel="False" HasTextOdometer="True" HasTextFuel="False" 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_Left" Fill="Black" Height="204" Stroke="Black" Width="372" Canvas.Left="137" Canvas.Top="405.5" />
        <Rectangle x:Name="Background_Right" Fill="Black" Height="204" Stroke="Black" Width="372" Canvas.Left="761" Canvas.Top="405.5" />
		<Canvas x:Name="Text" Height="720" Width="1280">
			<TextBlock x:Name="Text_External_Temp" Canvas.Left="160.5" Canvas.Top="475.5" Text="{Binding ExternalTemp}" FontSize="80" Style="{StaticResource TextBlockStyle}" Width="200" RenderTransformOrigin="0.5,0.5" FontFamily="DG5_QuartzMS" Foreground="#FFFE3C41">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.15"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<TextBlock x:Name="Text_Trip_Odo" Canvas.Left="762.192" Canvas.Top="419" Text="{Binding TripMeter}" FontSize="74.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" Width="320" Foreground="#FFFE3C41"/>
			<TextBlock x:Name="Text_Odometer" Canvas.Left="741.183" Canvas.Top="499.511" Text="{Binding Odometer}" Width="350" FontSize="64" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFE3C41">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.95"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<Image x:Name="Icon_Odo" Height="40" Canvas.Left="793" Source="game:/media/cars/SUB_WRXSTi_05/UI/Textures/SUB_WRXSTi_05_icon_odo.png" Stretch="Fill" Canvas.Top="440" Width="40"/>
			<Image x:Name="Temp_Text_Baked" Height="140" Canvas.Left="217" Source="game:/media/cars/SUB_WRXSTi_05/UI/Textures/SUB_WRXSTi_05_txt_temp.png" Stretch="Fill" Canvas.Top="429.583" Width="240"/>
		</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>