<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.BMW_M5E39_03">
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type local:FastTextBlock}">
            <Setter Property="FontFamily" Value="Moire"/>
            <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="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="Background_Grey" Fill="#FF3D3D3D" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0" StrokeThickness="0" />
        <Rectangle x:Name="Odo_Background" Fill="#FF0D0706" Height="120" Stroke="Black" Width="600" Canvas.Left="340.158" Canvas.Top="524.177" StrokeThickness="0" />
		<Rectangle x:Name="Background_Time" Fill="#FF2E1215" Height="40" Stroke="Black" Width="540" Canvas.Left="369.831" Canvas.Top="587.013" StrokeThickness="0" />
        <Rectangle x:Name="Background_Ext_Temp" Fill="#FF2E1215" Height="30" Stroke="Black" Width="140" Canvas.Left="749.914" Canvas.Top="540.5" StrokeThickness="0" />
        <Rectangle x:Name="Background_Trip" Fill="#FF2E1215" Height="30" Stroke="Black" Width="150" Canvas.Left="565.414" Canvas.Top="540.5" StrokeThickness="0" />
        <Rectangle x:Name="Background_Odo" Fill="#FF2E1215" Height="30" Stroke="Black" Width="140" Canvas.Left="389.664" Canvas.Top="540.5" StrokeThickness="0" />
        <Image x:Name="Text_Group_Baked" Height="90" Canvas.Left="507.413" Source="game:/media/cars/BMW_M5E39_03/UI/Textures/BMW_M5E39_03_Graphics.png" Stretch="Fill" Canvas.Top="538.678" Width="380"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
            <local:FastTextBlock x:Name="Text_External_Temp" Canvas.Left="705" Canvas.Top="527.5" Text="{Binding ExternalTemp}" Width="140" FontSize="29.333" Style="{StaticResource TextBlockStyle}" FontFamily="DG4_PF_Ronda_Seven" Foreground="#FFCC2A17" TextAlignment="Right"/>
            <local:FastTextBlock x:Name="Text_Clock" Canvas.Left="613" Canvas.Top="568.049" Text="{Binding Time}" Width="160" FontSize="40" Style="{StaticResource TextBlockStyle}" Foreground="#FFCC2A17" FontFamily="DG4_PF_Ronda_Seven" TextAlignment="Right"/>
            <local:FastTextBlock x:Name="Text_Trip_Odo" Canvas.Left="583.692" Canvas.Top="527.5" Text="{Binding Tripmeter}" Width="130" FontSize="29.333" Style="{StaticResource TextBlockStyle}" FontFamily="DG4_PF_Ronda_Seven" Foreground="#FFCC2A17"/>
            <local:FastTextBlock x:Name="Text_Odometer" Canvas.Left="309.692" Canvas.Top="527.5" Text="{Binding Odometer}" Width="220" FontSize="29.333" Style="{StaticResource TextBlockStyle}" FontFamily="DG4_PF_Ronda_Seven" Foreground="#FFCC2A17"/>
		</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>