<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="DigitalGauge.LEX_GS350_13"
	DataContext="{Binding RelativeSource={x:Static RelativeSource.Self}}">
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type TextBlock}">
            <Setter Property="FontFamily" Value="DG1_Arial"/>
            <Setter Property="Foreground" Value="#FFFAFAFA"/>
            <Setter Property="TextWrapping" Value="NoWrap"/>
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>
		
		<local:DigitalGaugeConfig x:Key="Config" HasClock="False" HasExternalTemp="True" UseDegreesF="True" UseMPH="True" UsePsi="True" MaxBoost="0" MinBoost="0" MaxSpeed="00" 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="00" MaxGear="0" 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">
        <Rectangle x:Name="Background" Fill="#FF1D1D1D" Height="472.64" Canvas.Left="501" Stroke="Black" Canvas.Top="165.68" Width="422"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<TextBlock x:Name="Text_External_Temp" Canvas.Left="644" Canvas.Top="350" Text="{Binding ExternalTemp}" FontSize="32" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Width="86"/>
			<TextBlock x:Name="Text_Gear" Canvas.Left="685" Canvas.Top="390" Text="{Binding Gear}" FontSize="48" TextAlignment="Center" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Width="48"/>
			<TextBlock x:Name="Text_Odometer" Canvas.Left="630" Canvas.Top="519" Text="{Binding Odometer}" Width="150" FontSize="30.667" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Height="39.863">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.95"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
		</Canvas>
        <Canvas x:Name="Graphics" Height="598" Canvas.Left="168" Canvas.Top="87" Width="952">
        	<Image x:Name="Txt_miles" Height="22" Canvas.Left="613.999" Source="game:/media/cars/LEX_GS350_13/UI/Textures/LEX_GS350_13_txt_miles.png" Stretch="Fill" Canvas.Top="443" Width="65"/>
        	<Image x:Name="Txt_odo" Height="22" Canvas.Left="414" Source="game:/media/cars/LEX_GS350_13/UI/Textures/LEX_GS350_13_txt_odo.png" Stretch="Fill" Canvas.Top="443" Width="55"/>
        	<Image x:Name="Txt_Outside" Height="22" Canvas.Left="487" Source="game:/media/cars/LEX_GS350_13/UI/Textures/LEX_GS350_13_txt_outside.png" Stretch="Fill" Canvas.Top="234" Width="110"/>
        	<Image x:Name="Txt_temp_glyph" Height="22" Canvas.Left="563.333" Source="game:/media/cars/LEX_GS350_13/UI/Textures/LEX_GS350_13_txt_temp_glyph.png" Stretch="Fill" Canvas.Top="272.667" Width="30"/>
        </Canvas>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="668" Stroke="Black" Width="1186" Canvas.Left="60" Canvas.Top="55" Opacity="0"/>
	</Canvas>
</Page>