aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Views/MainView.xaml
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Views/MainView.xaml')
-rw-r--r--Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Views/MainView.xaml31
1 files changed, 25 insertions, 6 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Views/MainView.xaml b/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Views/MainView.xaml
index b48001a02..4e3c7bbc9 100644
--- a/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Views/MainView.xaml
+++ b/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Views/MainView.xaml
@@ -15,6 +15,9 @@
<converters:BooleanInverseConverter x:Key="BooleanInverseConverter"></converters:BooleanInverseConverter>
</UserControl.Resources>
<Grid>
+ <Grid.Background>
+ <ImageBrush ImageSource="../Images/circuit.jpg" Opacity="0.1" Stretch="UniformToFill"></ImageBrush>
+ </Grid.Background>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="100"/>
@@ -22,16 +25,20 @@
</Grid.RowDefinitions>
<Grid>
+ <Grid.Effect>
+ <DropShadowEffect BlurRadius="10"/>
+ </Grid.Effect>
+ <Grid.Background>
+ <SolidColorBrush Color="#151515" Opacity="0.8" />
+ </Grid.Background>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="20 15">
- <Image Source="/Images/machine-trans.png" RenderOptions.BitmapScalingMode="Fant"></Image>
- <TextBlock Text="Tango Machine Emulator" VerticalAlignment="Center" Margin="20 0 0 0" FontSize="36" Foreground="Yellow">
+ <Image Source="/Images/embedded-device.png" RenderOptions.BitmapScalingMode="Fant"></Image>
+ <TextBlock Text="Tango Embedded Emulator" VerticalAlignment="Center" Margin="20 0 0 0" FontSize="36" Foreground="Red">
<TextBlock.Effect>
<DropShadowEffect/>
</TextBlock.Effect>
</TextBlock>
</StackPanel>
-
- <Rectangle VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="20 0 50 0" Stroke="DimGray" StrokeThickness="1" StrokeDashArray="5"></Rectangle>
</Grid>
<Grid Grid.Row="1" Margin="20">
@@ -41,7 +48,13 @@
<RowDefinition Height="70"/>
</Grid.RowDefinitions>
- <Grid x:Name="gridContent" Background="#151515" Margin="5">
+ <Grid>
+ <TextBox x:Name="txtLog" FontFamily="monospaced" TextChanged="txtLog_TextChanged" Text="{Binding Log}" Background="Transparent" Foreground="Red" FontSize="11" Padding="5" Style="{x:Null}" BorderThickness="0" IsReadOnly="True" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap">
+
+ </TextBox>
+ </Grid>
+
+ <Grid x:Name="gridContent" Background="#151515" Margin="5" Visibility="Hidden">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="300" />
@@ -135,7 +148,13 @@
</Grid>
</Grid>
</Grid>
- <Grid x:Name="gridActions" Grid.Row="1" Background="#151515" Margin="5">
+ <Grid x:Name="gridActions" Grid.Row="1" Margin="5">
+ <Grid.Effect>
+ <DropShadowEffect BlurRadius="10" />
+ </Grid.Effect>
+ <Grid.Background>
+ <SolidColorBrush Color="#151515" Opacity="0.8" />
+ </Grid.Background>
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal" Margin="5">
<ComboBox IsEnabled="{Binding Emulator.IsStarted,Converter={StaticResource BooleanInverseConverter}}" MinWidth="140" Margin="5" BorderThickness="0" ItemsSource="{Binding Ports}" SelectedItem="{Binding SelectedPort}"></ComboBox>
<Button Margin="5" MinWidth="100" Style="{StaticResource AccentedSquareButtonStyle}" mahapps:ButtonHelper.PreserveTextCase="True" BorderThickness="0" Command="{Binding StopCommand}">