<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.AUD_RS4_06">
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type TextBlock}">
            <Setter Property="FontFamily" Value="Moire"/>
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="TextWrapping" Value="NoWrap"/>
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>
		
		<local:DigitalGaugeConfig x:Key="Config" HasClock="True" HasExternalTemp="True" UseDegreesF="False" UseMPH="False" 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="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_Center" Fill="Black" Height="328" Stroke="Black" Width="246" Canvas.Left="517.5" Canvas.Top="199.5"/>
        <Rectangle x:Name="Background_Left" Fill="Black" Height="120" Stroke="Black" Width="230" Canvas.Left="64" Canvas.Top="464"/>
        <Rectangle x:Name="Background_Right" Fill="Black" Height="120" Stroke="Black" Width="230" Canvas.Left="991" Canvas.Top="466"/>
		<Rectangle x:Name="Background_Gear" Fill="#FFD31428" Height="34" Canvas.Left="715.5" Canvas.Top="387.5" Width="32"/>
        <Image x:Name="Oil_Icon" Canvas.Left="557.5" Canvas.Top="488.5" Height="32" Source="game:/media/cars/AUD_RS4_06/UI/Textures/AUD_RS4_06_oil_icon.PNG" Stretch="Fill" Width="64"/>
        <Image x:Name="Text_Radio" Canvas.Left="545.5" Canvas.Top="239.5" Height="26" Source="game:/media/cars/AUD_RS4_06/UI/Textures/AUD_RS4_06_radio.PNG" Stretch="Fill" Width="190"/>
        <Image x:Name="Text_OilTemp_Baked" Canvas.Left="687.5" Canvas.Top="489.5" Height="28" Source="game:/media/cars/AUD_RS4_06/UI/Textures/AUD_RS4_06_txt_temp.PNG" Stretch="Fill" Width="60"/>
        <Image x:Name="Text_ExteriorTemp_Baked" Canvas.Left="650.5" Canvas.Top="327.5" Height="30" Source="game:/media/cars/AUD_RS4_06/UI/Textures/AUD_RS4_06_txt_temp.PNG" Stretch="Fill" Width="64"/>
		<Rectangle x:Name="Text_km_baked" Height="22" Canvas.Left="1013" Canvas.Top="508.5" Width="48" Fill="#FFD31428">
			<Rectangle.OpacityMask>
				<ImageBrush ImageSource="game:/media/cars/AUD_RS4_06/UI/Textures/AUD_RS4_06_txt_km.png"/>
			</Rectangle.OpacityMask>
		</Rectangle>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<Rectangle x:Name="Gear_Background" Fill="#FFD31428" Height="34" Canvas.Left="715" Canvas.Top="388" Width="32"/>
			<TextBlock x:Name="Text_Clock" Canvas.Left="98.164" Canvas.Top="487.5" Text="{Binding Time}" FontSize="42.667" Style="{StaticResource TextBlockStyle}" Width="140" RenderTransformOrigin="0.5,0.5" FontFamily="DG5_QuartzMS" Foreground="#FFD31428"/>
			<TextBlock x:Name="Text_Gear" Canvas.Left="690.126" Canvas.Top="386.209" Text="{Binding Gear}" Width="50" FontSize="32" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Foreground="White" FontFamily="DG1_Arial">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform Y="1" X="1"/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<TextBlock x:Name="Text_Trip_Odo" Canvas.Left="1012" Canvas.Top="479.5" Text="{Binding TripMeter}" FontSize="37.333" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" Width="180" Foreground="#FFD31428"/>
			<TextBlock x:Name="Text_Odometer" Canvas.Left="992" Canvas.Top="516.511" Text="{Binding Odometer}" Width="200" FontSize="37.333" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" Height="50" RenderTransformOrigin="0.5,0.5" Foreground="#FFD31428"/>
			<TextBlock x:Name="Text_NULL_OilTemp" Height="35" Canvas.Left="613.164" TextWrapping="Wrap" Text="102" Canvas.Top="483.5" Width="80" TextAlignment="Right" LineHeight="24" FontSize="32" Foreground="White" FontFamily="DG1_Arial" RenderTransformOrigin="0.5,0.5">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<TextBlock x:Name="Text_External_Temp" Canvas.Left="506.5" Canvas.Top="316.5" Text="{Binding ExternalTemp}" FontSize="40" Style="{StaticResource TextBlockStyle}" Width="150" RenderTransformOrigin="0.5,0.5" FontFamily="DG1_Arial"/>
		</Canvas>
        <Rectangle x:Name="Line1_Aliasing_1" Fill="#FFD31428" Height="4" Canvas.Left="517" Canvas.Top="288.835" Width="246" Opacity="0.3"/>
        <Rectangle x:Name="Line1_Aliasing_2" Fill="#FFD31428" Height="4" Canvas.Left="517" Canvas.Top="292.165" Width="246" Opacity="0.3"/>
        <Rectangle x:Name="Line1" Fill="#FFD31428" Height="4" Canvas.Left="517" Canvas.Top="290.5" Width="246"/>
        <Rectangle x:Name="Line2_Aliasing_1" Fill="#FFD31428" Height="4" Canvas.Left="517" Canvas.Top="382.835" Width="246" Opacity="0.3"/>
        <Rectangle x:Name="Line2_Aliasing_2" Fill="#FFD31428" Height="4" Canvas.Left="517" Canvas.Top="386.165" Width="246" Opacity="0.3"/>
        <Rectangle x:Name="Line2" Fill="#FFD31428" Height="4" Canvas.Left="517" Canvas.Top="384.5" Width="246"/>
        <Rectangle x:Name="Line3_Aliasing_1" Fill="#FFD31428" Height="4" Canvas.Left="517" Canvas.Top="474.835" Width="246" Opacity="0.3"/>
        <Rectangle x:Name="Line3_Aliasing_2" Fill="#FFD31428" Height="4" Canvas.Left="517" Canvas.Top="478.165" Width="246" Opacity="0.3"/>
        <Rectangle x:Name="Line3" Fill="#FFD31428" Height="4" Canvas.Left="517" Canvas.Top="476.5" Width="246"/>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="668" Stroke="Black" Width="1186" Canvas.Left="58" Canvas.Top="53" Opacity="0"/>
	</Canvas>
</Page>