<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_M5_95">
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type TextBlock}">
            <Setter Property="FontFamily" Value="Moire"/>
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="TextWrapping" Value="NoWrap"/>
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>
		
		<local:DigitalGaugeConfig x:Key="Config" HasClock="False" HasExternalTemp="False" UseDegreesF="True" UseMPH="False" 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="Black" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0"/>
        <Rectangle x:Name="Background_Stripe" Fill="#FF121110" Height="188.999" Canvas.Top="269.001" Width="1280"/>
        <Rectangle x:Name="Arrow_Stripe" Fill="#FF291715" Height="44" Canvas.Left="270.667" Canvas.Top="306.001" Width="740"/>
        <Image x:Name="Arrow_L" Height="36" Canvas.Left="283.676" Source="game:/media/cars/BMW_M5_95/UI/Textures/BMW_M5_95_arrow.png" Stretch="Fill" Canvas.Top="309.671" Width="17" RenderTransformOrigin="0.5,0.5">
        	<Image.RenderTransform>
        		<TransformGroup>
        			<ScaleTransform ScaleX="1.2" ScaleY="1.2"/>
        			<SkewTransform/>
        			<RotateTransform/>
        			<TranslateTransform/>
        		</TransformGroup>
        	</Image.RenderTransform>
        </Image>
        <Image x:Name="Arrow_R" Height="36" Canvas.Left="980.955" Source="game:/media/cars/BMW_M5_95/UI/Textures/BMW_M5_95_arrow.png" Stretch="Fill" Canvas.Top="309.671" Width="17" RenderTransformOrigin="0.5,0.5">
        	<Image.RenderTransform>
        		<TransformGroup>
        			<ScaleTransform ScaleX="1.2" ScaleY="1.2"/>
        			<SkewTransform/>
        			<RotateTransform Angle="-180"/>
        			<TranslateTransform/>
        		</TransformGroup>
        	</Image.RenderTransform>
        </Image>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<TextBlock x:Name="Text_Odometer" Canvas.Left="-99.817" Canvas.Top="294.011" Text="{Binding Odometer}" Width="350" FontSize="48" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFB523F">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.9"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<Image x:Name="Graphics_km" Height="17" Source="game:/media/cars/BMW_M5_95/UI/Textures/BMW_M5_95_txt_km.png" Stretch="Fill" Width="32" Canvas.Left="28.339" Canvas.Top="393.667" RenderTransformOrigin="0.5,0.5">
				<Image.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="1.2" ScaleY="1.2"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</Image.RenderTransform>
			</Image>
			<TextBlock x:Name="Text_Trip" Canvas.Left="-99.817" Canvas.Top="361.011" Text="{Binding TripMeter}" Width="350" FontSize="48" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFB523F">
				<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="1186" Canvas.Left="58" Canvas.Top="53" Opacity="0"/>
	</Canvas>
</Page>