<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.AUD_R8Plus_13"
	 >
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type local:FastTextBlock}">
            <Setter Property="FontFamily" Value="DG5_QuartzMS"/>
            <Setter Property="Foreground" Value="White"/>
             
            <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="True" 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="Background_Grey" Fill="#FF373737" Height="720" Canvas.Left="0" Canvas.Top="0" Width="1280" />
        <Rectangle x:Name="Background_MFD" Height="230" Canvas.Left="555.5" Canvas.Top="324" Width="170" Fill="Black"/>
        <Rectangle x:Name="Background_Odo" Fill="Black" Height="70" Canvas.Left="892.7" Canvas.Top="502.5" Width="130"/>
        <Rectangle x:Name="Background_Clock" Fill="Black" Height="70" Canvas.Left="258.5" Canvas.Top="503" Width="130"/>
        <Image x:Name="Bckgd01" Height="256" Canvas.Left="512.5" Source="game:/media/cars/AUD_R8Plus_13/UI/Textures/AUD_R8Plus_13_Bckgd01.png" Stretch="Fill" Canvas.Top="310.5" Width="256"/>
        <Image x:Name="Glyph" Height="32" Canvas.Left="260.25" Source="game:/media/cars/AUD_R8Plus_13/UI/Textures/AUD_R8Plus_13_Glyph.png" Stretch="Fill" Canvas.Top="508.5" Width="32"/>
        <Image x:Name="Text_MI" Height="16" Canvas.Left="898" Source="game:/media/cars/AUD_R8Plus_13/UI/Textures/AUD_R8Plus_13_Text_MI.png" Stretch="Fill" Canvas.Top="542.5" Width="32"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
            <local:FastTextBlock x:Name="Text_Clock" Canvas.Left="251.426" Canvas.Top="510" Text="{Binding Time}" FontSize="29.333" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" Width="120"/>
            <local:FastTextBlock x:Name="Text_External_Temp" Canvas.Left="569" Canvas.Top="364" Text="{Binding ExternalTemp}" FontSize="21.333" Style="{StaticResource TextBlockStyle}" FontFamily="DG4_PF_Ronda_Seven" Width="88" Height="35.583"/>
            <local:FastTextBlock x:Name="Text_Lap_Min" Canvas.Left="642.357" Canvas.Top="405.5" Text="{Binding LapMin}" FontSize="18.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG4_PF_Ronda_Seven" Width="27.5" Height="35.583"/>
            <local:FastTextBlock x:Name="Text_Current_Lap" Canvas.Left="538" Canvas.Top="431" Text="{Binding CurLapTime}" FontSize="21.333" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" Width="160" TextAlignment="Right"/>
            <local:FastTextBlock x:Name="Text_Last_Lap" Canvas.Left="538" Canvas.Top="458" Text="{Binding LastLapTime}" FontSize="21.333" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" Width="160" TextAlignment="Right"/>
            <local:FastTextBlock x:Name="Text_Best_Lap" Canvas.Left="538" Canvas.Top="483" Text="{Binding BestLapTime}" FontSize="21.333" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" Width="160" TextAlignment="Right"/>
            <local:FastTextBlock x:Name="Text_Gear" TextAlignment="Center" Text="{Binding Gear}" Width="40" FontSize="21.333" Style="{StaticResource TextBlockStyle}" Canvas.Left="620" Canvas.Top="514" FontFamily="DG4_PF_Ronda_Seven"/>
            <local:FastTextBlock x:Name="Text_Odometer" Canvas.Left="892.243" Canvas.Top="509.5" Text="{Binding Odometer}" Width="126.905" FontSize="26.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS"   RenderTransformOrigin="0.5,0.5">
            	<local:FastTextBlock.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform ScaleX="0.9"/>
            			<SkewTransform/>
            			<RotateTransform/>
            			<TranslateTransform/>
            		</TransformGroup>
            	</local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Trip_Odo" Canvas.Left="925.65" Canvas.Top="535.5" Text="{Binding TripMeter}" Width="87.6" FontSize="26.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS"  />
		</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>