<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.VW_GolfR_10">
	
    <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="True" HasExternalTemp="True" UseDegreesF="False" UseMPH="False" UsePsi="True" MaxBoost="13" MinBoost="1" MaxSpeed="120" HasAbsLight="True" HasStmLight="True" HasTcsLight="True" HasGAccelX="True" HasGAccelY="True" HasShiftLights="True" HasTextTach="True" HasLapPlaceInfo="True" HasTextBoost="True" HasTextGAccel="True" HasTextOdometer="True" HasTextFuel="True" MaxFuel="20" MaxGear="8" MaxRpm="10000"></local:DigitalGaugeConfig>
        
		<Storyboard x:Key="Tach"/>
		<Storyboard x:Key="Fuel Gauge"/>
		<Storyboard x:Key="Water Temp Gauge"/>
		<Storyboard x:Key="Oil Temp Gauge"/>
		<Storyboard x:Key="Oil Pressure Gauge"/>
		<Storyboard x:Key="Speedo Analog"/>
		<Storyboard x:Key="Boost Analog"/>
		<Storyboard x:Key="ABS Light"/>
		<Storyboard x:Key="STM Light"/>
		<Storyboard x:Key="TCS Light"/>
		<Storyboard x:Key="G Accel Horizontal"/>
		<Storyboard x:Key="G Accel Vertical"/>
		<Storyboard x:Key="Gear Analog"/>
		<Storyboard x:Key="Shift Lights Progress"/>
		<Storyboard x:Key="Shift Lights Flash">
		</Storyboard>
		<Storyboard x:Key="Geared Tach R"/>
		<Storyboard x:Key="Geared Tach N"/>
		<Storyboard x:Key="Geared Tach 1"/>
		<Storyboard x:Key="Geared Tach 2"/>
		<Storyboard x:Key="Geared Tach 3"/>
		<Storyboard x:Key="Geared Tach 4"/>
		<Storyboard x:Key="Geared Tach 5"/>
		<Storyboard x:Key="Geared Tach 6"/>
		<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="Top_Background" Fill="Black" Height="50" Stroke="Black" Width="1186" Canvas.Left="58" Canvas.Top="55"/>
        <Rectangle x:Name="Background_Grey" Fill="#FF4E4E4E" Height="720" Stroke="Black" Width="1280" Canvas.Left="0" Canvas.Top="0"/>
        <Rectangle x:Name="Background_MFD" Fill="Black" Height="360" Stroke="Black" Width="224" Canvas.Left="528" Canvas.Top="147.5"/>
        <Image x:Name="Text_Speed_baked" Canvas.Left="576.5" Canvas.Top="250.5" Height="32" Source="game:/media/cars/VW_GolfR_10/UI/Textures/VW_GolfR_10_txt_speed.PNG" Stretch="Fill" Width="128"/>
        <Image x:Name="Text_kmh_baked" Canvas.Left="660.5" Canvas.Top="322.5" Height="18" Source="game:/media/cars/VW_GolfR_10/UI/Textures/VW_GolfR_10_txt_kmh.PNG" Stretch="Fill" Width="60"/>
        <Image x:Name="Text_temp_baked" Canvas.Left="649.5" Canvas.Top="389" Height="18" Source="game:/media/cars/VW_GolfR_10/UI/Textures/VW_GolfR_10_txt_temp.PNG" Stretch="Fill" Width="32"/>
        <Image x:Name="Text_km_baked" Canvas.Left="541.5" Canvas.Top="417" Height="18" Source="game:/media/cars/VW_GolfR_10/UI/Textures/VW_GolfR_10_txt_km.PNG" Stretch="Fill" Width="32"/>
        <Image x:Name="Text_trip_baked" Canvas.Left="687.5" Canvas.Top="412" Height="32" Source="game:/media/cars/VW_GolfR_10/UI/Textures/VW_GolfR_10_txt_trip.PNG" Stretch="Fill" Width="64"/>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="668" Stroke="Black" Width="1186" Canvas.Left="58" Canvas.Top="53" Opacity="0" />
		<Canvas x:Name="Text" Height="720" Width="1280">
			<local:FastTextBlock x:Name="Text_External_Temp" Canvas.Left="547.5" Canvas.Top="380.77" Text="{Binding ExternalTemp}" FontSize="26.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG1_Arial" Width="100" RenderTransformOrigin="0.5,0.5">
				<local:FastTextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="1.1"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</local:FastTextBlock.RenderTransform>
			</local:FastTextBlock>
			<local:FastTextBlock x:Name="Text_Clock" Canvas.Left="578.183" Canvas.Top="174.5" Text="{Binding Time}" FontSize="29.333" Style="{StaticResource TextBlockStyle}" Width="100" FontFamily="DG1_Arial"/>
			<local:FastTextBlock x:Name="Text_Speed" Canvas.Left="557.793" Canvas.Top="269.5" Text="{Binding Speed}" Width="136.416" FontSize="50.667" Style="{StaticResource TextBlockStyle}"/>
			<local:FastTextBlock x:Name="Text_Trip_Odo" Canvas.Left="637.192" Canvas.Top="436.5" Text="{Binding TripMeter}" Width="100" FontSize="24" Style="{StaticResource TextBlockStyle}" FontFamily="DG1_Arial"/>
			<local:FastTextBlock x:Name="Text_Odometer" Canvas.Left="513.183" Canvas.Top="436.5" Text="{Binding Odometer}" Width="130" FontSize="24" Style="{StaticResource TextBlockStyle}" FontFamily="DG1_Arial"/>
		</Canvas>
        <Rectangle x:Name="Line_1_Top" Fill="White" Height="2" Canvas.Left="545" Canvas.Top="212" Width="190" Opacity="0.3"/>
        <Rectangle x:Name="Line_1" Fill="White" Height="3" Canvas.Left="545" Canvas.Top="214" Width="190"/>
        <Rectangle x:Name="Line_1_Bottom" Fill="White" Height="2" Canvas.Left="545" Canvas.Top="217" Width="190" Opacity="0.3"/>
        <Rectangle x:Name="Line_2_Top" Fill="White" Height="2" Canvas.Left="545" Canvas.Top="374" Width="190" Opacity="0.3"/>
        <Rectangle x:Name="Line_2" Fill="White" Height="3" Canvas.Left="545" Canvas.Top="376" Width="190"/>
        <Rectangle x:Name="Line_2_Bottom" Fill="White" Height="2" Canvas.Left="545" Canvas.Top="379" Width="190" Opacity="0.3"/>
        <Rectangle x:Name="Line_3" Fill="White" Height="3" Canvas.Left="545" Canvas.Top="414" Width="190"/>
        <Rectangle x:Name="Line_3_Top" Fill="White" Height="2" Canvas.Left="545" Canvas.Top="412.004" Width="190" Opacity="0.3"/>
        <Rectangle x:Name="Line_3_Bottom" Fill="White" Height="2" Canvas.Left="545" Canvas.Top="417" Width="190" Opacity="0.3"/>
	</Canvas>
</Page>