<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.NIS_SilviaSpecR_00">
	
    <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="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="Gear Analog"/>
		<Storyboard x:Key="Shift Lights Progress"/>
		<Storyboard x:Key="Shift Lights Flash"/>
		<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="#FF3D3D3D" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0" StrokeThickness="0"/>
        <Rectangle x:Name="Odo_Background" Fill="#FF7E7768" Height="140" Stroke="Black" Width="600" Canvas.Left="84.158" Canvas.Top="407.513" StrokeThickness="0"/>
		<Rectangle x:Name="Background_Time" Fill="#FF7E7768" Height="160" Stroke="Black" Width="390" Canvas.Left="813.831" Canvas.Top="395.513" StrokeThickness="0"/>
        <Rectangle x:Name="Text_Odo" Height="40" Canvas.Left="132.414" StrokeThickness="0" Canvas.Top="477.513" Width="90" Fill="Black">
        	<Rectangle.Stroke>
        		<ImageBrush/>
        	</Rectangle.Stroke>
        	<Rectangle.OpacityMask>
        		<ImageBrush ImageSource="game:/media/cars/NIS_SilviaSpecR_00/UI/Textures/NIS_SilviaSpecR_00_txt_Odo.png"/>
        	</Rectangle.OpacityMask>
        </Rectangle>
		<Canvas x:Name="Text" Height="720" Width="1280">
            <local:FastTextBlock x:Name="Text_Clock" Canvas.Left="736" Canvas.Top="414.486" Text="{Binding Time}" Width="400" FontSize="117.333" Style="{StaticResource TextBlockStyle}" Foreground="Black" FontFamily="DG2_LCD" TextAlignment="Right" RenderTransformOrigin="0.5,0.5">
            	<local:FastTextBlock.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform ScaleX="1.2"/>
            			<SkewTransform/>
            			<RotateTransform/>
            			<TranslateTransform/>
            		</TransformGroup>
            	</local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Odometer" Canvas.Left="266.692" Canvas.Top="428.5" Text="{Binding Odometer}" Width="400" FontSize="96" Style="{StaticResource TextBlockStyle}" FontFamily="DG2_LCD" Foreground="Black"/>
		</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>