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

    <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="False" 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>

    <local:EventFire.FzTriggers>
        <local:EventFireTrigger Event="StartUp" Storyboard="{StaticResource Start Up Animation}"/>
    </local:EventFire.FzTriggers>


    <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="#FF3B3B3B" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0"/>
        <Rectangle x:Name="Background_Center" Fill="Black" Height="370" Width="490" Canvas.Left="394.5" Canvas.Top="174.5"/>
        <Rectangle x:Name="Line1" Fill="#FFFF1C00" Height="4" Canvas.Left="425" Canvas.Top="279" Width="429"/>
        <Rectangle x:Name="Line2" Fill="#FFFF1C00" Height="4" Canvas.Left="425" Canvas.Top="377" Width="429"/>
        <Canvas x:Name="Text" Height="720" Width="1280">
            <local:FastTextBlock x:Name="Text_External_Temp" Canvas.Left="659" Canvas.Top="195" Text="26.3" FontSize="52" Style="{StaticResource TextBlockStyle}" Width="131" RenderTransformOrigin="0.5,0.6" Foreground="#FFFF1C00" FontFamily="DG4_PF_Ronda_Seven" Height="57">
                <local:FastTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleY="1.2"/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform Y="1.027"/>
                    </TransformGroup>
                </local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Clock" Canvas.Left="403.164" Canvas.Top="199.5" Text="{Binding Time}" FontSize="42.667" Style="{StaticResource TextBlockStyle}" Width="200" RenderTransformOrigin="0.5,0.5" FontFamily="DG4_PF_Ronda_Seven" Foreground="#FFFF1C00">
                <local:FastTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleY="1.2"/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Trip_Odo" Canvas.Left="505" Canvas.Top="429.5" Text="{Binding TripMeter}" FontSize="42.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG4_PF_Ronda_Seven" Width="200" Foreground="#FFFF1C00" RenderTransformOrigin="0.5,0.5">
                <local:FastTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleY="1.2"/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Odometer" Canvas.Left="411" Canvas.Top="371.5" Text="{Binding Odometer}" Width="300" FontSize="42.667" Style="{StaticResource TextBlockStyle}" FontFamily="DG4_PF_Ronda_Seven" RenderTransformOrigin="0.5,0.5" Foreground="#FFFF1C00">
                <local:FastTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="0.95" ScaleY="1.2"/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
        </Canvas>
        <Image x:Name="Text_km_baked" Height="50" Canvas.Left="711" Source="game:/media/cars/FOR_FocusRS_09/UI/Textures/FOR_FocusRS_09_txt_km.png" Stretch="Fill" Canvas.Top="447" Width="60"/>
        <Image x:Name="Text_temperature_baked" Height="50" Canvas.Left="796" Source="game:/media/cars/FOR_FocusRS_09/UI/Textures/FOR_FocusRS_09_txt_temp.png" Stretch="Fill" Canvas.Top="217" Width="50"/>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="668" Stroke="Black" Width="1186" Canvas.Left="58" Canvas.Top="53" Opacity="0"/>
    </Canvas>
</Page>