205 lines
26 KiB
XML
205 lines
26 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
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:vm="using:Progrart.ViewModels"
|
|
xmlns:dialogHost="clr-namespace:DialogHostAvalonia;assembly=DialogHost.Avalonia"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
xmlns:AvaloniaEdit="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
|
|
xmlns:ProgrartTabControls="using:Progrart.Controls.TabSystem" FontFamily="{StaticResource SarasaMonoSlabCLFont}"
|
|
FontWeight="Regular"
|
|
x:Class="Progrart.Views.MainView">
|
|
|
|
<dialogHost:DialogHost Name="MainDialogHost">
|
|
<dialogHost:DialogHost.DialogContent>
|
|
<!-- put your dialog content here-->
|
|
<Grid>
|
|
<TextBlock Text="AS"/>
|
|
</Grid>
|
|
</dialogHost:DialogHost.DialogContent>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Image IsHitTestVisible="False" Grid.RowSpan="2" Source="/Assets/Background.png" Stretch="UniformToFill" Effect="blur(150)" Opacity="0.3"/>
|
|
<Grid.Styles>
|
|
<Style Selector="Button">
|
|
<Setter Property="Background" Value="#01000000"/>
|
|
<Setter Property="Padding" Value="4"/>
|
|
</Style>
|
|
<Style Selector="ToggleButton">
|
|
<Setter Property="Background" Value="#01000000"/>
|
|
<Setter Property="Padding" Value="4"/>
|
|
</Style>
|
|
</Grid.Styles>
|
|
<Grid>
|
|
<Border HorizontalAlignment="Center" CornerRadius="14" Margin="8,8,8,0" BorderThickness="1,1,1,0" BorderBrush="#8888" Background="#2888">
|
|
<Grid>
|
|
<Border Effect="blur(25)">
|
|
<TextBlock Margin="8,2" HorizontalAlignment="Center">Progart</TextBlock>
|
|
</Border>
|
|
<Button Padding="16,1" BorderThickness="1,1,1,0" Margin="-1,-1,-1,0" CornerRadius="14">
|
|
<Button.Flyout>
|
|
<MenuFlyout>
|
|
<MenuItem Header="_File">
|
|
<MenuItem Header="_New">
|
|
<MenuItem Header="_Project"/>
|
|
<MenuItem Header="_File"/>
|
|
</MenuItem>
|
|
<MenuItem Header="_Open">
|
|
<MenuItem Header="_Project" Name="OpenProjectMenuItem"/>
|
|
</MenuItem>
|
|
<MenuItem Header="_Save"/>
|
|
<MenuItem Header="Save _As"/>
|
|
</MenuItem>
|
|
<MenuItem Header="_Tools">
|
|
<MenuItem Header="_Settings"/>
|
|
</MenuItem>
|
|
<MenuItem Header="_Help">
|
|
<MenuItem Header="_About" Name="AboutItem"/>
|
|
</MenuItem>
|
|
<MenuItem Header="_Exit"/>
|
|
</MenuFlyout>
|
|
</Button.Flyout>
|
|
<TextBlock Margin="8,2">Progart</TextBlock>
|
|
</Button>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
<Grid Grid.Row="1" Name="MainControlArea">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Border Name="LeftPanel" IsVisible="False" CornerRadius="12" Background="#2888" Margin="16,8,8,16">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Border CornerRadius="12" Margin="8" BorderBrush="#8888" BorderThickness="1,1,1,0" Background="#4888">
|
|
<Grid Margin="8,4">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<Button CornerRadius="8" Name="FileExplorerCloseButton">
|
|
<Viewbox Height="8">
|
|
<PathIcon Data="F1 M 4.08 6 L 4.16 5.96 C 4.24 5.853333 4.34 5.799999 4.46 5.799999 C 4.58 5.799999 4.693333 5.826666 4.8 5.879999 L 10 11.08 L 15.16 5.96 C 15.239999 5.853333 15.339999 5.799999 15.46 5.799999 C 15.579999 5.799999 15.693332 5.826666 15.799999 5.879999 L 15.839999 5.96 C 15.946666 6.040001 16 6.14 16 6.259999 C 16 6.38 15.973333 6.493334 15.92 6.599999 L 10.719999 11.799999 L 15.839999 16.959999 C 15.946666 17.040001 16 17.139999 16 17.259998 C 16 17.379999 15.973333 17.493332 15.92 17.599998 L 15.839999 17.639999 C 15.759998 17.746666 15.659999 17.799999 15.54 17.799999 C 15.419999 17.799999 15.306665 17.773333 15.2 17.719999 L 10 12.52 L 4.84 17.639999 C 4.759999 17.746666 4.66 17.799999 4.54 17.799999 C 4.42 17.799999 4.306666 17.773333 4.2 17.719999 L 4.16 17.639999 C 4.053333 17.559999 4 17.459999 4 17.34 C 4 17.219999 4.026667 17.106667 4.08 17 L 9.28 11.799999 L 4.16 6.639999 C 4.053333 6.56 4 6.46 4 6.339999 C 4 6.22 4.026667 6.106668 4.08 6 L 4.16 5.96 Z " VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</Viewbox>
|
|
</Button>
|
|
<TextBlock Grid.Column="1">File Explorer</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
<ScrollViewer Grid.Row="1" HorizontalScrollBarVisibility="Auto">
|
|
<StackPanel Name="FileContainer" Margin="0,0,0,8"></StackPanel>
|
|
</ScrollViewer>
|
|
</Grid>
|
|
</Border>
|
|
<Grid Grid.Column="1" IsHitTestVisible="False" Name="VerticalSplitterVisual" IsVisible="False">
|
|
<Border HorizontalAlignment="Center" VerticalAlignment="Stretch" Width="2" MaxHeight="150" Background="#8888"/>
|
|
</Grid>
|
|
<GridSplitter Width="13" Margin="-4" Grid.Column="1" IsVisible="False" Background="#01000000" Name="VerticalSplitter"></GridSplitter>
|
|
<Grid Grid.Column="2">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid>
|
|
<Border Margin="16,8,16,0" Background="#2888" BorderBrush="#4888" BorderThickness="1" CornerRadius="18">
|
|
<ScrollViewer Margin="16,0" HorizontalScrollBarVisibility="Auto">
|
|
<StackPanel Orientation="Horizontal" Margin="2">
|
|
<Button Name="HomePageButton">
|
|
<Viewbox Width="22" Height="22">
|
|
<Grid>
|
|
<PathIcon Margin="5,0,0,5" Data="F1 M 6 4.799999 C 5.173333 4.799999 4.466666 5.093334 3.88 5.68 C 3.293333 6.266667 3 6.973333 3 7.799999 L 3 15.799999 C 3 16.626667 3.293333 17.333332 3.88 17.92 C 4.466666 18.506666 5.173333 18.799999 6 18.799999 L 14 18.799999 C 14.826666 18.799999 15.533332 18.506666 16.119999 17.92 C 16.706665 17.333332 17 16.626667 17 15.799999 L 17 7.799999 C 17 6.973333 16.706665 6.266667 16.119999 5.68 C 15.533332 5.093334 14.826666 4.799999 14 4.799999 Z M 4 7.799999 C 4 7.24 4.193333 6.766666 4.58 6.379999 C 4.966666 5.993333 5.44 5.799999 6 5.799999 L 14 5.799999 C 14.559999 5.799999 15.033333 5.993333 15.42 6.379999 C 15.806666 6.766666 16 7.24 16 7.799999 Z M 4 8.799999 L 16 8.799999 L 16 15.799999 C 16 16.360001 15.806666 16.833332 15.42 17.219999 C 15.033333 17.606667 14.559999 17.799999 14 17.799999 L 6 17.799999 C 5.44 17.799999 4.966666 17.606667 4.58 17.219999 C 4.193333 16.833332 4 16.360001 4 15.799999 Z " VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
<PathIcon Margin="2,14,14,2" Foreground="#28E" Data="F1 M 11 4.199999 C 10.706666 3.933334 10.373333 3.799999 10 3.799999 C 9.626666 3.799999 9.293333 3.933334 9 4.199999 L 3.48 9.12 C 3.16 9.413334 3 9.786667 3 10.24 L 3 17.279999 C 3 17.706665 3.146667 18.066666 3.44 18.359999 C 3.733333 18.653332 4.08 18.799999 4.48 18.799999 L 6.52 18.799999 C 6.92 18.799999 7.266666 18.653332 7.56 18.359999 C 7.853333 18.066666 8 17.706665 8 17.279999 L 8 13.28 C 8 13.146667 8.046666 13.033333 8.139999 12.94 C 8.233333 12.846666 8.346666 12.799999 8.48 12.799999 L 11.52 12.799999 C 11.653333 12.799999 11.766666 12.846666 11.86 12.94 C 11.953333 13.033333 12 13.146667 12 13.28 L 12 17.279999 C 12 17.706665 12.146666 18.066666 12.44 18.359999 C 12.733333 18.653332 13.093332 18.799999 13.52 18.799999 L 15.52 18.799999 C 15.919998 18.799999 16.266665 18.653332 16.559999 18.359999 C 16.853333 18.066666 17 17.706665 17 17.279999 L 17 10.24 C 17 9.786667 16.84 9.413334 16.52 9.12 Z " VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</Grid>
|
|
</Viewbox>
|
|
</Button>
|
|
<Border Margin="4,6" Width="1" Background="#8888"></Border>
|
|
<Button Name="SaveButton">
|
|
<PathIcon Foreground="#2288EE" Data="F1 M 3 6.799999 C 3 6.240001 3.193333 5.766666 3.58 5.379999 C 3.966666 4.993332 4.44 4.799999 5 4.799999 L 13.36 4.799999 C 13.92 4.799999 14.4 5 14.799999 5.4 L 16.4 7 C 16.799999 7.4 17 7.879999 17 8.44 L 17 16.799999 C 17 17.360001 16.806667 17.833332 16.42 18.219999 C 16.033333 18.606667 15.559999 18.799999 15 18.799999 L 5 18.799999 C 4.44 18.799999 3.966666 18.606667 3.58 18.219999 C 3.193333 17.833332 3 17.360001 3 16.799999 Z M 5 5.799999 C 4.733333 5.799999 4.5 5.9 4.3 6.099999 C 4.1 6.3 4 6.533334 4 6.799999 L 4 16.799999 C 4 17.066666 4.1 17.299999 4.3 17.5 C 4.5 17.699999 4.733333 17.799999 5 17.799999 L 5 13.28 C 5 12.88 5.146667 12.533333 5.44 12.24 C 5.733333 11.946667 6.093333 11.799999 6.52 11.799999 L 13.52 11.799999 C 13.92 11.799999 14.266666 11.946667 14.559999 12.24 C 14.853333 12.533333 14.999999 12.893333 15 13.32 L 15 17.799999 C 15.266665 17.799999 15.499999 17.699999 15.7 17.5 C 15.9 17.299999 16 17.066666 16 16.799999 L 16 8.44 C 16 8.146667 15.906666 7.906667 15.719999 7.719999 L 14.08 6.08 C 13.893332 5.893333 13.653332 5.799999 13.36 5.799999 L 13 5.799999 L 13 8.28 C 13 8.706667 12.853333 9.066667 12.559999 9.36 C 12.266665 9.653334 11.906666 9.799999 11.48 9.799999 L 7.52 9.799999 C 7.093333 9.799999 6.733333 9.653334 6.44 9.36 C 6.146667 9.066667 6 8.706667 6 8.28 L 6 5.799999 Z M 7 5.799999 L 7 8.28 C 7 8.440001 7.046667 8.566667 7.14 8.66 C 7.233333 8.753333 7.346666 8.799999 7.48 8.799999 L 11.52 8.799999 C 11.653333 8.799999 11.766666 8.753333 11.86 8.66 C 11.953333 8.566667 12 8.453333 12 8.32 L 12 5.799999 Z M 14 17.799999 L 14 13.28 C 14 13.146667 13.953333 13.033333 13.86 12.94 C 13.766665 12.846666 13.653332 12.799999 13.52 12.799999 L 6.52 12.799999 C 6.36 12.799999 6.233333 12.846666 6.14 12.94 C 6.046666 13.033333 6 13.146667 6 13.28 L 6 17.799999 Z " VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="SaveAsButton">
|
|
<PathIcon Foreground="#2288EE" Data="F1 M 5 4.799999 C 4.44 4.799999 3.966666 4.993332 3.58 5.379999 C 3.193333 5.766666 3 6.240001 3 6.799999 L 3 14.799999 C 3 15.36 3.193333 15.833333 3.58 16.219999 C 3.966666 16.606667 4.44 16.799999 5 16.799999 L 13 16.799999 C 13.559999 16.799999 14.033333 16.606667 14.42 16.219999 C 14.806665 15.833333 14.999999 15.36 15 14.799999 L 15 8.44 C 14.999999 7.879999 14.799999 7.4 14.4 7 L 12.799999 5.4 C 12.399999 5 11.919999 4.799999 11.36 4.799999 Z M 4 6.799999 C 4 6.533334 4.1 6.3 4.3 6.099999 C 4.5 5.9 4.733333 5.799999 5 5.799999 L 6 5.799999 L 6 7.28 C 6 7.706666 6.146667 8.066666 6.44 8.36 C 6.733333 8.653334 7.093333 8.799999 7.52 8.799999 L 9.52 8.799999 C 9.919999 8.799999 10.266666 8.653334 10.559999 8.36 C 10.853333 8.066666 11 7.706666 11 7.28 L 11 5.799999 L 11.36 5.799999 C 11.653333 5.799999 11.893333 5.893333 12.08 6.08 L 13.719999 7.719999 C 13.906666 7.906667 14 8.146667 14 8.44 L 14 14.799999 C 14 15.066666 13.9 15.299999 13.7 15.5 C 13.499999 15.7 13.266666 15.799999 13 15.799999 L 13 12.28 C 13 11.88 12.853333 11.533333 12.559999 11.24 C 12.266665 10.946667 11.906666 10.799999 11.48 10.799999 L 6.52 10.799999 C 6.093333 10.799999 5.733333 10.946667 5.44 11.24 C 5.146667 11.533333 5 11.893333 5 12.32 L 5 15.799999 C 4.733333 15.799999 4.5 15.7 4.3 15.5 C 4.1 15.299999 4 15.066666 4 14.799999 Z M 7 7.28 L 7 5.799999 L 10 5.799999 L 10 7.28 C 10 7.44 9.953333 7.566667 9.86 7.66 C 9.766665 7.753333 9.653332 7.799999 9.52 7.799999 L 7.52 7.799999 C 7.36 7.799999 7.233333 7.753333 7.14 7.66 C 7.046667 7.566667 7 7.453333 7 7.32 Z M 12 12.28 L 12 15.799999 L 6 15.799999 L 6 12.28 C 6 12.146667 6.046666 12.033334 6.14 11.94 C 6.233333 11.846666 6.346666 11.799999 6.48 11.799999 L 11.52 11.799999 C 11.653333 11.799999 11.766666 11.846666 11.86 11.94 C 11.953333 12.033334 12 12.146667 12 12.28 Z M 8.52 18.799999 C 7.559999 18.799999 6.733333 18.466665 6.04 17.799999 L 13.52 17.799999 C 14.186666 17.799999 14.766666 17.553333 15.259999 17.059999 C 15.753332 16.566666 16 15.986666 16 15.32 L 16 7.839999 C 16.666666 8.533333 17 9.36 17 10.32 L 17 15.279999 C 17 16.266666 16.66 17.099998 15.98 17.779999 C 15.299999 18.459999 14.466665 18.799999 13.48 18.799999 Z " VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</Button>
|
|
<Button Name="NewFileButton">
|
|
<PathIcon Foreground="#0A0" Data="F1 M 6 3.799999 C 5.44 3.799999 4.966666 3.993334 4.58 4.379999 C 4.193333 4.766666 4 5.24 4 5.799999 L 4 10.999999 C 4.32 10.919999 4.653333 10.866666 5 10.839999 L 5 5.799999 C 5 5.533333 5.099999 5.299999 5.3 5.1 C 5.5 4.9 5.733333 4.799999 6 4.799999 L 10 4.799999 L 10 8.28 C 10 8.706667 10.146666 9.066667 10.44 9.36 C 10.733334 9.653334 11.093333 9.799999 11.52 9.799999 L 15 9.799999 L 15 17.799999 C 14.999999 18.066666 14.9 18.299999 14.7 18.5 C 14.5 18.699999 14.266666 18.799999 14 18.799999 L 10.4 18.799999 C 10.213333 19.146666 10 19.48 9.76 19.799999 L 14 19.799999 C 14.559999 19.799999 15.033333 19.606667 15.42 19.219999 C 15.806666 18.833332 16 18.360001 16 17.799999 L 16 9.2 C 16 8.8 15.853333 8.453333 15.559999 8.16 L 11.639999 4.24 C 11.346666 3.946667 11 3.799999 10.599999 3.799999 Z M 14.799999 8.799999 L 11.52 8.799999 C 11.36 8.799999 11.233333 8.753333 11.139999 8.66 C 11.046666 8.566667 11 8.453333 11 8.32 L 11 5 Z M 10 16.279999 C 10 17.106667 9.799999 17.866667 9.4 18.559999 C 9 19.253332 8.453333 19.799999 7.76 20.199999 C 7.066666 20.599998 6.313333 20.799999 5.5 20.799999 C 4.686666 20.799999 3.933333 20.599998 3.24 20.199999 C 2.546667 19.799999 2 19.253332 1.6 18.559999 C 1.2 17.866667 1 17.113333 1 16.299999 C 1 15.486666 1.2 14.733334 1.6 14.039999 C 2 13.346666 2.546667 12.799999 3.24 12.4 C 3.933333 12 4.686666 11.799999 5.5 11.799999 C 6.313333 11.799999 7.066666 12 7.76 12.4 C 8.453333 12.799999 9 13.346666 9.4 14.039999 C 9.799999 14.733334 10 15.48 10 16.279999 Z M 6 14.279999 C 6 14.146667 5.953333 14.033333 5.86 13.94 C 5.766666 13.846666 5.646667 13.799999 5.5 13.799999 C 5.353333 13.799999 5.233333 13.846666 5.14 13.94 C 5.046666 14.033333 5 14.146667 5 14.279999 L 5 15.799999 L 3.52 15.799999 C 3.36 15.799999 3.233333 15.846666 3.14 15.94 C 3.046667 16.033333 3 16.153332 3 16.299999 C 3 16.446667 3.046667 16.566666 3.14 16.66 C 3.233333 16.753334 3.36 16.799999 3.52 16.799999 L 5 16.799999 L 5 18.279999 C 5 18.439999 5.046666 18.566666 5.14 18.66 C 5.233333 18.753332 5.353333 18.799999 5.5 18.799999 C 5.646667 18.799999 5.766666 18.753332 5.86 18.66 C 5.953333 18.566666 6 18.439999 6 18.279999 L 6 16.799999 L 7.52 16.799999 C 7.653333 16.799999 7.766666 16.753334 7.86 16.66 C 7.953333 16.566666 8 16.446667 8 16.299999 C 8 16.153332 7.953333 16.033333 7.86 15.94 C 7.766666 15.846666 7.653333 15.799999 7.52 15.799999 L 6 15.799999 Z " VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</Button>
|
|
<Border Margin="4,6" Width="1" Background="#8888"></Border>
|
|
<ComboBox VerticalAlignment="Center" SelectedIndex="0" Name="ConfigBox" MinHeight="0" Padding="16,2" BorderThickness="1" BorderBrush="#8888" CornerRadius="12">
|
|
<ComboBoxItem>
|
|
All
|
|
</ComboBoxItem>
|
|
</ComboBox>
|
|
<Button Name="BuildButton" ToolTip.Tip="Build Configuration">
|
|
<PathIcon Foreground="#28F" Data="F1 M 7.44 4.84 L 7.24 5.839999 C 7.16 6.266666 6.933333 6.586667 6.56 6.799999 C 6.186666 7.013333 5.8 7.053333 5.4 6.919999 L 4.4 6.559999 C 4.186666 6.88 4 7.213333 3.84 7.559999 L 4.64 8.24 C 4.96 8.506666 5.12 8.86 5.12 9.299999 C 5.12 9.74 4.96 10.093333 4.64 10.36 L 3.84 11.039999 C 4 11.386666 4.186666 11.706667 4.4 11.999999 L 5.4 11.679999 C 5.8 11.546667 6.186666 11.586666 6.56 11.799999 C 6.933333 12.013333 7.16 12.333334 7.24 12.759999 L 7.44 13.759999 C 7.813333 13.813333 8.186666 13.813333 8.559999 13.759999 L 8.76 12.759999 C 8.84 12.333334 9.066666 12.013333 9.44 11.799999 C 9.813333 11.586666 10.199999 11.546667 10.599999 11.679999 L 11.599999 11.999999 C 11.813333 11.706667 12 11.386666 12.16 11.039999 L 11.36 10.36 C 11.04 10.093333 10.88 9.74 10.88 9.299999 C 10.88 8.86 11.04 8.506666 11.36 8.24 L 12.16 7.559999 C 12 7.213333 11.813333 6.893333 11.599999 6.599999 L 10.599999 6.919999 C 10.199999 7.053333 9.813333 7.013333 9.44 6.799999 C 9.066666 6.586667 8.84 6.266666 8.76 5.839999 L 8.559999 4.84 C 8.186666 4.786667 7.813333 4.786667 7.44 4.84 Z M 6.92 3.92 C 7.64 3.76 8.36 3.76 9.08 3.92 C 9.293333 3.946667 9.426666 4.08 9.48 4.32 L 9.76 5.639999 C 9.76 5.773333 9.82 5.873333 9.94 5.94 C 10.059999 6.006667 10.173332 6.013334 10.28 5.96 L 11.599999 5.52 C 11.813333 5.440001 11.986666 5.493334 12.12 5.68 C 12.599999 6.213334 12.959999 6.84 13.2 7.559999 C 13.279999 7.773333 13.24 7.946667 13.08 8.08 L 12.04 9 C 11.933332 9.080001 11.879999 9.18 11.88 9.299999 C 11.879999 9.42 11.933332 9.52 12.04 9.599999 L 13.08 10.52 C 13.24 10.653333 13.279999 10.826666 13.2 11.039999 C 12.959999 11.76 12.599999 12.386667 12.12 12.919999 C 11.986666 13.106667 11.813333 13.16 11.599999 13.079999 L 10.28 12.639999 C 10.173332 12.586666 10.059999 12.593333 9.94 12.66 C 9.82 12.726666 9.76 12.826666 9.76 12.959999 L 9.48 14.279999 C 9.426666 14.52 9.293333 14.653333 9.08 14.679999 C 8.36 14.84 7.64 14.84 6.92 14.679999 C 6.706666 14.653333 6.573333 14.52 6.52 14.279999 L 6.28 12.959999 C 6.253333 12.826666 6.179999 12.726666 6.06 12.66 C 5.94 12.593333 5.826666 12.586666 5.72 12.639999 L 4.4 13.079999 C 4.186666 13.16 4.013333 13.106667 3.88 12.919999 C 3.4 12.386667 3.04 11.76 2.8 11.039999 C 2.72 10.853333 2.76 10.679999 2.92 10.52 L 3.96 9.599999 C 4.066667 9.52 4.12 9.42 4.12 9.299999 C 4.12 9.18 4.066667 9.080001 3.96 9 L 2.92 8.08 C 2.76 7.92 2.72 7.746666 2.8 7.559999 C 3.013333 6.84 3.373333 6.213334 3.88 5.68 C 4.013333 5.493334 4.186666 5.440001 4.4 5.52 L 5.72 5.96 C 5.826666 6.013334 5.94 6.006667 6.06 5.94 C 6.179999 5.873333 6.253333 5.773333 6.28 5.639999 L 6.52 4.32 C 6.573333 4.08 6.706666 3.946667 6.92 3.92 Z M 11.679999 14.08 C 11.466666 14 11.293333 14.059999 11.16 14.259999 C 11.026667 14.459999 10.913333 14.666666 10.82 14.879999 C 10.726665 15.093332 10.759999 15.266666 10.92 15.4 L 11.559999 15.959999 C 11.666666 16.039999 11.719999 16.153332 11.719999 16.299999 C 11.719999 16.446667 11.666666 16.559999 11.559999 16.639999 L 10.92 17.199999 C 10.759999 17.333332 10.726665 17.506666 10.82 17.719999 C 10.913333 17.933332 11.026667 18.139999 11.16 18.34 C 11.293333 18.539999 11.466666 18.599998 11.679999 18.519999 L 12.48 18.24 C 12.613332 18.186666 12.739999 18.193333 12.86 18.259998 C 12.98 18.326666 13.053333 18.426666 13.08 18.559999 L 13.24 19.4 C 13.293333 19.639999 13.433332 19.766666 13.66 19.779999 C 13.886666 19.793333 14.113333 19.786667 14.34 19.759998 C 14.566666 19.733334 14.706666 19.613333 14.759999 19.4 L 14.92 18.559999 C 14.946666 18.426666 15.019999 18.326666 15.139999 18.259998 C 15.259998 18.193333 15.386665 18.186666 15.52 18.24 L 16.32 18.519999 C 16.533333 18.599998 16.706665 18.539999 16.84 18.34 C 16.973331 18.139999 17.086666 17.933332 17.18 17.719999 C 17.273333 17.506666 17.24 17.333332 17.08 17.199999 L 16.440001 16.639999 C 16.333332 16.559999 16.279999 16.446667 16.279999 16.299999 C 16.279999 16.153332 16.333332 16.039999 16.440001 15.959999 L 17.08 15.4 C 17.24 15.266666 17.273333 15.093332 17.18 14.879999 C 17.086666 14.666666 16.973331 14.459999 16.84 14.259999 C 16.706665 14.059999 16.533333 14 16.32 14.08 L 15.52 14.359999 C 15.386665 14.413333 15.259998 14.406666 15.139999 14.339999 C 15.019999 14.273333 14.946666 14.173333 14.92 14.039999 L 14.759999 13.2 C 14.706666 12.986667 14.566666 12.866667 14.34 12.839999 C 14.113333 12.813334 13.886666 12.813334 13.66 12.839999 C 13.433332 12.866667 13.293333 12.986667 13.24 13.2 L 13.08 14.039999 C 13.053333 14.173333 12.98 14.273333 12.86 14.339999 C 12.739999 14.406666 12.613332 14.413333 12.48 14.359999 Z M 14 17.279999 C 13.733333 17.306667 13.499999 17.219999 13.299999 17.02 C 13.099999 16.82 13 16.58 13 16.299999 C 13 16.02 13.099999 15.786666 13.299999 15.599999 C 13.499999 15.413333 13.733333 15.313333 14 15.299999 C 14.266666 15.286666 14.5 15.379999 14.7 15.58 C 14.9 15.78 14.999999 16.02 15 16.299999 C 14.999999 16.58 14.9 16.813334 14.7 17 C 14.5 17.186666 14.266666 17.279999 14 17.279999 Z M 7 9.28 C 7 9.013333 7.1 8.78 7.3 8.58 C 7.5 8.38 7.733333 8.280001 8 8.28 C 8.266666 8.280001 8.5 8.38 8.7 8.58 C 8.9 8.78 9 9.02 9 9.299999 C 9 9.58 8.9 9.82 8.7 10.02 C 8.5 10.219999 8.266666 10.313334 8 10.299999 C 7.733333 10.286667 7.5 10.186666 7.3 9.999999 C 7.1 9.813334 7 9.586667 7 9.32 Z M 8 7.28 C 7.44 7.28 6.966666 7.48 6.58 7.879999 C 6.193333 8.28 6 8.753333 6 9.299999 C 6 9.846666 6.193333 10.313334 6.58 10.7 C 6.966666 11.086667 7.44 11.280001 8 11.28 C 8.559999 11.280001 9.033333 11.086667 9.42 10.7 C 9.806666 10.313334 10 9.846666 10 9.299999 C 10 8.753333 9.806666 8.286667 9.42 7.9 C 9.033333 7.513333 8.559999 7.32 8 7.32 Z " VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</Button>
|
|
<Border Margin="4,6" Width="1" Background="#8888"></Border>
|
|
<NumericUpDown Name="SizeBox" Minimum="1" Maximum="16384" FormatString="00000"
|
|
Value="1024" VerticalAlignment="Center" Padding="4,2"
|
|
Margin="5,0"
|
|
VerticalContentAlignment="Center" MinHeight="0"/>
|
|
<CheckBox Name="IsDebugBox" Margin="7,0" Content="Is Debug"/>
|
|
<Button Name="RunButton" ToolTip.Tip="Preview">
|
|
<PathIcon Foreground="#0A0" Data="F1 M 17.24 10.48 C 17.453333 10.613333 17.633331 10.799999 17.779999 11.039999 C 17.926666 11.28 18 11.533333 18 11.799999 C 18 12.066667 17.926666 12.32 17.779999 12.559999 C 17.633331 12.799999 17.453333 12.986667 17.24 13.12 L 7.24 18.599998 C 7 18.733334 6.746666 18.799999 6.48 18.799999 C 6.213333 18.799999 5.966666 18.733334 5.74 18.599998 C 5.513333 18.466667 5.333333 18.279999 5.2 18.039999 C 5.066667 17.799999 5 17.546665 5 17.279999 L 5 6.32 C 5 6.053333 5.066667 5.799999 5.2 5.559999 C 5.333333 5.32 5.513333 5.133333 5.74 5 C 5.966666 4.866667 6.213333 4.799999 6.48 4.799999 C 6.746666 4.799999 7 4.866667 7.24 5 Z M 16.719999 12.24 C 16.906666 12.133333 17 11.986667 17 11.799999 C 17 11.613333 16.906666 11.466667 16.719999 11.36 L 6.76 5.879999 C 6.573333 5.773333 6.4 5.766666 6.24 5.86 C 6.08 5.953334 6 6.106668 6 6.32 L 6 17.279999 C 6 17.493332 6.08 17.646666 6.24 17.74 C 6.4 17.833332 6.573333 17.826666 6.76 17.719999 Z " VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</Button>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</Border>
|
|
</Grid>
|
|
<Grid Grid.Row="1" Margin="8,0,8,8" Name="ContentGrid">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto" MinHeight="0"/>
|
|
</Grid.RowDefinitions>
|
|
<ProgrartTabControls:TabHost Name="MainTabHost" VerticalAlignment="Stretch">
|
|
|
|
</ProgrartTabControls:TabHost>
|
|
<Grid Grid.Row="1" IsHitTestVisible="False" Name="SplitterVisual" IsVisible="False">
|
|
<Border HorizontalAlignment="Stretch" VerticalAlignment="Center" Height="2" MaxWidth="150" Background="#8888"/>
|
|
</Grid>
|
|
<GridSplitter Height="10" Grid.Row="1" IsVisible="False" Background="#01000000" Name="Splitter"></GridSplitter>
|
|
<Border Grid.Row="2" Name="BottomPanel" IsVisible="False" CornerRadius="12" MinHeight="32" Background="#2888">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border CornerRadius="12" Margin="8" BorderBrush="#8888" BorderThickness="1,1,1,0" Background="#4888">
|
|
<TextBlock Margin="8,4">Output</TextBlock>
|
|
</Border>
|
|
<ScrollViewer Grid.Row="1">
|
|
<TextBlock Name="Output"/>
|
|
</ScrollViewer>
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
<Grid Grid.Row="2">
|
|
<Border Margin="16,4,16,16" CornerRadius="6" Padding="5,0" Background="#2888">
|
|
<ScrollViewer>
|
|
<StackPanel Orientation="Horizontal" FlowDirection="RightToLeft">
|
|
<ToggleButton Name="BottomPanelToggle">
|
|
<PathIcon Data="F1 M 2 7.799999 C 2 6.973333 2.293333 6.266667 2.88 5.68 C 3.466666 5.093334 4.173333 4.799999 5 4.799999 L 15 4.799999 C 15.826666 4.799999 16.533333 5.093334 17.119999 5.68 C 17.706665 6.266667 18 6.973333 18 7.799999 L 18 14.799999 C 18 15.626666 17.706665 16.333332 17.119999 16.919998 C 16.533333 17.506666 15.826666 17.799999 15 17.799999 L 5 17.799999 C 4.173333 17.799999 3.466666 17.506666 2.88 16.919998 C 2.293333 16.333332 2 15.626666 2 14.799999 Z M 5 5.799999 C 4.44 5.799999 3.966666 5.993333 3.58 6.379999 C 3.193333 6.766666 3 7.24 3 7.799999 L 3 12.799999 L 17 12.799999 L 17 7.799999 C 17 7.24 16.806667 6.766666 16.42 6.379999 C 16.033333 5.993333 15.559999 5.799999 15 5.799999 Z " VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</ToggleButton>
|
|
<ToggleButton Name="LeftPanelToggle">
|
|
<PathIcon Data="F1 M 15 4.799999 C 15.826666 4.799999 16.533333 5.093334 17.119999 5.68 C 17.706665 6.266667 18 6.973333 18 7.799999 L 18 14.799999 C 18 15.626666 17.706665 16.333332 17.119999 16.919998 C 16.533333 17.506666 15.826666 17.799999 15 17.799999 L 5 17.799999 C 4.173333 17.799999 3.466666 17.506666 2.88 16.919998 C 2.293333 16.333332 2 15.626666 2 14.799999 L 2 7.799999 C 2 6.973333 2.293333 6.266667 2.88 5.68 C 3.466666 5.093334 4.173333 4.799999 5 4.799999 Z M 5 5.799999 C 4.44 5.799999 3.966666 5.993333 3.58 6.379999 C 3.193333 6.766666 3 7.24 3 7.799999 L 3 14.799999 C 3 15.36 3.193333 15.833333 3.58 16.219999 C 3.966666 16.606667 4.44 16.799999 5 16.799999 L 11.52 16.799999 L 11.52 5.799999 Z " VerticalAlignment="Center" HorizontalAlignment="Center" />
|
|
</ToggleButton>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</Border>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</dialogHost:DialogHost>
|
|
|
|
</UserControl>
|