<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="DigitalGauge.VOL_850_97"
	DataContext="{Binding RelativeSource={x:Static RelativeSource.Self}}">
	
    <Page.Resources>
        <Style x:Key="TextBlockStyle" TargetType="{x:Type TextBlock}">
            <Setter Property="FontFamily" Value="DG2_LCD"/>
            <Setter Property="Foreground" Value="Black"/>
            <Setter Property="TextWrapping" Value="NoWrap"/>
            <Setter Property="TextAlignment" Value="Right"/>
        </Style>
		
		<local:DigitalGaugeConfig x:Key="Config" HasClock="True" HasExternalTemp="True" UseDegreesF="True" UseMPH="False" UsePsi="False" MaxBoost="0" MinBoost="0" MaxSpeed="00" 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="00.0" MaxGear="0" MaxRpm="0000.0"></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>

	<Canvas x:Name="LayoutRoot" Background="#FF2D2D2D" Width="1280" Height="720">
        <Image x:Name="BGmerged" Height="237" Canvas.Left="0" Source="game:/media/cars/VOL_850_97/UI/Textures/VOL_850_97_BGmerged.png" Stretch="Fill" Canvas.Top="251" Width="1280"/>
		<Canvas x:Name="Text" Height="720" Width="1280">
			<TextBlock x:Name="Text_Clock" Canvas.Left="282" Canvas.Top="310" Text="{Binding Time}" FontSize="112" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Width="278" Height="117.713333333333"/>
			<TextBlock x:Name="Text_External_Temp" Canvas.Left="640" Canvas.Top="310" Text="{Binding ExternalTemp}" FontSize="112" Style="{StaticResource TextBlockStyle}" RenderTransformOrigin="0.5,0.5" Width="268" Height="117.713"/>
		</Canvas>
		
        <Rectangle x:Name="Start_Up_Mask" Fill="Black" Height="668" Stroke="Black" Width="1185.998" Canvas.Left="59.752" Canvas.Top="54.812" Opacity="0"/>
	</Canvas>
</Page>