<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.POR_911GT3RS_12"
	 >
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type local:FastTextBlock}">
            <Setter Property="FontFamily" Value="DG1_Arial"/>
            <Setter Property="Foreground" Value="#FFff2C3D"/>
             
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>
		
		<local:DigitalGaugeConfig x:Key="Config" HasClock="True" HasExternalTemp="True" UseDegreesF="True" UseMPH="True" UsePsi="False" MaxBoost="13" MinBoost="1" 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>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="Start_Up_Mask">
				<EasingDoubleKeyFrame KeyTime="0" Value="1280"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1280"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" Storyboard.TargetName="Start_Up_Mask">
				<EasingDoubleKeyFrame KeyTime="0" Value="720"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="720"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Page.Resources>
	  

	<Canvas x:Name="LayoutRoot" Background="Black" Width="1280" Height="720">
		<Image x:Name="Badge" Height="261" Canvas.Left="119" Source="game:/media/cars/POR_911GT3RS_12/UI/Textures/POR_911GT3RS_12_Badge.png" Stretch="Fill" Canvas.Top="78" Width="350" RenderTransformOrigin="0.5,0.5">
			<Image.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="0.75" ScaleY="0.75"/>
					<SkewTransform/>
					<RotateTransform/>
					<TranslateTransform/>
				</TransformGroup>
			</Image.RenderTransform>
		</Image>
		<Canvas x:Name="Text" Height="468" Width="829" Canvas.Left="475" Canvas.Top="200">
			<local:FastTextBlock x:Name="Text_Clock" Canvas.Left="513" Canvas.Top="307" Text="{Binding Time}" FontSize="56" Style="{StaticResource TextBlockStyle}" Width="200" Foreground="White" FontFamily="DG5_QuartzMS"/>
			<local:FastTextBlock x:Name="Text_External_Temp" Canvas.Left="473" Canvas.Top="364" Text="{Binding ExternalTemp}" FontSize="46.667" Style="{StaticResource TextBlockStyle}" Width="200" RenderTransformOrigin="0.5,0.5" Foreground="White" FontFamily="DG5_QuartzMS">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.9"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Odometer" Canvas.Left="-32" Canvas.Top="322.54" Text="{Binding Odometer}" Width="300" FontSize="42.667" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Foreground="White" FontFamily="DG5_QuartzMS"/>
			<local:FastTextBlock x:Name="Text_Trip_Odo" Canvas.Left="56.5" Canvas.Top="365" Text="{Binding TripMeter}" Width="150" FontSize="41.333" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Foreground="White" FontFamily="DG5_QuartzMS"/>
			<local:FastTextBlock x:Name="Text_Speed" TextAlignment="Right" Canvas.Left="158" Canvas.Top="45" Text="{Binding Speed}" Width="300" FontSize="98.667" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Foreground="White" FontFamily="DG5_QuartzMS"/>
			<Image x:Name="Graphics_MPH" Height="29" Canvas.Left="469" Source="game:/media/cars/POR_911GT3RS_12/UI/Textures/POR_911GT3RS_12_txt_mph.png" Stretch="Fill" Canvas.Top="115.5" Width="66"/>
			<Image x:Name="Graphics_Mls" Height="20" Canvas.Left="214.5" Source="game:/media/cars/POR_911GT3RS_12/UI/Textures/POR_911GT3RS_12_txt_mls.png" Stretch="Fill" Canvas.Top="384.23" Width="44"/>
			<Image x:Name="Graphics_Temperature" Height="27" Canvas.Left="672" Source="game:/media/cars/POR_911GT3RS_12/UI/Textures/POR_911GT3RS_12_txt_temperature.png" Stretch="Fill" Canvas.Top="380.73" Width="36"/>
		</Canvas>
		<Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="720" Stroke="Black" Width="1280" Opacity="0"/>
	</Canvas>
</Page>