<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.MAZ_RX8R3_11">
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type TextBlock}">
            <Setter Property="FontFamily" Value="Moire"/>
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="TextWrapping" Value="Wrap"/>
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>
		
		<local:DigitalGaugeConfig x:Key="Config" HasClock="True" HasExternalTemp="True" UseDegreesF="True" UseMPH="True" 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="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="Grey_Background" Fill="#FF5E5E5E" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0"/>
		<Rectangle x:Name="Clock_Background" Fill="#FF311116" Height="100" Canvas.Left="237" Canvas.Top="139" Width="820"/>
		<Rectangle x:Name="Clock_Line_1" Fill="#FFFF2F4C" Height="60" Canvas.Left="402.59" Canvas.Top="164" Width="3"/>
		<Rectangle x:Name="Clock_Line_2" Fill="#FFFF2F4C" Height="60" Canvas.Left="748" Canvas.Top="164" Width="3"/>
        <Rectangle x:Name="Background_Odo" Height="80" Canvas.Left="356" Canvas.Top="405.03" Width="130" Fill="Black"/>
		<Rectangle x:Name="Background_Speedo" Fill="Black" Height="80" Canvas.Left="651" Canvas.Top="352" Width="100"/>
        <Image x:Name="txt_odo_baked" Canvas.Left="379.5" Canvas.Top="430.5" Height="16" Source="game:/media/cars/MAZ_RX8R3_11/UI/Textures/MAZ_RX8R3_11_txt_trip.PNG" Stretch="Fill" Width="32"/>
        <Image x:Name="txt_mph_baked" Canvas.Left="661" Canvas.Top="406.03" Height="16" Source="game:/media/cars/MAZ_RX8R3_11/UI/Textures/MAZ_RX8R3_11_txt_mph.PNG" Stretch="Fill" Width="32"/>
		<Canvas x:Name="Text" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0">
			<TextBlock x:Name="Text_Speed" Canvas.Left="648.192" Canvas.Top="362.023" Text="{Binding Speed}" Width="110" FontSize="48" Style="{StaticResource TextBlockStyle}" Foreground="White" FontFamily="DG2_LCD" RenderTransformOrigin="0.5,0.5">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="0.8"/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</TextBlock.RenderTransform>
			</TextBlock>
			<TextBlock x:Name="Text_Trip_Odo" Canvas.Left="401.59" Canvas.Top="428.5" Text="{Binding TripMeter}" Width="60" FontSize="21.333" Style="{StaticResource TextBlockStyle}" Foreground="White" FontFamily="DG2_LCD"/>
			<TextBlock x:Name="Text_Odometer" Canvas.Left="362.59" Canvas.Top="450.92" Text="{Binding Odometer}" Width="90" FontSize="16" Style="{StaticResource TextBlockStyle}" FontFamily="DG2_LCD" Foreground="White"/>
			<TextBlock x:Name="Text_Clock" Canvas.Left="225.192" Canvas.Top="183.023" Text="{Binding Time}" Width="155" FontSize="48" Style="{StaticResource TextBlockStyle}" Foreground="#FFFF2F4C" FontFamily="DG2_LCD" RenderTransformOrigin="0.5,0.5">
				<TextBlock.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="1.1"/>
						<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>