<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.BMW_X5M_11"
	 >
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type local:FastTextBlock}">
            <Setter Property="FontFamily" Value="DG1_Arial"/>
            <Setter Property="Foreground" Value="#FFEB3F24"/>
             
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>
		
		<local:DigitalGaugeConfig x:Key="Config" HasClock="True" 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="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">
        <Image x:Name="BG_merged" Height="256" Canvas.Left="512" Source="game:/media/cars/BMW_X5M_11/UI/Textures/BMW_X5M_11_BGmerged.png" Stretch="Fill" Canvas.Top="178" Width="256"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<local:FastTextBlock x:Name="Text_Clock" Canvas.Left="572" Canvas.Top="219" Text="{Binding Time}" FontSize="24" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Width="100"/>
			<local:FastTextBlock x:Name="Text_External_Temp" Canvas.Left="583" Canvas.Top="248" Text="{Binding ExternalTemp}" FontSize="24" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Width="70"/>
			<local:FastTextBlock x:Name="Text_Gear" Canvas.Left="595.667" Canvas.Top="282.039" Text="{Binding Gear}" FontSize="77.333" TextAlignment="Center" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Width="92.333"/>
			<local:FastTextBlock x:Name="Text_Odometer" Canvas.Left="540" Canvas.Top="374" Text="{Binding Odometer}" Width="108" FontSize="21.333" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.95"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Trip_Odo" Canvas.Left="648" Canvas.Top="374" Text="{Binding TripMeter}" Width="72" FontSize="21.333" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5"/>
		</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>