<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.BMW_M3_88"
	 >

    <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="BMW_M3_88_Clock" Height="101" Canvas.Left="413" Source="game:/media/cars/BMW_M3_88/UI/Textures/BMW_M3_88_Clock.png" Stretch="Fill" Canvas.Top="317" Width="443"/>
        <local:FastTextBlock x:Name="Text_Clock" Text="{Binding Time}" FontSize="48" Style="{StaticResource TextBlockStyle}" Foreground="#FFB1573B" FontFamily="DG5_QuartzMS" Width="148.966" RenderTransformOrigin="0.5,0.482" TextAlignment="Right" Height="54.461" Canvas.Left="452.512" Canvas.Top="340.807"><local:FastTextBlock.RenderTransform><TransformGroup><ScaleTransform ScaleY="1.95" ScaleX="1.6"/><SkewTransform AngleX="-4"/><RotateTransform/><TranslateTransform Y="-0.578"/></TransformGroup>
        	</local:FastTextBlock.RenderTransform></local:FastTextBlock>

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