add:新设置
This commit is contained in:
@@ -3240,6 +3240,287 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
|
<!--个性化设置面板-->
|
||||||
|
<Grid Margin="250,48,0,0" Visibility="Collapsed" Name="ThemePane">
|
||||||
|
<ScrollViewer ScrollChanged="ScrollViewerEx_ScrollChanged" IsManipulationEnabled="True" Name="ThemeScrollViewerEx" IsDeferredScrollingEnabled="True" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Disabled" IsTabStop="False" TabIndex="-1" Margin="0,0,2,2">
|
||||||
|
<StackPanel Margin="60,12,60,24">
|
||||||
|
<Border BorderBrush="#e6e6e6" BorderThickness="1.25,1.25,1.25,4" CornerRadius="8">
|
||||||
|
<StackPanel Orientation="Vertical">
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="主题" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="选择应用程序的主题" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,15,0">
|
||||||
|
<Border Padding="13,7" CornerRadius="8" Background="#e1e1e1">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" FontWeight="Bold" Text="浅色"/>
|
||||||
|
</Border>
|
||||||
|
<Border Padding="13,7" CornerRadius="8">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" Text="深色"/>
|
||||||
|
</Border>
|
||||||
|
<Border Padding="13,7" CornerRadius="8">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" Text="跟随系统"/>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
<Border Height="1" Background="#ebebeb"/>
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="语言" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="选择应用程序的语言" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,15,0">
|
||||||
|
<Border Padding="13,7" CornerRadius="8" Background="#e1e1e1">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" FontWeight="Bold" Text="简体中文"/>
|
||||||
|
</Border>
|
||||||
|
<Border Padding="13,7" CornerRadius="8">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" Text="English"/>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<!--快捷键设置面板-->
|
||||||
|
<Grid Margin="250,48,0,0" Visibility="Collapsed" Name="ShortcutsPane">
|
||||||
|
<ScrollViewer ScrollChanged="ScrollViewerEx_ScrollChanged" IsManipulationEnabled="True" Name="ShortcutsScrollViewerEx" IsDeferredScrollingEnabled="True" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Disabled" IsTabStop="False" TabIndex="-1" Margin="0,0,2,2">
|
||||||
|
<StackPanel Margin="60,12,60,24">
|
||||||
|
<Border BorderBrush="#e6e6e6" BorderThickness="1.25,1.25,1.25,4" CornerRadius="8">
|
||||||
|
<StackPanel Orientation="Vertical">
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="新建页面" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="创建新的画布页面" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<TextBlock Foreground="#878787" FontSize="14.5" Text="Ctrl+N" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,18,0"/>
|
||||||
|
</Grid>
|
||||||
|
<Border Height="1" Background="#ebebeb"/>
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="保存" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="保存当前画布" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<TextBlock Foreground="#878787" FontSize="14.5" Text="Ctrl+S" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,18,0"/>
|
||||||
|
</Grid>
|
||||||
|
<Border Height="1" Background="#ebebeb"/>
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="撤销" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="撤销上一步操作" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<TextBlock Foreground="#878787" FontSize="14.5" Text="Ctrl+Z" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,18,0"/>
|
||||||
|
</Grid>
|
||||||
|
<Border Height="1" Background="#ebebeb"/>
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="重做" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="重做上一步操作" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<TextBlock Foreground="#878787" FontSize="14.5" Text="Ctrl+Y" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,18,0"/>
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<!--崩溃处理面板-->
|
||||||
|
<Grid Margin="250,48,0,0" Visibility="Collapsed" Name="CrashActionPane">
|
||||||
|
<ScrollViewer ScrollChanged="ScrollViewerEx_ScrollChanged" IsManipulationEnabled="True" Name="CrashActionScrollViewerEx" IsDeferredScrollingEnabled="True" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Disabled" IsTabStop="False" TabIndex="-1" Margin="0,0,2,2">
|
||||||
|
<StackPanel Margin="60,12,60,24">
|
||||||
|
<Border BorderBrush="#e6e6e6" BorderThickness="1.25,1.25,1.25,4" CornerRadius="8">
|
||||||
|
<StackPanel Orientation="Vertical">
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="崩溃时自动重启" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="应用程序崩溃时自动重启" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<Border Width="48" Height="25" Background="#3584e4" VerticalAlignment="Center" HorizontalAlignment="Right" CornerRadius="12" Margin="0,0,15,0" Padding="3,0">
|
||||||
|
<Border Width="19" Height="19" Background="White" CornerRadius="10" HorizontalAlignment="Right" VerticalAlignment="Center">
|
||||||
|
<Border.Effect>
|
||||||
|
<DropShadowEffect BlurRadius="4" Direction="-45" Color="Black" Opacity="0.3" ShadowDepth="0"></DropShadowEffect>
|
||||||
|
</Border.Effect>
|
||||||
|
</Border>
|
||||||
|
</Border>
|
||||||
|
</Grid>
|
||||||
|
<Border Height="1" Background="#ebebeb"/>
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="发送崩溃报告" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="自动发送崩溃报告以帮助改进应用程序" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<Border Width="48" Height="25" Background="#3584e4" VerticalAlignment="Center" HorizontalAlignment="Right" CornerRadius="12" Margin="0,0,15,0" Padding="3,0">
|
||||||
|
<Border Width="19" Height="19" Background="White" CornerRadius="10" HorizontalAlignment="Right" VerticalAlignment="Center">
|
||||||
|
<Border.Effect>
|
||||||
|
<DropShadowEffect BlurRadius="4" Direction="-45" Color="Black" Opacity="0.3" ShadowDepth="0"></DropShadowEffect>
|
||||||
|
</Border.Effect>
|
||||||
|
</Border>
|
||||||
|
</Border>
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<!--幸运随机面板-->
|
||||||
|
<Grid Margin="250,48,0,0" Visibility="Collapsed" Name="LuckyRandomPane">
|
||||||
|
<ScrollViewer ScrollChanged="ScrollViewerEx_ScrollChanged" IsManipulationEnabled="True" Name="LuckyRandomScrollViewerEx" IsDeferredScrollingEnabled="True" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Disabled" IsTabStop="False" TabIndex="-1" Margin="0,0,2,2">
|
||||||
|
<StackPanel Margin="60,12,60,24">
|
||||||
|
<Border BorderBrush="#e6e6e6" BorderThickness="1.25,1.25,1.25,4" CornerRadius="8">
|
||||||
|
<StackPanel Orientation="Vertical">
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="启用幸运随机功能" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="启用一些随机的有趣功能" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<Border Width="48" Height="25" Background="#e1e1e1" VerticalAlignment="Center" HorizontalAlignment="Right" CornerRadius="12" Margin="0,0,15,0" Padding="3,0">
|
||||||
|
<Border Width="19" Height="19" Background="White" CornerRadius="10" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||||||
|
<Border.Effect>
|
||||||
|
<DropShadowEffect BlurRadius="4" Direction="-45" Color="Black" Opacity="0.3" ShadowDepth="0"></DropShadowEffect>
|
||||||
|
</Border.Effect>
|
||||||
|
</Border>
|
||||||
|
</Border>
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<!--存储面板-->
|
||||||
|
<Grid Margin="250,48,0,0" Visibility="Collapsed" Name="StoragePane">
|
||||||
|
<ScrollViewer ScrollChanged="ScrollViewerEx_ScrollChanged" IsManipulationEnabled="True" Name="StorageScrollViewerEx" IsDeferredScrollingEnabled="True" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Disabled" IsTabStop="False" TabIndex="-1" Margin="0,0,2,2">
|
||||||
|
<StackPanel Margin="60,12,60,24">
|
||||||
|
<Border BorderBrush="#e6e6e6" BorderThickness="1.25,1.25,1.25,4" CornerRadius="8">
|
||||||
|
<StackPanel Orientation="Vertical">
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="自动保存" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="定期自动保存画布内容" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<Border Width="48" Height="25" Background="#3584e4" VerticalAlignment="Center" HorizontalAlignment="Right" CornerRadius="12" Margin="0,0,15,0" Padding="3,0">
|
||||||
|
<Border Width="19" Height="19" Background="White" CornerRadius="10" HorizontalAlignment="Right" VerticalAlignment="Center">
|
||||||
|
<Border.Effect>
|
||||||
|
<DropShadowEffect BlurRadius="4" Direction="-45" Color="Black" Opacity="0.3" ShadowDepth="0"></DropShadowEffect>
|
||||||
|
</Border.Effect>
|
||||||
|
</Border>
|
||||||
|
</Border>
|
||||||
|
</Grid>
|
||||||
|
<Border Height="1" Background="#ebebeb"/>
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="自动保存间隔" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="设置自动保存的时间间隔" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,15,0">
|
||||||
|
<Border Padding="13,7" CornerRadius="8">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" Text="30秒"/>
|
||||||
|
</Border>
|
||||||
|
<Border Padding="13,7" CornerRadius="8" Background="#e1e1e1">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" FontWeight="Bold" Text="1分钟"/>
|
||||||
|
</Border>
|
||||||
|
<Border Padding="13,7" CornerRadius="8">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" Text="5分钟"/>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<!--截图面板-->
|
||||||
|
<Grid Margin="250,48,0,0" Visibility="Collapsed" Name="SnapshotPane">
|
||||||
|
<ScrollViewer ScrollChanged="ScrollViewerEx_ScrollChanged" IsManipulationEnabled="True" Name="SnapshotScrollViewerEx" IsDeferredScrollingEnabled="True" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Disabled" IsTabStop="False" TabIndex="-1" Margin="0,0,2,2">
|
||||||
|
<StackPanel Margin="60,12,60,24">
|
||||||
|
<Border BorderBrush="#e6e6e6" BorderThickness="1.25,1.25,1.25,4" CornerRadius="8">
|
||||||
|
<StackPanel Orientation="Vertical">
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="截图质量" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="设置截图的图像质量" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,15,0">
|
||||||
|
<Border Padding="13,7" CornerRadius="8">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" Text="低"/>
|
||||||
|
</Border>
|
||||||
|
<Border Padding="13,7" CornerRadius="8" Background="#e1e1e1">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" FontWeight="Bold" Text="中"/>
|
||||||
|
</Border>
|
||||||
|
<Border Padding="13,7" CornerRadius="8">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" Text="高"/>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
<Border Height="1" Background="#ebebeb"/>
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="截图格式" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="选择截图的文件格式" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,15,0">
|
||||||
|
<Border Padding="13,7" CornerRadius="8" Background="#e1e1e1">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" FontWeight="Bold" Text="PNG"/>
|
||||||
|
</Border>
|
||||||
|
<Border Padding="13,7" CornerRadius="8">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" Text="JPEG"/>
|
||||||
|
</Border>
|
||||||
|
<Border Padding="13,7" CornerRadius="8">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14" Text="BMP"/>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<!--高级面板-->
|
||||||
|
<Grid Margin="250,48,0,0" Visibility="Collapsed" Name="AdvancedPane">
|
||||||
|
<ScrollViewer ScrollChanged="ScrollViewerEx_ScrollChanged" IsManipulationEnabled="True" Name="AdvancedScrollViewerEx" IsDeferredScrollingEnabled="True" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Disabled" IsTabStop="False" TabIndex="-1" Margin="0,0,2,2">
|
||||||
|
<StackPanel Margin="60,12,60,24">
|
||||||
|
<Border BorderBrush="#e6e6e6" BorderThickness="1.25,1.25,1.25,4" CornerRadius="8">
|
||||||
|
<StackPanel Orientation="Vertical">
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="调试模式" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="启用调试模式以获取详细的错误信息" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<Border Width="48" Height="25" Background="#e1e1e1" VerticalAlignment="Center" HorizontalAlignment="Right" CornerRadius="12" Margin="0,0,15,0" Padding="3,0">
|
||||||
|
<Border Width="19" Height="19" Background="White" CornerRadius="10" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||||||
|
<Border.Effect>
|
||||||
|
<DropShadowEffect BlurRadius="4" Direction="-45" Color="Black" Opacity="0.3" ShadowDepth="0"></DropShadowEffect>
|
||||||
|
</Border.Effect>
|
||||||
|
</Border>
|
||||||
|
</Border>
|
||||||
|
</Grid>
|
||||||
|
<Border Height="1" Background="#ebebeb"/>
|
||||||
|
<Grid Height="54">
|
||||||
|
<StackPanel Orientation="Vertical" Margin="18,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Foreground="#2e3436" FontSize="14.5" Text="性能监控" HorizontalAlignment="Left"/>
|
||||||
|
<TextBlock Foreground="#9a9996" FontSize="11" Margin="0,3.5,0,0" Text="显示性能监控信息" HorizontalAlignment="Left"/>
|
||||||
|
</StackPanel>
|
||||||
|
<Border Width="48" Height="25" Background="#e1e1e1" VerticalAlignment="Center" HorizontalAlignment="Right" CornerRadius="12" Margin="0,0,15,0" Padding="3,0">
|
||||||
|
<Border Width="19" Height="19" Background="White" CornerRadius="10" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||||||
|
<Border.Effect>
|
||||||
|
<DropShadowEffect BlurRadius="4" Direction="-45" Color="Black" Opacity="0.3" ShadowDepth="0"></DropShadowEffect>
|
||||||
|
</Border.Effect>
|
||||||
|
</Border>
|
||||||
|
</Border>
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</ScrollViewer>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
<!--Topbar-->
|
<!--Topbar-->
|
||||||
<Grid Height="48" VerticalAlignment="Top" Margin="250,0,0,0">
|
<Grid Height="48" VerticalAlignment="Top" Margin="250,0,0,0">
|
||||||
<Border Height="48" CornerRadius="0,6,0,0" Background="#fafafa">
|
<Border Height="48" CornerRadius="0,6,0,0" Background="#fafafa">
|
||||||
|
|||||||
@@ -55,35 +55,35 @@ namespace Ink_Canvas.Windows {
|
|||||||
IconSource = FindResource("GesturesIcon") as DrawingImage,
|
IconSource = FindResource("GesturesIcon") as DrawingImage,
|
||||||
Selected = false,
|
Selected = false,
|
||||||
});
|
});
|
||||||
SidebarItems.Add(new SidebarItem() {
|
|
||||||
Type = SidebarItemType.Separator
|
|
||||||
});
|
|
||||||
SidebarItems.Add(new SidebarItem() {
|
SidebarItems.Add(new SidebarItem() {
|
||||||
Type = SidebarItemType.Item,
|
Type = SidebarItemType.Item,
|
||||||
Title = "个性化和外观",
|
Title = "墨迹纠正",
|
||||||
Name = "AppearanceItem",
|
|
||||||
IconSource = FindResource("AppearanceIcon") as DrawingImage,
|
|
||||||
Selected = false,
|
|
||||||
});
|
|
||||||
SidebarItems.Add(new SidebarItem() {
|
|
||||||
Type = SidebarItemType.Item,
|
|
||||||
Title = "墨迹转形状",
|
|
||||||
Name = "InkRecognitionItem",
|
Name = "InkRecognitionItem",
|
||||||
IconSource = FindResource("InkRecognitionIcon") as DrawingImage,
|
IconSource = FindResource("InkRecognitionIcon") as DrawingImage,
|
||||||
Selected = false,
|
Selected = false,
|
||||||
});
|
});
|
||||||
|
SidebarItems.Add(new SidebarItem() {
|
||||||
|
Type = SidebarItemType.Separator
|
||||||
|
});
|
||||||
SidebarItems.Add(new SidebarItem() {
|
SidebarItems.Add(new SidebarItem() {
|
||||||
Type = SidebarItemType.Item,
|
Type = SidebarItemType.Item,
|
||||||
Title = "几何与形状绘制",
|
Title = "个性化设置",
|
||||||
Name = "ShapeDrawingItem",
|
Name = "ThemeItem",
|
||||||
IconSource = FindResource("ShapeDrawingIcon") as DrawingImage,
|
IconSource = FindResource("AppearanceIcon") as DrawingImage,
|
||||||
Selected = false,
|
Selected = false,
|
||||||
});
|
});
|
||||||
SidebarItems.Add(new SidebarItem() {
|
SidebarItems.Add(new SidebarItem() {
|
||||||
Type = SidebarItemType.Item,
|
Type = SidebarItemType.Item,
|
||||||
Title = "自动化行为",
|
Title = "快捷键设置",
|
||||||
Name = "AutomationItem",
|
Name = "ShortcutsItem",
|
||||||
IconSource = FindResource("AutomationIcon") as DrawingImage,
|
IconSource = FindResource("AppearanceIcon") as DrawingImage,
|
||||||
|
Selected = false,
|
||||||
|
});
|
||||||
|
SidebarItems.Add(new SidebarItem() {
|
||||||
|
Type = SidebarItemType.Item,
|
||||||
|
Title = "崩溃处理",
|
||||||
|
Name = "CrashActionItem",
|
||||||
|
IconSource = FindResource("AppearanceIcon") as DrawingImage,
|
||||||
Selected = false,
|
Selected = false,
|
||||||
});
|
});
|
||||||
SidebarItems.Add(new SidebarItem() {
|
SidebarItems.Add(new SidebarItem() {
|
||||||
@@ -106,6 +106,23 @@ namespace Ink_Canvas.Windows {
|
|||||||
SidebarItems.Add(new SidebarItem() {
|
SidebarItems.Add(new SidebarItem() {
|
||||||
Type = SidebarItemType.Separator
|
Type = SidebarItemType.Separator
|
||||||
});
|
});
|
||||||
|
SidebarItems.Add(new SidebarItem() {
|
||||||
|
Type = SidebarItemType.Item,
|
||||||
|
Title = "自动化行为",
|
||||||
|
Name = "AutomationItem",
|
||||||
|
IconSource = FindResource("AutomationIcon") as DrawingImage,
|
||||||
|
Selected = false,
|
||||||
|
});
|
||||||
|
SidebarItems.Add(new SidebarItem() {
|
||||||
|
Type = SidebarItemType.Item,
|
||||||
|
Title = "随机点名",
|
||||||
|
Name = "LuckyRandomItem",
|
||||||
|
IconSource = FindResource("LuckyRandomIcon") as DrawingImage,
|
||||||
|
Selected = false,
|
||||||
|
});
|
||||||
|
SidebarItems.Add(new SidebarItem() {
|
||||||
|
Type = SidebarItemType.Separator
|
||||||
|
});
|
||||||
SidebarItems.Add(new SidebarItem() {
|
SidebarItems.Add(new SidebarItem() {
|
||||||
Type = SidebarItemType.Item,
|
Type = SidebarItemType.Item,
|
||||||
Title = "存储空间",
|
Title = "存储空间",
|
||||||
@@ -121,11 +138,7 @@ namespace Ink_Canvas.Windows {
|
|||||||
Selected = false,
|
Selected = false,
|
||||||
});
|
});
|
||||||
SidebarItems.Add(new SidebarItem() {
|
SidebarItems.Add(new SidebarItem() {
|
||||||
Type = SidebarItemType.Item,
|
Type = SidebarItemType.Separator
|
||||||
Title = "点名器设置",
|
|
||||||
Name = "LuckyRandomItem",
|
|
||||||
IconSource = FindResource("LuckyRandomIcon") as DrawingImage,
|
|
||||||
Selected = false,
|
|
||||||
});
|
});
|
||||||
SidebarItems.Add(new SidebarItem() {
|
SidebarItems.Add(new SidebarItem() {
|
||||||
Type = SidebarItemType.Item,
|
Type = SidebarItemType.Item,
|
||||||
@@ -150,10 +163,16 @@ namespace Ink_Canvas.Windows {
|
|||||||
CanvasAndInkPane,
|
CanvasAndInkPane,
|
||||||
GesturesPane,
|
GesturesPane,
|
||||||
StartupPane,
|
StartupPane,
|
||||||
AppearancePane,
|
ThemePane,
|
||||||
|
ShortcutsPane,
|
||||||
|
CrashActionPane,
|
||||||
InkRecognitionPane,
|
InkRecognitionPane,
|
||||||
AutomationPane,
|
AutomationPane,
|
||||||
PowerPointPane
|
PowerPointPane,
|
||||||
|
LuckyRandomPane,
|
||||||
|
StoragePane,
|
||||||
|
SnapshotPane,
|
||||||
|
AdvancedPane
|
||||||
};
|
};
|
||||||
|
|
||||||
SettingsPaneScrollViewers = new ScrollViewer[] {
|
SettingsPaneScrollViewers = new ScrollViewer[] {
|
||||||
@@ -161,10 +180,50 @@ namespace Ink_Canvas.Windows {
|
|||||||
CanvasAndInkScrollViewerEx,
|
CanvasAndInkScrollViewerEx,
|
||||||
GesturesScrollViewerEx,
|
GesturesScrollViewerEx,
|
||||||
StartupScrollViewerEx,
|
StartupScrollViewerEx,
|
||||||
AppearanceScrollViewerEx,
|
ThemeScrollViewerEx,
|
||||||
|
ShortcutsScrollViewerEx,
|
||||||
|
CrashActionScrollViewerEx,
|
||||||
InkRecognitionScrollViewerEx,
|
InkRecognitionScrollViewerEx,
|
||||||
AutomationScrollViewerEx,
|
AutomationScrollViewerEx,
|
||||||
PowerPointScrollViewerEx
|
PowerPointScrollViewerEx,
|
||||||
|
LuckyRandomScrollViewerEx,
|
||||||
|
StorageScrollViewerEx,
|
||||||
|
SnapshotScrollViewerEx,
|
||||||
|
AdvancedScrollViewerEx
|
||||||
|
};
|
||||||
|
|
||||||
|
SettingsPaneTitles = new string[] {
|
||||||
|
"关于",
|
||||||
|
"画板和墨迹",
|
||||||
|
"手势操作",
|
||||||
|
"启动时行为",
|
||||||
|
"个性化设置",
|
||||||
|
"快捷键设置",
|
||||||
|
"崩溃处理",
|
||||||
|
"墨迹识别",
|
||||||
|
"自动化",
|
||||||
|
"PowerPoint",
|
||||||
|
"幸运随机",
|
||||||
|
"存储",
|
||||||
|
"截图",
|
||||||
|
"高级"
|
||||||
|
};
|
||||||
|
|
||||||
|
SettingsPaneNames = new string[] {
|
||||||
|
"AboutItem",
|
||||||
|
"CanvasAndInkItem",
|
||||||
|
"GesturesItem",
|
||||||
|
"StartupItem",
|
||||||
|
"ThemeItem",
|
||||||
|
"ShortcutsItem",
|
||||||
|
"CrashActionItem",
|
||||||
|
"InkRecognitionItem",
|
||||||
|
"AutomationItem",
|
||||||
|
"PowerPointItem",
|
||||||
|
"LuckyRandomItem",
|
||||||
|
"StorageItem",
|
||||||
|
"SnapshotItem",
|
||||||
|
"AdvancedItem"
|
||||||
};
|
};
|
||||||
|
|
||||||
SettingsAboutPanel.IsTopBarNeedShadowEffect += (o, s) => DropShadowEffectTopBar.Opacity = 0.25;
|
SettingsAboutPanel.IsTopBarNeedShadowEffect += (o, s) => DropShadowEffectTopBar.Opacity = 0.25;
|
||||||
@@ -173,6 +232,8 @@ namespace Ink_Canvas.Windows {
|
|||||||
|
|
||||||
public Grid[] SettingsPanes = new Grid[] { };
|
public Grid[] SettingsPanes = new Grid[] { };
|
||||||
public ScrollViewer[] SettingsPaneScrollViewers = new ScrollViewer[] { };
|
public ScrollViewer[] SettingsPaneScrollViewers = new ScrollViewer[] { };
|
||||||
|
public string[] SettingsPaneTitles = new string[] { };
|
||||||
|
public string[] SettingsPaneNames = new string[] { };
|
||||||
|
|
||||||
public enum SidebarItemType {
|
public enum SidebarItemType {
|
||||||
Item,
|
Item,
|
||||||
|
|||||||
Reference in New Issue
Block a user