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

    <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="89.4" HasAbsLight="False" HasStmLight="False" HasTcsLight="False" HasGAccelX="False" HasGAccelY="False" HasShiftLights="False" HasTextTach="False" HasLapPlaceInfo="False" HasTextBoost="False" HasTextGAccel="True" HasTextOdometer="True" HasTextFuel="False" MaxFuel="20.0" MinGear="-1" MaxGear="1" MaxRpm="7200"></local:DigitalGaugeConfig>

        <Storyboard x:Key="Speed Analog">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="Textures_LUC_Air_23_TachNeedle_png">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="102.627"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="Text_Speed">
                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="-9"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <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>
        <Storyboard x:Key="Gear Analog">
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LUC_Air_23_GearD_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LUC_Air_23_GearN_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Textures_LUC_Air_23_GearR_png">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
        </Storyboard>

    </Page.Resources>
    <Page.Triggers>
        <EventTrigger RoutedEvent="FrameworkElement.Loaded">
            <BeginStoryboard x:Name="Gear_Analog_BeginStoryboard" Storyboard="{StaticResource Gear Analog}"/>
        </EventTrigger>
    </Page.Triggers>
    <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" Width="1280" Canvas.Left="0" Canvas.Top="0"/>
        <Image x:Name="Textures_LUC_Air_23_BG1_png" Height="430" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_BG.png" Stretch="Fill" Width="1280" Canvas.Left="235" RenderTransformOrigin="0.5,0.5" Canvas.Top="-70">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LUC_Air_23_BG2_png" Height="430" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_BG.png" Stretch="Fill" Width="1280" Canvas.Left="-236" RenderTransformOrigin="0.5,0.5" Canvas.Top="-70">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LUC_Air_23_BG3_png" Height="430" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_BG.png" Stretch="Fill" Width="1280" Canvas.Top="196" Canvas.Left="-236" RenderTransformOrigin="0.5,0.5">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LUC_Air_23_BG4_png" Height="430" Source="Textures/LUC_Air_23_BG.png" Stretch="Fill" Width="1280" Canvas.Left="255" RenderTransformOrigin="0.5,0.5" Canvas.Top="-70">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LUC_Air_23_Driver_png" Height="430" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_Driver.png" Stretch="Fill" Width="1280" Canvas.Left="235" RenderTransformOrigin="0.5,0.5" Canvas.Top="-70">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LUC_Air_23_DriverLeft_png" Height="430" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_DriverLeft.png" Stretch="Fill" Width="780" Canvas.Left="-136" RenderTransformOrigin="0.5,0.5" Canvas.Top="-70">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LUC_Air_23_DriverRight_png" Height="430" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_DriverRight.png" Stretch="Fill" Width="1280" Canvas.Top="196" Canvas.Left="-236" RenderTransformOrigin="0.5,0.5">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LUC_Air_23_Center_png" Height="720" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_Center.png" Stretch="Fill" Width="550" RenderTransformOrigin="0.5,0.5" Canvas.Top="184" Canvas.Left="775">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform Angle="-90"/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LUC_Air_23_GearD_png" Height="18" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_GearD.png" Stretch="Fill" Width="15.996" RenderTransformOrigin="0.5,0.5" Canvas.Left="998.831" Canvas.Top="240.289">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LUC_Air_23_GearN_png" Height="18" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_GearN.png" Stretch="Fill" Width="15.994" RenderTransformOrigin="0.5,0.5" Canvas.Left="984.501" Canvas.Top="240.289">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Image x:Name="Textures_LUC_Air_23_GearR_png" Height="18" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_GearR.png" Stretch="Fill" Width="16" RenderTransformOrigin="0.5,0.5" Canvas.Left="971.722" Canvas.Top="240.289">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <local:FastTextBlock x:Name="Text_Speed" Text="{Binding Speed}" Height="78.75"   Width="170.416" FontFamily="DG1_Arial" FontSize="72" Foreground="White" TextAlignment="Center" RenderTransformOrigin="0.5,0.5" Opacity="0.8" Canvas.Top="101.55" Canvas.Left="789.717">
            <local:FastTextBlock.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.54" ScaleX="0.75"/>
                    <SkewTransform AngleX="-11"/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </local:FastTextBlock.RenderTransform>
        </local:FastTextBlock>
        <local:FastTextBlock x:Name="Text_Odometer" Text="{Binding Odometer}" Height="21.25" Canvas.Left="712.166"   Canvas.Top="235.916" Width="96.667" FontFamily="DG1_Arial" TextAlignment="Right" Foreground="White" FontSize="20" RenderTransformOrigin="0.5,0.5">
            <local:FastTextBlock.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </local:FastTextBlock.RenderTransform>
        </local:FastTextBlock>
        <local:FastTextBlock x:Name="Text_Trip_Odo" Text="{Binding TripMeter}" Height="21.25" Canvas.Left="605.583"   Canvas.Top="148.75" Width="96.667" FontFamily="DG1_Arial" TextAlignment="Right" Foreground="White" FontSize="20" RenderTransformOrigin="0.5,0.5">
            <local:FastTextBlock.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </local:FastTextBlock.RenderTransform>
        </local:FastTextBlock>
        <local:FastTextBlock x:Name="Text_Clock" Text="{Binding Time}" Height="21.25" Canvas.Left="175"   Canvas.Top="318.8" Width="96.667" FontFamily="DG1_Arial" Foreground="White" FontSize="20" RenderTransformOrigin="0.5,0.5">
            <local:FastTextBlock.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </local:FastTextBlock.RenderTransform>
        </local:FastTextBlock>
        <local:FastTextBlock x:Name="Text_External_Temp" Text="{Binding ExternalTemp}" Height="21.25" Canvas.Left="218.331"   Canvas.Top="318.8" Width="96.667" FontFamily="DG1_Arial" Foreground="White" FontSize="20" TextAlignment="Right" RenderTransformOrigin="0.5,0.5">
            <local:FastTextBlock.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </local:FastTextBlock.RenderTransform>
        </local:FastTextBlock>
        <Image x:Name="Textures_LUC_Air_23_TachNeedle_png" Height="179.996" Source="game:/media/cars/LUC_Air_23/UI/Textures/LUC_Air_23_TachNeedle.png" Stretch="Fill" Width="8" RenderTransformOrigin="0.52,1.043" Canvas.Top="-28.242" Canvas.Left="870.636">
            <Image.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleY="0.6" ScaleX="0.6"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="720" Stroke="Black" Width="1280" Opacity="0" />
        <local:StoryboardController SeekPct="{Binding AnalogSpeed}" Target="{StaticResource Speed Analog}"/>
        <local:StoryboardController SeekPct="{Binding AnalogGear}" Target="{StaticResource Gear Analog}"/>
    </Canvas>
</Page>