<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.MCL_F1_93"
	DataContext="{Binding RelativeSource={x:Static RelativeSource.Self}}">
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type TextBlock}">
            <Setter Property="FontFamily" Value="DG4_PF_Rhonda"/>
            <Setter Property="Foreground" Value="Black"/>
            <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="False" 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="BG_Clock" Fill="#FF97A529" Height="90" Canvas.Left="876" Canvas.Top="553" Width="300"/>
        <Image x:Name="Text_MCL" Height="16" Canvas.Left="1004.75" Source="game:/media/cars/MCL_F1_93/UI/Textures/MCL_F1_93_Text_MCL.png" Stretch="Fill" Canvas.Top="572.25" Width="128"/>
        <Rectangle x:Name="BG_Odo" Fill="#FF97A529" Height="90" Canvas.Left="103" Canvas.Top="553" Width="300"/>
        <Image x:Name="Text_Trip" Height="16" Canvas.Left="150" Source="game:/media/cars/MCL_F1_93/UI/Textures/MCL_F1_93_Text_Trip.png" Stretch="Fill" Canvas.Top="572" Width="64"/>
        <Image x:Name="Text_Total" Height="16" Canvas.Left="160" Source="game:/media/cars/MCL_F1_93/UI/Textures/MCL_F1_93_Text_Total.png" Stretch="Fill" Canvas.Top="594" Width="64"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
            <TextBlock x:Name="Text_Clock" Canvas.Left="935.331" Canvas.Top="561.333" Text="{Binding Time}" FontSize="20" Style="{StaticResource TextBlockStyle}" FontFamily="DG4_PF_Ronda_Seven" RenderTransformOrigin="0.5,0.5" Foreground="Black">
            	<TextBlock.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform ScaleX="0.9"/>
            			<SkewTransform/>
            			<RotateTransform/>
            			<TranslateTransform/>
            		</TransformGroup>
            	</TextBlock.RenderTransform>
            </TextBlock>
            <TextBlock x:Name="Text_Trip_Odo" Canvas.Left="224" Canvas.Top="561" Text="{Binding TripMeter}" Width="120" FontSize="20" Style="{StaticResource TextBlockStyle}" FontFamily="DG4_PF_Ronda_Seven" TextWrapping="NoWrap" RenderTransformOrigin="0.5,0.5" Foreground="Black">
            	<TextBlock.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform ScaleX="0.9"/>
            			<SkewTransform/>
            			<RotateTransform/>
            			<TranslateTransform/>
            		</TransformGroup>
            	</TextBlock.RenderTransform>
            </TextBlock>
            <TextBlock x:Name="Text_Odometer" Canvas.Left="224" Canvas.Top="582.8" Text="{Binding Odometer}" Width="120" FontSize="20" Style="{StaticResource TextBlockStyle}" FontFamily="DG4_PF_Ronda_Seven" TextWrapping="NoWrap" Foreground="Black" RenderTransformOrigin="0.5,0.5">
            	<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="1185.998" Canvas.Left="59.752" Canvas.Top="54.812" Opacity="0"/>
	</Canvas>
</Page>