<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"
    xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
    mc:Ignorable="d"
	x:Class="DigitalGauge.NIS_12_SkylineGTR_90"
	 >

    <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="False" UseDegreesF="False" UseMPH="False" UsePsi="False" MaxBoost="40" MinBoost="1" MaxSpeed="160" HasAbsLight="False" HasStmLight="False" HasTcsLight="False" HasGAccelX="False" HasGAccelY="False"  HasShiftLights="False" HasTextTach="False" HasLapPlaceInfo="False" HasTextBoost="False" HasTextGAccel="False" HasTextOdometer="False" HasTextFuel="False" MaxFuel="20" MinGear="-1" MaxGear="1" MaxRpm="8000"/>
        <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_Black" Fill="Black" Height="720.5" Stroke="Black" Width="1281.049"/>
        <Image x:Name="NIS_12_SkylineGTR_90_BG" Height="661" Canvas.Left="252" Source="game:/media/cars/NIS_12_SkylineGTR_90/UI/Textures/NIS_12_SkylineGTR_90_BG.png" Stretch="Fill" Canvas.Top="29" Width="765"/>
        <local:FastTextBlock x:Name="Text_Clock" Text="{Binding Time}" FontSize="58.667" Style="{StaticResource TextBlockStyle}" Foreground="#FF02DDD1" FontFamily="DG2_LCD" Width="196.237" RenderTransformOrigin="0.5,0.482" TextAlignment="Center" Height="64.374" Canvas.Left="565.11" Canvas.Top="552.222"><local:FastTextBlock.RenderTransform><TransformGroup><ScaleTransform ScaleX="1.1"/><SkewTransform/><RotateTransform/><TranslateTransform/></TransformGroup></local:FastTextBlock.RenderTransform></local:FastTextBlock>

        <!-- Storyboard binding controllers -->
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="720" Stroke="Black" Width="1280" Canvas.Top="0.5" Opacity="0" Canvas.Left="1.049"/>
    </Canvas>
</Page>