<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.LEX_SC300_97">
	
    <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="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="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="Black" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0"/>
        <Rectangle x:Name="Background_Temperature" Fill="#FFA3A381" Height="46" Stroke="Black" Width="270" Canvas.Left="264" Canvas.Top="431.593"/>
        <Rectangle x:Name="Background_Clock" Fill="#FFA3A381" Height="46" Stroke="Black" Width="242" Canvas.Left="280" Canvas.Top="347.593"/>
        <Rectangle x:Name="Background_Odo" Fill="#FFA3A381" Height="46" Stroke="Black" Width="240" Canvas.Left="779" Canvas.Top="347.593"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<TextBlock x:Name="Text_Clock" Canvas.Left="194" Canvas.Top="352.166" Text="{Binding Time}" FontSize="40" Style="{StaticResource TextBlockStyle}" Width="250" RenderTransformOrigin="0.5,0.5" FontFamily="DG2_LCD" Foreground="Black">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<TextBlock x:Name="Text_Odometer" Canvas.Left="585.183" Canvas.Top="353.166" Text="{Binding Odometer}" Width="400" FontSize="40" Style="{StaticResource TextBlockStyle}" FontFamily="DG2_LCD" RenderTransformOrigin="0.5,0.5" Foreground="Black">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<TextBlock x:Name="Text_Temp" Canvas.Left="276.183" Canvas.Top="435.511" Text="{Binding ExternalTemp}" Width="160" FontSize="40" Style="{StaticResource TextBlockStyle}" FontFamily="DG2_LCD" RenderTransformOrigin="0.5,0.5" Foreground="Black">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<Image x:Name="Graphics_odo" Height="18" Canvas.Left="784" Source="game:/media/cars/LEX_SC300_97/UI/Textures/LEX_SC300_97_txt_odo.png" Stretch="Fill" Canvas.Top="373" Width="50"/>
			<Image x:Name="Graphics_temp" Height="20" Canvas.Left="449" Source="game:/media/cars/LEX_SC300_97/UI/Textures/LEX_SC300_97_txt_temp.png" Stretch="Fill" Canvas.Top="453" Width="20"/>
		</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>