Archived
forked from RDTKEditor/RDTKEditor
添加项目文件。
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
<Window x:Class="RDTKEditor.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:skia="clr-namespace:SkiaSharp.Views.WPF;assembly=SkiaSharp.Views.WPF"
|
||||
xmlns:local="clr-namespace:RDTKEditor"
|
||||
mc:Ignorable="d"
|
||||
Title="RDTK Editor" Height="450" Width="800">
|
||||
<Window.DataContext>
|
||||
<local:MainViewModel/>
|
||||
</Window.DataContext>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Menu Grid.Row="0" VerticalAlignment="Top">
|
||||
<MenuItem Header="文件(_F)">
|
||||
<MenuItem Header="打开文件(_O)" Click="OpenFile" InputGestureText="Ctrl+O"/>
|
||||
<MenuItem Header="保存文件(_S)" Click="SaveFile" InputGestureText="Ctrl+S"/>
|
||||
<Separator/>
|
||||
<MenuItem Header="退出(_E)" Click="Exit"/>
|
||||
</MenuItem>
|
||||
<MenuItem Header="帮助(_H)">
|
||||
<MenuItem Header="关于(_A)" Click="About"/>
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
<Grid Grid.Row="1">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="200" MinWidth="100" MaxWidth="300" />
|
||||
<ColumnDefinition Width="5" />
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="5" />
|
||||
<ColumnDefinition Width="200" MinWidth="100" MaxWidth="300" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="5" />
|
||||
<RowDefinition Height="100" MinHeight="90" MaxHeight="270"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Column="0" Background="LightBlue">
|
||||
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
||||
<ItemsControl x:Name="ItemProperties" Background="LightGray">
|
||||
</ItemsControl>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
<GridSplitter Grid.Column="1" Width="5" Background="Gray" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
|
||||
<Viewbox Grid.Row="0" Grid.Column="2" Stretch="Uniform">
|
||||
<Border Background="LightGray" Width="1600" Height="900">
|
||||
<skia:SKElement x:Name="mainUI" PaintSurface="mainUI_PaintSurface" />
|
||||
</Border>
|
||||
</Viewbox>
|
||||
<GridSplitter Grid.Column="3" Width="5" Background="Gray" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
|
||||
<Border Grid.Column="4" Background="LightBlue" >
|
||||
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
||||
<Grid x:Name="timelineCanvas3" Background="LightGray" />
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
<GridSplitter Grid.Row="1" Grid.ColumnSpan="5" Height="5" Background="Gray" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
|
||||
<Border Grid.ColumnSpan="5" Grid.Row="2" Background="LightSalmon">
|
||||
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
|
||||
<Canvas x:Name="timelineCanvas" Background="LightGray" />
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user