<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_E46M3_05">
	
    <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="False" 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="#FF3B3B3B" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0"/>
        <Rectangle x:Name="Background_Odo" Fill="Black" Height="212" Stroke="Black" Width="682" Canvas.Left="62" Canvas.Top="269.5"/>
        <Rectangle x:Name="Background_Gear" Fill="Black" Height="212" Stroke="Black" Width="340" Canvas.Left="859" Canvas.Top="269.5"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<local:FastTextBlock x:Name="Text_External_Temp" Canvas.Left="382.5" Canvas.Top="378.5" Text="{Binding ExternalTemp}" FontSize="69.333" Style="{StaticResource TextBlockStyle}" Width="150" RenderTransformOrigin="0.5,0.5" Foreground="#FFFB2F0C" FontFamily="DG5_QuartzMS">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.15"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Gear" Canvas.Left="810.126" Canvas.Top="264.209" Text="{Binding Gear}" Width="200" FontSize="160" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Foreground="#FFFB2F0C" FontFamily="DG5_QuartzMS">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.9"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform Y="1" X="1"/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Trip_Odo" Canvas.Left="412.192" Canvas.Top="281.5" Text="{Binding ExternalTemp}" FontSize="64" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" Width="300" Foreground="#FFFB2F0C"/>
			<local:FastTextBlock x:Name="Text_Odometer" Canvas.Left="-119.817" Canvas.Top="281.5" Text="{Binding Odometer}" Width="500" FontSize="64" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFB2F0C">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.95"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
		</Canvas>
		<Image x:Name="Gear_Graphics" Height="150" Canvas.Left="1017" Source="game:/media/cars/BMW_M3GTR_05/UI/Textures/BMW_E46M3_05_Shift_Graphics.png" Stretch="Fill" Canvas.Top="301" Width="120"/>
		<Image x:Name="Text_Miles" Height="32" Canvas.Left="390" Source="game:/media/cars/BMW_M3GTR_05/UI/Textures/BMW_E46M3_05_txt_miles.png" Stretch="Fill" Canvas.Top="299" Width="90"/>
		<Image x:Name="Text_Temperature" Height="50" Canvas.Left="550" Source="game:/media/cars/BMW_M3GTR_05/UI/Textures/BMW_E46M3_05_txt_temp.png" Stretch="Fill" Canvas.Top="401" Width="50"/>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="668" Stroke="Black" Width="1186" Canvas.Left="58" Canvas.Top="53" Opacity="0"/>
	</Canvas>
</Page>