<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.FOR_13_MustangFD_15">
	
    <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="False" 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="False" HasTextFuel="True" MaxFuel="10" 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>
		<Storyboard x:Key="Fuel Gauge">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="Fill_Fuel_1">
				<EasingDoubleKeyFrame KeyTime="0" Value="-29.277"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.038" Value="-19.224"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.076" Value="-10.161"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.115" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.154" Value="8.802"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.193" Value="17.623"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.231" Value="26.265"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.269" Value="35.787"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.308" Value="44.801"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.346" Value="54.413"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="Fill_Fuel_2">
				<EasingDoubleKeyFrame KeyTime="0" Value="-29.277"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.038" Value="-19.224"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.076" Value="-10.161"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.115" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.154" Value="8.802"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.193" Value="17.623"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.231" Value="26.265"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.269" Value="35.787"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.308" Value="44.801"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.346" Value="54.413"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.385" Value="63.704"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.423" Value="72.55"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.461" Value="81.658"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="90"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.539" Value="100.085"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.576" Value="108.625"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.615" Value="118.117"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.654" Value="126.951"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.693" Value="135.886"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="Fill_Fuel_3">
				<EasingDoubleKeyFrame KeyTime="0" Value="-29.277"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.038" Value="-19.224"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.076" Value="-10.161"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.115" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.154" Value="8.802"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.193" Value="17.623"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.231" Value="26.265"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.269" Value="35.787"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.308" Value="44.801"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.346" Value="54.413"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.385" Value="63.704"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.423" Value="72.55"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.461" Value="81.658"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="90"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.539" Value="100.085"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.576" Value="108.625"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.615" Value="118.117"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.654" Value="126.951"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.693" Value="135.886"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.731" Value="144.667"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.769" Value="153.526"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.808" Value="163.078"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.846" Value="171.575"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.885" Value="180.099"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.923" Value="189.153"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.961" Value="198.253"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="206.974"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Page.Resources>
	<Page.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource Fuel Gauge}"/>
		</EventTrigger>
	</Page.Triggers>
	  

	<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_Engine_Water" Fill="#FF120D0E" Height="59.502" Width="1240" Canvas.Left="32" Canvas.Top="16.719" RenderTransformOrigin="0.5,0.5"/>
        <Canvas x:Name="Gauges" Height="720" Canvas.Left="0" Canvas.Top="0" Width="1280">
        	<Image x:Name="Fill_Water_Temp" Height="82" Canvas.Left="88.19" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Fill.png" Stretch="Fill" Canvas.Top="238" Width="82" RenderTransformOrigin="1,0">
        		<Image.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform Angle="35.129"/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Image.RenderTransform>
        	</Image>
        	<Image x:Name="Fill_Oil_Pressure" Height="82" Canvas.Left="344" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Fill.png" Stretch="Fill" Canvas.Top="238" Width="82" RenderTransformOrigin="1,0">
        		<Image.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform Angle="35.262"/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Image.RenderTransform>
        	</Image>
        	<Image x:Name="Fill_Oil_Temp" Height="82" Canvas.Left="627.004" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Fill.png" Stretch="Fill" Canvas.Top="238" Width="82" RenderTransformOrigin="1,0">
        		<Image.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform Angle="62.132"/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Image.RenderTransform>
        	</Image>
        	<Image x:Name="Fill_Battery" Height="82" Canvas.Left="836.616" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Fill.png" Stretch="Fill" Canvas.Top="238" Width="82" RenderTransformOrigin="1,0">
        		<Image.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform Angle="62.132"/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Image.RenderTransform>
        	</Image>
        	<Image x:Name="Fill_Fuel_1" Height="82" Canvas.Left="1095.712" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Fill.png" Stretch="Fill" Canvas.Top="238" Width="82" RenderTransformOrigin="1,0">
        		<Image.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform Angle="-29.277"/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Image.RenderTransform>
        	</Image>
        	<Image x:Name="Fill_Fuel_2" Height="82" Canvas.Left="1095.712" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Fill.png" Stretch="Fill" Canvas.Top="238" Width="82" RenderTransformOrigin="1,0">
        		<Image.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform Angle="-29.277"/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Image.RenderTransform>
        	</Image>
        	<Image x:Name="Fill_Fuel_3" Height="82" Canvas.Left="1095.712" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Fill.png" Stretch="Fill" Canvas.Top="238" Width="82" RenderTransformOrigin="1,0">
        		<Image.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform Angle="-29.277"/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Image.RenderTransform>
        	</Image>
        	<Image x:Name="Alpha_Water_Temp" Height="176" Canvas.Left="83.02" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Alpha.png" Stretch="Fill" Canvas.Top="151.17" Width="176"/>
        	<Image x:Name="Alpha_Oil_Pressure" Height="176" Canvas.Left="337.452" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Alpha.png" Stretch="Fill" Canvas.Top="151.17" Width="176"/>
        	<Image x:Name="Alpha_Oil_Temp" Height="176" Canvas.Left="621.22" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Alpha.png" Stretch="Fill" Canvas.Top="151.17" Width="176"/>
        	<Image x:Name="Alpha_Battery" Height="176" Canvas.Left="830.888" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Alpha.png" Stretch="Fill" Canvas.Top="151.17" Width="176"/>
        	<Image x:Name="Alpha_Fuel" Height="176" Canvas.Left="1091.096" Source="game:/media/cars/FOR_13_MustangFD_15/UI/Textures/FOR_13_MustangFD_15_Alpha.png" Stretch="Fill" Canvas.Top="151.17" Width="176"/>
        </Canvas>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<local:FastTextBlock x:Name="Text_Water_Temp" Canvas.Top="12" Text="150" Width="200" FontSize="50.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF182E" Canvas.Left="17.015">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Water_Temp_Bckgd" Canvas.Top="12" Text="888" Width="200" FontSize="50.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF182E" Opacity="0.15" Canvas.Left="17.015">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Oil_Pressure" Canvas.Left="269.711" Canvas.Top="12" Text="40" Width="200" FontSize="50.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF182E">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Oil_Pressure_Bckgd" Canvas.Left="269.711" Canvas.Top="12" Text="88" Width="200" FontSize="50.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF182E" Opacity="0.15">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Oil_Temp" Canvas.Left="548.788" Canvas.Top="12" Text="180" Width="200" FontSize="50.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF182E">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Oil_Temp_Bckgd" Canvas.Left="548.788" Canvas.Top="12" Text="888" Width="200" FontSize="50.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF182E" Opacity="0.15">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Battery_Bckgd" Canvas.Left="771.099" Canvas.Top="10.977" Text="88.8" Width="200" FontSize="50.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF182E" Opacity="0.15">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Battery" Canvas.Left="771.099" Canvas.Top="10.977" Text="11.4" Width="200" FontSize="50.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF182E">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Fuel_Bckgd" Canvas.Left="1031.68" Canvas.Top="10.977" Text="88.8" Width="200" FontSize="50.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF182E" Opacity="0.15">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Fuel" Canvas.Left="1031.68" Canvas.Top="10.977" Text="{Binding FuelText}" Width="200" FontSize="50.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG5_QuartzMS" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF182E">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleY="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
		</Canvas>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="720" Stroke="Black" Width="1280" Canvas.Left="0" Canvas.Top="0" Opacity="0"/>
		
														<!-- Storyboard binding controllers -->
		<local:StoryboardController SeekPct="{Binding Fuel}" Target="{StaticResource Fuel Gauge}"/>
		
	</Canvas>
</Page>