<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.TOY_4RunnerTRDPro_19">
	
    <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="120" HasAbsLight="False" HasStmLight="False" HasTcsLight="False" HasGAccelX="False" HasGAccelY="False" HasShiftLights="False" HasTextTach="True" HasLapPlaceInfo="True" HasTextBoost="False" HasTextGAccel="False" HasTextOdometer="True" HasTextFuel="False" MaxFuel="20" MaxGear="8" MaxRpm="8000"></local:DigitalGaugeConfig>
		<Storyboard x:Key="Start Up Animation">
			<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Star_Up_Animation">
				<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
				<DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Mask">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.967" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Page.Resources>
	<Page.Triggers>
	</Page.Triggers>
	
		<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="Top_Background" Fill="Black" Height="720" Width="1280" Canvas.Left="0" Canvas.Top="0"/>
		<Image x:Name="MainBackground" Height="491" Canvas.Left="6" Source="game:/media/cars/TOY_4RunnerTRDPro_19/UI/Textures/TOY_4RunnerTRDPro_19_Main.png" Stretch="Fill" Canvas.Top="88" Width="492"/>
		<Image x:Name="GearImage" Height="239" Canvas.Left="552" Source="game:/media/cars/TOY_4RunnerTRDPro_19/UI/Textures/TOY_4RunnerTRDPro_19_Gear.png" Stretch="Fill" Canvas.Top="9" Width="271"/>
        <Image x:Name="Console" Height="451" Canvas.Left="504" Source="game:/media/cars/TOY_4RunnerTRDPro_19/UI/Textures/TOY_4RunnerTRDPro_19_CenterConsole.png" Stretch="Fill" Canvas.Top="255" Width="763"/>
        <Image x:Name="ClockImage" Height="114" Canvas.Left="917" Source="game:/media/cars/TOY_4RunnerTRDPro_19/UI/Textures/TOY_4RunnerTRDPro_19_Clock.png" Stretch="Fill" Canvas.Top="91" Width="330"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
            <local:FastTextBlock x:Name="Text_Speed" Canvas.Left="70.91" Canvas.Top="196.66" Text="{Binding Speed}" Width="252.546" FontSize="106.667" Style="{StaticResource TextBlockStyle}" Foreground="White" FontFamily="DG1_Arial" Height="125.064" RenderTransformOrigin="0.5,0.5"/>
            <local:FastTextBlock x:Name="Text_Odometer" Canvas.Left="86.032" Canvas.Top="491.097" Text="{Binding Odometer}" FontSize="66.667" Style="{StaticResource TextBlockStyle}" Width="342.302" Foreground="White" Height="83.627" RenderTransformOrigin="0.5,0.5" FontFamily="DG1_Arial">
            	<local:FastTextBlock.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform ScaleX="0.75"/>
            			<SkewTransform/>
            			<RotateTransform/>
            			<TranslateTransform/>
            		</TransformGroup>
            	</local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Temp" Canvas.Left="79.032" Canvas.Top="413.097" Text="{Binding ExternalTemp}" FontSize="66.667" Style="{StaticResource TextBlockStyle}" Width="342.302" Foreground="White" Height="83.627" RenderTransformOrigin="0.5,0.5" FontFamily="DG1_Arial">
            	<local:FastTextBlock.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform ScaleX="0.75"/>
            			<SkewTransform/>
            			<RotateTransform/>
            			<TranslateTransform/>
            		</TransformGroup>
            	</local:FastTextBlock.RenderTransform>
            </local:FastTextBlock>
            <local:FastTextBlock x:Name="Text_Clock" Canvas.Left="903.365" Canvas.Top="80.097" Text="{Binding Time}" FontSize="93.333" Style="{StaticResource TextBlockStyle}" Width="287.636" Foreground="White" Height="115.627" RenderTransformOrigin="0.5,0.5" FontFamily="DG5_QuartzMS"/>
            <local:FastTextBlock x:Name="Text_Gear" Canvas.Left="552.365" Canvas.Top="19" Text="{Binding Gear}" FontSize="160" Style="{StaticResource TextBlockStyle}" Width="271.636" Foreground="White" Height="226.507" RenderTransformOrigin="0.5,0.5" FontFamily="DG5_QuartzMS" TextAlignment="Center"/>
		</Canvas>
		<Canvas x:Name="Star_Up_Animation" Height="720" Width="1280" Visibility="Hidden">
			<Rectangle x:Name="Mask" Fill="Black" Height="704" Canvas.Left="0" Canvas.Top="0" Width="1243"/>
		</Canvas>
		
						        <!-- Storyboard binding controllers -->


	</Canvas>
</Page>