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

    <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="True" HasLapPlaceInfo="False" HasTextBoost="False" HasTextGAccel="False" HasTextOdometer="True" 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="MIT_LancerEvoVITME_01_ODO" Height="246" Source="game:/media/cars/MIT_LancerEvoVITME_01/UI/Textures/MIT_LancerEvoVITME_01_ODO.png" Stretch="Fill" Width="639" Canvas.Left="338.333" Canvas.Top="244"/>
        <Image x:Name="MIT_LancerEvoVITME_01_Stereo" Height="186" Source="game:/media/cars/MIT_LancerEvoVITME_01/UI/Textures/MIT_LancerEvoVITME_01_Stereo.png" Stretch="Fill" Width="637" Canvas.Left="338.333" Canvas.Top="510.667"/>
        <local:FastTextBlock x:Name="Text_Odometer" Text="{Binding Odometer}" FontSize="86.667" Style="{StaticResource TextBlockStyle}" Foreground="Black" FontFamily="DG2_LCD" Width="407.555" RenderTransformOrigin="0.5,0.5" TextAlignment="Right" Height="102.662" Canvas.Left="447.611" Canvas.Top="370.001"><local:FastTextBlock.RenderTransform><TransformGroup><ScaleTransform ScaleY="1.5" ScaleX="1.5"/><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.Left="-8" Canvas.Top="4" Opacity="0"/>
        <local:FastTextBlock x:Name="Text_ClockRadio" Text="10:50" FontSize="86.667" Style="{StaticResource TextBlockStyle}" Foreground="Black" FontFamily="DG2_LCD" Width="407.555" RenderTransformOrigin="0.5,0.5" TextAlignment="Right" Height="102.662" Canvas.Left="453.611" Canvas.Top="564.001"><local:FastTextBlock.RenderTransform><TransformGroup><ScaleTransform ScaleY="1.5" ScaleX="1.5"/><SkewTransform/><RotateTransform/><TranslateTransform/></TransformGroup>
        	</local:FastTextBlock.RenderTransform></local:FastTextBlock>
        <local:FastTextBlock x:Name="Text_Clock" Text="10:50" FontSize="86.667" Style="{StaticResource TextBlockStyle}" Foreground="#FFB16F41" FontFamily="DG2_LCD" Width="407.555" RenderTransformOrigin="0.5,0.5" TextAlignment="Right" Height="102.662" Canvas.Left="451.611" Canvas.Top="78.001"><local:FastTextBlock.RenderTransform><TransformGroup><ScaleTransform ScaleY="1.5" ScaleX="1.5"/><SkewTransform/><RotateTransform/><TranslateTransform/></TransformGroup>
        	</local:FastTextBlock.RenderTransform></local:FastTextBlock>
    </Canvas>
</Page>