-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
53 lines (48 loc) · 2.96 KB
/
MainWindow.xaml
File metadata and controls
53 lines (48 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<Window x:Class="StockfishCompiler.MainWindow"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:views="clr-namespace:StockfishCompiler.Views"
mc:Ignorable="d"
Title="Stockfish Compiler" Height="750" Width="950" WindowStartupLocation="CenterScreen" Icon="App.ico">
<Grid Background="{StaticResource SecondaryBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Border Grid.Row="0" Background="{StaticResource PrimaryBrush}" Padding="20,15" BorderBrush="{StaticResource BorderBrush}" BorderThickness="0,0,0,1">
<TextBlock Text="Stockfish Compiler" FontSize="24" FontWeight="Bold" Foreground="{StaticResource TextPrimaryBrush}"/>
</Border>
<TabControl Grid.Row="1" Style="{StaticResource DarkTabControl}">
<TabItem Header="Compiler Setup" Style="{StaticResource DarkTabItem}">
<views:CompilerSelectionView/>
</TabItem>
<TabItem Header="Build Configuration" Style="{StaticResource DarkTabItem}">
<views:BuildConfigurationView/>
</TabItem>
<TabItem Header="Compilation" Style="{StaticResource DarkTabItem}">
<views:BuildProgressView/>
</TabItem>
</TabControl>
<StatusBar Grid.Row="2" Background="{StaticResource SecondaryBrush}">
<StatusBarItem>
<TextBlock Text="{Binding StatusMessage}"/>
</StatusBarItem>
<StatusBarItem HorizontalAlignment="Right">
<TextBlock Text="{Binding SystemInfo}"/>
</StatusBarItem>
</StatusBar>
<Border Grid.Row="3" Background="{StaticResource PrimaryBrush}" Padding="10,5" BorderBrush="{StaticResource BorderBrush}" BorderThickness="0,1,0,0">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<TextBlock Text="Build Output:" Foreground="{StaticResource TextSecondaryBrush}" VerticalAlignment="Center" Margin="0,0,6,0"/>
<Button Content="Copy Output" Click="CopyBuildOutput_Click" Style="{StaticResource DarkButton}" Padding="10,4" Margin="0,0,10,0"/>
<Rectangle Width="1" Fill="{StaticResource BorderBrush}" Height="18" VerticalAlignment="Center" Margin="0,0,10,0"/>
<TextBlock Text="Logs:" Foreground="{StaticResource TextSecondaryBrush}" VerticalAlignment="Center" Margin="0,0,6,0"/>
<Button Content="Open Log Folder" Click="OpenLogsFolder_Click" Style="{StaticResource DarkButton}" Padding="10,4"/>
</StackPanel>
</Border>
</Grid>
</Window>