<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.FOR_FocusST_12"
	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="White"/>
            <Setter Property="TextWrapping" Value="NoWrap"/>
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>
		
		<local:DigitalGaugeConfig x:Key="Config" HasClock="False" HasExternalTemp="True" UseDegreesF="False" UseMPH="False" UsePsi="False" MaxBoost="13" MinBoost="1" MaxSpeed="100" 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="#FF3F3F3F" Width="1280" Height="720">
		<VisualStateManager.VisualStateGroups>
			<VisualStateGroup x:Name="NightDaySplit">
				<VisualState x:Name="Day"/>
				<VisualState x:Name="Night"/>
			</VisualStateGroup>
		</VisualStateManager.VisualStateGroups>
        <Rectangle Fill="#FF1D366E" Height="284" Canvas.Left="409" Canvas.Top="100" Width="500"/>
        <Image x:Name="MFD_Center_BG" Height="256" Canvas.Left="496" Source="game:/media/cars/FOR_FocusST_12/UI/Textures/FOR_FocusST_12_MFD_Center_BG.png" Stretch="Fill" Canvas.Top="116" Width="256"/>
        <Image x:Name="MFD_Left" Height="256" Canvas.Left="459.6" Source="game:/media/cars/FOR_FocusST_12/UI/Textures/FOR_FocusST_12_MFD_Left.png" Stretch="Fill" Canvas.Top="116.5" Width="64"/>
        <Image x:Name="MFD_Car_Graphic" Height="256" Canvas.Left="684.5" Source="game:/media/cars/FOR_FocusST_12/UI/Textures/FOR_FocusST_12_MFD_Car_Graphic.png" Stretch="Fill" Canvas.Top="115.5" Width="256"/>
        <Image x:Name="Text_Static_Computer" Height="32" Canvas.Left="544" Source="game:/media/cars/FOR_FocusST_12/UI/Textures/FOR_FocusST_12_Trip_Computer.png" Stretch="Fill" Canvas.Top="140" Width="256"/>
        <Image x:Name="Text_Static_Odometer" Height="32" Canvas.Left="485" Source="game:/media/cars/FOR_FocusST_12/UI/Textures/FOR_FocusST_12_Trip_Odometer.png" Stretch="Fill" Canvas.Top="180" Width="256"/>
        <Image x:Name="Text_Static_Reset" Height="32" Canvas.Left="485" Source="game:/media/cars/FOR_FocusST_12/UI/Textures/FOR_FocusST_12_Reset_Text.png" Stretch="Fill" Canvas.Top="269" Width="256"/>
        <Image x:Name="MFD_Dial" Height="128" Canvas.Left="705.375" Source="game:/media/cars/FOR_FocusST_12/UI/Textures/FOR_FocusST_12_MFD_Dial.png" Stretch="Fill" Canvas.Top="179.75" Width="32"/>
        <Image x:Name="Text_Status_Temp" Height="16" Canvas.Left="626" Source="game:/media/cars/FOR_FocusST_12/UI/Textures/FOR_FocusST_12_Celsius.png" Stretch="Fill" Canvas.Top="325" Width="32"/>
        <Image x:Name="Text_Status_Km" Height="16" Canvas.Left="828" Source="game:/media/cars/FOR_FocusST_12/UI/Textures/FOR_FocusST_12_Km.png" Stretch="Fill" Canvas.Top="325" Width="32"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<DockPanel LastChildFill="False" Canvas.Left="515" Canvas.Top="216.7" Width="140">
				<TextBlock x:Name="Text_Trip_Odo" Text="{Binding TripMeter}" FontSize="36" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Margin="0,0,0,-3.762"  DockPanel.Dock="Right">
					<TextBlock.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="0.95"/>
							<SkewTransform/>
							<RotateTransform/>
							<TranslateTransform/>
						</TransformGroup>
					</TextBlock.RenderTransform>
				</TextBlock>
				<Image x:Name="Arrow" Source="Textures/FOR_FocusST_12_Arrow.png" Stretch="Fill" Width="32" Margin="0,6,-4,5.635" DockPanel.Dock="Right"/>
			</DockPanel>
			<TextBlock x:Name="Text_Odometer" Canvas.Left="689" Canvas.Top="317" Text="{Binding Odometer}" Width="140" FontSize="26.667" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Height="30.6633333333333">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.9"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<TextBlock x:Name="Text_External_Temp" Canvas.Left="547" Canvas.Top="317" Text="{Binding ExternalTemp}" FontSize="26.667" Style="{StaticResource TextBlockStyle}" Width="80" RenderTransformOrigin="0.5,0.5" Height="30.663">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.9"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
		</Canvas>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="668" Stroke="Black" Width="1186" Canvas.Left="56" Canvas.Top="52" Opacity="0"/>
	</Canvas>
</Page>