2026-03-28 16:59:02 +08:00
|
|
|
<Window Name="window" x:Class="Ink_Canvas.MainWindow"
|
2025-05-25 09:29:48 +08:00
|
|
|
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:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
|
2026-03-14 17:19:05 +08:00
|
|
|
xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
|
2025-05-25 09:29:48 +08:00
|
|
|
xmlns:c="clr-namespace:Ink_Canvas.Converter"
|
|
|
|
|
xmlns:Controls="http://schemas.microsoft.com/netfx/2009/xaml/presentation"
|
2026-04-13 13:01:14 +08:00
|
|
|
xmlns:controls="clr-namespace:Ink_Canvas.Controls;assembly=InkCanvas.Controls"
|
|
|
|
|
xmlns:localControls="clr-namespace:Ink_Canvas.Controls"
|
2025-11-29 16:27:35 +08:00
|
|
|
xmlns:Windows="clr-namespace:Ink_Canvas.Windows"
|
2026-02-23 14:14:35 +08:00
|
|
|
xmlns:props="clr-namespace:Ink_Canvas.Properties"
|
2026-02-23 14:31:48 +08:00
|
|
|
xmlns:i18n="clr-namespace:Ink_Canvas.MarkupExtensions"
|
2026-03-03 17:22:48 +08:00
|
|
|
xmlns:helpers="clr-namespace:Ink_Canvas.Helpers"
|
2026-04-13 01:40:39 +08:00
|
|
|
xmlns:icons="clr-namespace:Ink_Canvas"
|
2025-05-25 09:29:48 +08:00
|
|
|
mc:Ignorable="d"
|
|
|
|
|
AllowsTransparency="True"
|
|
|
|
|
WindowStyle="None"
|
|
|
|
|
ResizeMode="NoResize"
|
|
|
|
|
Loaded="Window_Loaded"
|
|
|
|
|
Background="Transparent"
|
|
|
|
|
ShowInTaskbar="False"
|
|
|
|
|
Title="InkCanvasforClass"
|
|
|
|
|
Topmost="True"
|
|
|
|
|
Closing="Window_Closing"
|
|
|
|
|
Closed="Window_Closed"
|
|
|
|
|
PreviewKeyDown="Main_Grid_PreviewKeyDown"
|
2026-04-19 15:13:13 +08:00
|
|
|
Height="11080" Width="1440"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontFamily="Microsoft YaHei UI"
|
|
|
|
|
MouseWheel="Window_MouseWheel"
|
2025-09-21 00:25:09 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2025-05-25 09:29:48 +08:00
|
|
|
SizeChanged="MainWindow_OnSizeChanged"
|
|
|
|
|
MouseMove="MainWindow_OnMouseMove"
|
|
|
|
|
Stylus.IsPressAndHoldEnabled="False"
|
|
|
|
|
Stylus.IsFlicksEnabled="False"
|
|
|
|
|
Stylus.IsTapFeedbackEnabled="False"
|
|
|
|
|
DpiChanged="MainWindow_OnDpiChanged"
|
|
|
|
|
Stylus.IsTouchFeedbackEnabled="False">
|
|
|
|
|
<!--资源中添加命令-->
|
|
|
|
|
<Window.Resources>
|
2025-07-19 13:35:28 +08:00
|
|
|
<ResourceDictionary>
|
|
|
|
|
<!-- 合并新橡皮擦资源 -->
|
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
|
|
|
<ResourceDictionary Source="MainWindow_cs/MW_Eraser.xaml"/>
|
|
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
|
|
2026-04-17 21:10:26 +08:00
|
|
|
<SolidColorBrush x:Key="NavButtonActiveBackground" Color="#3b82f6"/>
|
|
|
|
|
|
2025-07-19 13:35:28 +08:00
|
|
|
<c:IsEnabledToOpacityConverter x:Key="IsEnabledToOpacityConverter" />
|
2025-08-09 13:16:22 +08:00
|
|
|
<c:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
|
2025-10-06 22:41:42 +08:00
|
|
|
<c:InverseBooleanToVisibilityConverter x:Key="InverseBooleanToVisibilityConverter" />
|
2025-08-09 13:16:22 +08:00
|
|
|
<c:IntNumberToString x:Key="IntNumberToString" />
|
|
|
|
|
<c:IntNumberToString2 x:Key="IntNumberToString2" />
|
2026-04-13 01:40:39 +08:00
|
|
|
<c:StringToGeometryConverter x:Key="StringToGeometryConverter" />
|
2025-08-09 13:16:22 +08:00
|
|
|
|
2026-03-03 17:22:48 +08:00
|
|
|
<!-- 浮动栏/白板栏:英文等长文本自动缩小避免截断 -->
|
|
|
|
|
<Style x:Key="AutoFitFloatBarLabel12" TargetType="TextBlock">
|
|
|
|
|
<Setter Property="TextWrapping" Value="NoWrap" />
|
|
|
|
|
<Setter Property="TextAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="7" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="12" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.5" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style x:Key="AutoFitFloatBarLabel9" TargetType="TextBlock">
|
|
|
|
|
<Setter Property="TextWrapping" Value="NoWrap" />
|
|
|
|
|
<Setter Property="TextAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="6" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="9" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.5" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style x:Key="AutoFitFloatBarLabel8" TargetType="TextBlock">
|
|
|
|
|
<Setter Property="TextWrapping" Value="NoWrap" />
|
|
|
|
|
<Setter Property="TextAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
2026-03-04 11:42:22 +08:00
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="3.5" />
|
2026-03-03 17:22:48 +08:00
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="8" />
|
2026-03-04 10:25:25 +08:00
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style x:Key="AutoFitMainToolbarLabel8" TargetType="TextBlock" BasedOn="{StaticResource AutoFitFloatBarLabel8}">
|
|
|
|
|
<Setter Property="Height" Value="10" />
|
|
|
|
|
<Setter Property="LineStackingStrategy" Value="BlockLineHeight" />
|
|
|
|
|
<Setter Property="LineHeight" Value="10" />
|
2026-03-04 11:42:22 +08:00
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="2.5" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.1" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style x:Key="AutoFitPenTabLabel9" TargetType="TextBlock">
|
|
|
|
|
<Setter Property="TextWrapping" Value="NoWrap" />
|
|
|
|
|
<Setter Property="TextAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="3.5" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="9" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.1" />
|
2026-03-04 10:25:25 +08:00
|
|
|
</Style>
|
|
|
|
|
|
2026-03-04 11:48:43 +08:00
|
|
|
<Style x:Key="AutoFitSettingsOptionLabel14" TargetType="TextBlock">
|
2026-03-04 14:06:21 +08:00
|
|
|
<Setter Property="TextWrapping" Value="Wrap" />
|
2026-03-04 11:48:43 +08:00
|
|
|
<Setter Property="TextAlignment" Value="Left" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="8" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="14" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style x:Key="AutoFitSettingsHint15" TargetType="TextBlock">
|
|
|
|
|
<Setter Property="TextWrapping" Value="Wrap" />
|
|
|
|
|
<Setter Property="TextAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="10" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="15" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
2026-03-04 14:06:21 +08:00
|
|
|
<Style x:Key="AutoFitSettingsGridLabel14" TargetType="TextBlock">
|
|
|
|
|
<Setter Property="TextWrapping" Value="Wrap" />
|
|
|
|
|
<Setter Property="TextAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="8" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="14" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
2026-03-04 10:25:25 +08:00
|
|
|
<Style x:Key="AutoFitToolPopupLabel8" TargetType="Label">
|
|
|
|
|
<Setter Property="Padding" Value="0" />
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource FloatBarForeground}" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="3.5" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="8" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
|
2026-03-03 17:22:48 +08:00
|
|
|
</Style>
|
|
|
|
|
|
2026-03-04 11:17:05 +08:00
|
|
|
<Style x:Key="AutoFitGestureOptionLabel10" TargetType="Label">
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource FloatBarForeground}" />
|
2026-04-04 23:34:26 +08:00
|
|
|
<Setter Property="FontWeight" Value="Normal" />
|
2026-03-04 11:17:05 +08:00
|
|
|
<Setter Property="Padding" Value="0" />
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Left" />
|
|
|
|
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="4" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="8" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
2026-04-04 23:34:26 +08:00
|
|
|
<Style x:Key="AutoFitBoardGestureOptionLabel10" TargetType="Label" BasedOn="{StaticResource AutoFitGestureOptionLabel10}">
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="5" />
|
|
|
|
|
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="10" />
|
|
|
|
|
</Style>
|
|
|
|
|
|
2025-08-09 13:16:22 +08:00
|
|
|
<!-- Navigation Button Style -->
|
|
|
|
|
<Style x:Key="NavButton" TargetType="Button">
|
|
|
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
|
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
<Border x:Name="border" Background="{TemplateBinding Background}"
|
|
|
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
|
|
|
CornerRadius="4">
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
<Setter Property="Background" Value="#27272a"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
<Trigger Property="IsPressed" Value="True">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</Trigger>
|
|
|
|
|
<!-- 使用多个DataTrigger替代动态绑定 -->
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="startup">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="canvas">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="gesture">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="inkrecognition">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="crashaction">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="ppt">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="advanced">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="automation">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="randomwindow">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="theme">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="shortcuts">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
<DataTrigger Binding="{Binding Tag}" Value="about">
|
2026-04-17 21:10:26 +08:00
|
|
|
<Setter Property="Background" Value="{StaticResource NavButtonActiveBackground}"/>
|
2025-08-09 13:16:22 +08:00
|
|
|
</DataTrigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
2025-07-19 13:35:28 +08:00
|
|
|
</ResourceDictionary>
|
2025-08-09 13:16:22 +08:00
|
|
|
</Window.Resources>
|
2025-05-25 09:29:48 +08:00
|
|
|
|
|
|
|
|
<Grid x:Name="Main_Grid">
|
2025-07-20 00:25:33 +08:00
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
<!--// 设置界面 //-->
|
2025-06-19 11:25:15 +08:00
|
|
|
<Grid Panel.ZIndex="999" x:Name="BorderSettingsMask" MouseDown="SettingsOverlayClick" IsHitTestVisible="True"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,0,0,0">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Border Name="BorderSettings" Background="#ee18181b" ui:ThemeManager.RequestedTheme="Dark" Width="490"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Left" Margin="300,150,0,350" Visibility="Visible">
|
|
|
|
|
<Grid>
|
2025-06-18 09:08:38 +08:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="50"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<!-- Navigation Sidebar -->
|
|
|
|
|
<Border Grid.Column="0" Background="#1e1e1e" BorderBrush="#27272a" BorderThickness="0,0,1,0">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<!-- 顶部Logo区域 -->
|
|
|
|
|
<Border Grid.Row="0" Height="50" Background="#2d2d30" BorderBrush="#3f3f46" BorderThickness="0,0,0,1">
|
|
|
|
|
<Image Width="30" Height="30" Source="/Resources/icc.ico" RenderOptions.BitmapScalingMode="HighQuality"/>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<!-- 主要导航按钮 -->
|
|
|
|
|
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<!-- Startup -->
|
|
|
|
|
<Button Width="40" Height="40" Margin="0,10,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavStartup_Click" Tag="startup" ToolTip="{x:Static props:Strings.Nav_Startup}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-15 13:02:16 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.NavStartupIconGeometry}, Converter={StaticResource StringToGeometryConverter}}" />
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<!-- Canvas -->
|
|
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavCanvas_Click" Tag="canvas" ToolTip="{x:Static props:Strings.Nav_Canvas}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-15 13:02:16 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.NavCanvasIconGeometry}, Converter={StaticResource StringToGeometryConverter}}" />
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
|
2025-09-21 00:25:09 +08:00
|
|
|
<!-- Crash Action -->
|
|
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavCrashAction_Click" Tag="crashaction" ToolTip="{x:Static props:Strings.Nav_CrashAction}">
|
2025-10-04 09:49:37 +08:00
|
|
|
<Image Width="22" Height="22">
|
2025-09-21 00:25:09 +08:00
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
2025-10-04 09:49:37 +08:00
|
|
|
<GeometryDrawing>
|
|
|
|
|
<GeometryDrawing.Pen>
|
|
|
|
|
<Pen Brush="White" Thickness="2" StartLineCap="Round" EndLineCap="Round" LineJoin="Round"/>
|
|
|
|
|
</GeometryDrawing.Pen>
|
|
|
|
|
<GeometryDrawing.Geometry>
|
|
|
|
|
<PathGeometry Figures="M10.863 4.09101L2.75699 17.625C2.58988 17.9144 2.50145 18.2425 2.5005 18.5766C2.49954 18.9108 2.58609 19.2394 2.75153 19.5297C2.91698 19.8201 3.15555 20.062 3.44353 20.2316C3.7315 20.4011 4.05884 20.4923 4.39299 20.496H20.607C20.941 20.4922 21.2682 20.401 21.556 20.2315C21.8438 20.062 22.0823 19.8202 22.2477 19.53C22.4131 19.2398 22.4997 18.9114 22.4989 18.5774C22.4981 18.2434 22.4098 17.9154 22.243 17.626L14.137 4.09001C13.9664 3.80851 13.7262 3.57575 13.4394 3.4142C13.1527 3.25266 12.8291 3.16779 12.5 3.16779C12.1709 3.16779 11.8473 3.25266 11.5605 3.4142C11.2738 3.57575 11.0335 3.80851 10.863 4.09001V4.09101Z M9.5 13.5H15.5"/>
|
|
|
|
|
</GeometryDrawing.Geometry>
|
|
|
|
|
</GeometryDrawing>
|
2025-09-21 00:25:09 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
|
2025-06-18 09:08:38 +08:00
|
|
|
<!-- Gesture -->
|
|
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavGesture_Click" Tag="gesture" ToolTip="{i18n:I18n Key=Nav_Gesture_Settings}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2025-06-20 13:51:18 +08:00
|
|
|
Geometry="F0 M24,24z M0,0z M7.98145,10.6889L7.98145,3.97896C7.98145,3.37896 8.21145,2.80897 8.64145,2.38896 9.49145,1.53896 10.9714,1.53896 11.8214,2.38896 12.2414,2.80897 12.4814,3.37896 12.4814,3.97896L12.4814,6.87304C13.2752,6.60639 14.2109,6.77837 14.8214,7.38896 14.9934,7.56094 15.1352,7.75807 15.2427,7.97211 16.0798,7.5855 17.157,7.72439 17.8214,8.38879 17.9978,8.56516 18.1424,8.76797 18.2509,8.98835 19.0867,8.60643 20.1592,8.74658 20.8214,9.40881 21.2414,9.82881 21.4814,10.3988 21.4814,10.9988L21.4814,15.4988C21.4814,17.2788 20.7614,19.0188 19.5014,20.2688 18.2314,21.5488 16.5314,22.2488 14.7314,22.2488L14.7314,22.2288 12.7314,22.2288 12.6214,22.2288C11.6114,22.1788 10.6214,21.9088 9.73138,21.4288 8.75138,20.8988 7.91138,20.1288 7.29138,19.1988L7.09138,18.8988C6.76138,18.3988 5.68138,16.5088 3.78138,13.1288 3.49138,12.6188 3.41138,12.0188 3.57138,11.4488 3.72138,10.8788 4.08138,10.3988 4.59138,10.0988 5.09138,9.79881 5.68138,9.67881 6.26138,9.74881 6.84138,9.81881 7.38138,10.0888 7.79138,10.4988L7.98145,10.6889z M16.9814,11.0086L16.9814,11.4788C16.9814,11.8888 17.3214,12.2288 17.7314,12.2288 18.1414,12.2288 18.4814,11.8888 18.4814,11.4788L18.4814,10.9889C18.484,10.7926 18.5637,10.6065 18.7014,10.4688 18.9814,10.1888 19.4814,10.1888 19.7614,10.4688 19.9014,10.6088 19.9814,10.7988 19.9814,10.9988L19.9814,15.4988C19.9814,16.8788 19.4214,18.2288 18.4414,19.2088 17.4514,20.1988 16.1314,20.7488 14.7314,20.7488L12.9414,20.7488C12.0714,20.7488 11.2114,20.5288 10.4514,20.1188 9.69138,19.7088 9.04138,19.1088 8.56138,18.3888L8.36138,18.0888C8.06138,17.6188 6.96138,15.7088 5.10138,12.3988 5.00138,12.2288 4.98138,12.0288 5.03138,11.8388 5.08138,11.6488 5.20138,11.4888 5.37138,11.3888 5.58138,11.2588 5.83138,11.2088 6.08138,11.2388 6.32138,11.2688 6.55138,11.3888 6.73138,11.5588L8.20138,13.0288C8.49138,13.3188 8.97138,13.3188 9.26138,13.0288 9.38653,12.9037 9.45767,12.7431 9.4748,12.5778 9.47918,12.5454 9.48145,12.5124 9.48145,12.479L9.48145,3.97896C9.48145,3.77897 9.56145,3.58896 9.70145,3.44896 9.98145,3.16896 10.4814,3.16896 10.7614,3.44896 10.9014,3.58896 10.9814,3.77897 10.9814,3.97896L10.9814,8.97896 10.9814,10.979 10.9814,11.479C10.9814,11.889 11.3214,12.229 11.7314,12.229 12.1414,12.229 12.4814,11.889 12.4814,11.479L12.4814,10.979 12.4814,8.97896C12.4814,8.77897 12.5614,8.58897 12.7014,8.44897 12.9814,8.16897 13.4814,8.16897 13.7614,8.44897 13.9014,8.58897 13.9814,8.77897 13.9814,8.97896L13.9814,9.97879 13.9814,11.479C13.9814,11.889 14.3214,12.229 14.7314,12.229 15.1414,12.229 15.4814,11.889 15.4814,11.479L15.4814,9.97879C15.4814,9.77879 15.5614,9.58879 15.7014,9.44879 15.9814,9.16879 16.4814,9.16879 16.7614,9.44879 16.9014,9.58879 16.9814,9.77879 16.9814,9.97879L16.9814,10.9814 16.9814,10.9988 16.9814,11.0086z M3.27144,5.81876C3.04144,5.81876 2.81144,5.70876 2.66144,5.50876 2.42144,5.17876 2.49144,4.70876 2.82144,4.45876 3.63144,3.86876 4.50144,3.35876 5.42144,2.94876 5.80144,2.77876 6.24144,2.94876 6.41144,3.32875 6.58144,3.70876 6.41144,4.14876 6.03144,4.31876 5.21144,4.68876 4.43144,5.13875 3.71144,5.66876 3.58144,5.76876 3.42144,5.80875 3.27144,5.80875L3.27144,5.81876z M18.0113,5.17885C18.1413,5.25885,18.2713,5.29885,18.4113,5.29885L18.4113,5.28885C18.6613,5.28885 18.9113,5.16885 19.0513,4.93885 19.2713,4.58885 19.1613,4.12885 18.8113,3.90885 17.6013,3.14885 16.3013,2.57885 14.9213,2.20885 14.5113,2.09885 14.1113,2.33885 14.0013,2.73885 13.8913,3.13885 14.1313,3.54885 14.5313,3.65885 15.7613,3.98885 16.9313,4.49885 18.0113,5.17885z" />
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<!-- Ink Recognition -->
|
|
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavInkRecognition_Click" Tag="inkrecognition" ToolTip="{x:Static props:Strings.Nav_InkRecognition}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-15 13:02:16 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.NavInkRecognitionIconGeometry}, Converter={StaticResource StringToGeometryConverter}}" />
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
2025-09-21 00:25:09 +08:00
|
|
|
|
|
|
|
|
<!-- Theme -->
|
2025-06-18 09:08:38 +08:00
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavTheme_Click" Tag="theme" ToolTip="{i18n:I18n Key=Nav_Theme_Settings}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-15 13:02:16 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.NavThemeIconGeometry}, Converter={StaticResource StringToGeometryConverter}}" />
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<!-- PPT -->
|
|
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavPPT_Click" Tag="ppt" ToolTip="{i18n:I18n Key=Nav_PPT_Settings}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-15 13:02:16 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.NavPPTIconGeometry}, Converter={StaticResource StringToGeometryConverter}}" />
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<!-- Advanced -->
|
|
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavAdvanced_Click" Tag="advanced" ToolTip="{i18n:I18n Key=Nav_Advanced_Settings}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-15 13:02:16 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.NavAdvancedIconGeometry}, Converter={StaticResource StringToGeometryConverter}}" />
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<!-- Automation -->
|
|
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavAutomation_Click" Tag="automation" ToolTip="{i18n:I18n Key=Nav_Automation_Settings}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-15 13:02:16 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.NavAutomationIconGeometry}, Converter={StaticResource StringToGeometryConverter}}" />
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
<!-- Random Window -->
|
|
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavRandomWindow_Click" Tag="randomwindow" ToolTip="{i18n:I18n Key=Nav_RandomWindow_Settings}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-15 13:02:16 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.NavRandomWindowIconGeometry}, Converter={StaticResource StringToGeometryConverter}}" />
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
|
2025-09-21 00:25:09 +08:00
|
|
|
<!-- About -->
|
2025-06-18 09:08:38 +08:00
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavAbout_Click" Tag="about" ToolTip="{x:Static props:Strings.Nav_About}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-15 13:02:16 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.NavAboutIconGeometry}, Converter={StaticResource StringToGeometryConverter}}" />
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
2025-09-21 00:25:09 +08:00
|
|
|
|
2025-09-13 21:38:03 +08:00
|
|
|
<!-- 快捷键设置 -->
|
2025-06-18 09:08:38 +08:00
|
|
|
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="NavShortcuts_Click" Tag="shortcuts" ToolTip="{i18n:I18n Key=Nav_Shortcuts_Settings}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-15 13:02:16 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.NavShortcutsIconGeometry}, Converter={StaticResource StringToGeometryConverter}}"/>
|
2025-06-18 09:08:38 +08:00
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
|
|
|
|
|
<!-- 底部操作按钮 -->
|
|
|
|
|
<StackPanel Grid.Row="2" Margin="0,5,0,10">
|
|
|
|
|
<Separator Background="#3f3f46" Margin="5,0,5,10"/>
|
|
|
|
|
|
|
|
|
|
<!-- 折叠侧边栏按钮 -->
|
|
|
|
|
<Button Width="40" Height="40" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="CollapseNavSidebar_Click" ToolTip="{i18n:I18n Key=CollapseNavSidebar}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"/>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<!-- Content Area -->
|
|
|
|
|
<Grid Grid.Column="1">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="80"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<!-- 标题栏 -->
|
|
|
|
|
<Grid ClipToBounds="True" Grid.Row="0" Margin="0,0,0,0" Height="80" VerticalAlignment="Top">
|
|
|
|
|
<Border Background="#18181b" CornerRadius="0" Margin="-1,-1,-1,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
2025-06-18 09:08:38 +08:00
|
|
|
<!-- 显示侧边栏按钮 -->
|
|
|
|
|
<Button Width="40" Height="40" Margin="10,0,0,0" Style="{StaticResource NavButton}"
|
2026-02-23 14:31:48 +08:00
|
|
|
Click="ShowNavSidebar_Click" ToolTip="{i18n:I18n Key=ShowNavSidebar}">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"/>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
2026-02-23 14:31:48 +08:00
|
|
|
<TextBlock Foreground="White" Margin="15,-2,0,0" Text="{i18n:I18n Key=Settings_Title}" FontWeight="Bold"
|
2025-06-18 09:08:38 +08:00
|
|
|
FontSize="32" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-06-18 09:08:38 +08:00
|
|
|
</Border>
|
|
|
|
|
<Canvas>
|
|
|
|
|
<Image Canvas.Top="12" Canvas.Right="-16" Width="98" Height="98" Opacity="0.4">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<!-- giving the transform a name tells the framework not to freeze it -->
|
|
|
|
|
<RotateTransform CenterX="49" CenterY="49" />
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V257 H257 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="GhostWhite"
|
|
|
|
|
Geometry="F0 M257,257z M0,0z M93.339,256.594L88.2444,215.634C85.4849,214.567 82.8846,213.287 80.4434,211.794 78.0023,210.301 75.6142,208.701 73.2793,206.994L35.3887,222.994 0.363831,162.194 33.1598,137.234C32.9476,135.741,32.8414,134.301,32.8414,132.914L32.8414,124.274C32.8414,122.887,32.9476,121.447,33.1598,119.954L0.363831,94.9941 35.3887,34.1941 73.2793,50.1941C75.6142,48.4874 78.0554,46.8874 80.6026,45.3941 83.1499,43.9007 85.6972,42.6207 88.2444,41.5541L93.339,0.594055 163.389,0.594055 168.483,41.5541C171.243,42.6207 173.843,43.9007 176.284,45.3941 178.725,46.8874 181.113,48.4874 183.448,50.1941L221.339,34.1941 256.364,94.9941 223.568,119.954C223.78,121.447,223.886,122.887,223.886,124.274L223.886,132.914C223.886,134.301,223.674,135.741,223.249,137.234L256.045,162.194 221.021,222.994 183.448,206.994C181.113,208.701 178.672,210.301 176.125,211.794 173.578,213.287 171.031,214.567 168.483,215.634L163.389,256.594 93.339,256.594z M160.523,160.274C151.82,169.021 141.312,173.394 129.001,173.394 116.477,173.394 105.916,169.021 97.3191,160.274 88.722,151.527 84.4235,140.967 84.4235,128.594 84.4235,116.221 88.722,105.661 97.3191,96.9141 105.916,88.1674 116.477,83.7941 129.001,83.7941 141.312,83.7941 151.82,88.1674 160.523,96.9141 169.226,105.661 173.578,116.221 173.578,128.594 173.578,140.967 169.226,151.527 160.523,160.274z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
<Image.Triggers>
|
|
|
|
|
<EventTrigger RoutedEvent="Loaded">
|
|
|
|
|
<BeginStoryboard>
|
|
|
|
|
<Storyboard>
|
|
|
|
|
<DoubleAnimation
|
|
|
|
|
Storyboard.TargetProperty="(Image.RenderTransform).(RotateTransform.Angle)"
|
|
|
|
|
To="-360" Duration="0:0:3" RepeatBehavior="Forever" />
|
|
|
|
|
</Storyboard>
|
|
|
|
|
</BeginStoryboard>
|
|
|
|
|
</EventTrigger>
|
|
|
|
|
</Image.Triggers>
|
|
|
|
|
</Image>
|
|
|
|
|
</Canvas>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<!-- 内容区域 -->
|
|
|
|
|
<ui:ScrollViewerEx Grid.Row="1" Margin="0,0,0,0" VerticalScrollBarVisibility="Auto"
|
|
|
|
|
PanningMode="VerticalOnly" ui:ThemeManager.RequestedTheme="Dark"
|
|
|
|
|
ManipulationBoundaryFeedback="SCManipulationBoundaryFeedback"
|
|
|
|
|
Name="SettingsPanelScrollViewer">
|
2026-04-06 15:02:04 +08:00
|
|
|
<StackPanel Margin="20,20,20,20">
|
2025-05-25 09:29:48 +08:00
|
|
|
|
2026-04-06 15:02:04 +08:00
|
|
|
<Border Margin="0,0,0,10" Height="100" CornerRadius="5" BorderBrush="#a1a1aa"
|
|
|
|
|
BorderThickness="1">
|
|
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center">
|
|
|
|
|
<TextBlock Foreground="#fafafa" HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center" FontSize="15" Margin="0,0,0,10"
|
|
|
|
|
Text="{i18n:I18n Key=Settings_AutoSaveHint}" Width="360"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsHint15}" />
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="5">
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="5" Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Center">
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Width="116" Height="45"
|
2026-04-06 15:02:04 +08:00
|
|
|
Click="BtnRestart_Click">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
</Button.Resources>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
|
|
|
|
VerticalAlignment="Center"
|
2026-04-10 21:02:17 +08:00
|
|
|
HorizontalAlignment="Center">
|
2026-04-06 15:02:04 +08:00
|
|
|
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Margin="0,0,6,0" Height="20" Width="20">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F1 M24,24z M0,0z M6.34315,6.34315C7.84299,4.8433 9.87707,4.0005 11.9981,4 14.2527,4.00897 16.4167,4.88785 18.039,6.45324L18.5858,7 16,7C15.4477,7 15,7.44772 15,8 15,8.55228 15.4477,9 16,9L21,9C21.1356,9 21.2649,8.97301 21.3828,8.92412 21.5007,8.87532 21.6112,8.80298 21.7071,8.70711 21.8902,8.52405 21.9874,8.28768 21.9989,8.04797 21.9996,8.03199 22,8.016 22,8L22,3C22,2.44772 21.5523,2 21,2 20.4477,2 20,2.44772 20,3L20,5.58579 19.4471,5.03289 19.435,5.02103C17.4405,3.09289,14.7779,2.01044,12.0038,2L12,2C9.34784,2 6.8043,3.05357 4.92893,4.92893 3.05357,6.8043 2,9.34784 2,12 2,12.5523 2.44772,13 3,13 3.55228,13 4,12.5523 4,12 4,9.87827 4.84285,7.84344 6.34315,6.34315z" />
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F1 M24,24z M0,0z M22,12C22,14.6522 20.9464,17.1957 19.0711,19.0711 17.1957,20.9464 14.6522,22 12,22L11.9962,22C9.22213,21.9896,6.55946,20.9071,4.56496,18.979L4.55289,18.9671 4,18.4142 4,21C4,21.5523 3.55228,22 3,22 2.44772,22 2,21.5523 2,21L2,16.0002C2,15.8646 2.02699,15.7351 2.07588,15.6172 2.12432,15.5001 2.19595,15.3904 2.29078,15.295 2.29219,15.2936 2.2936,15.2922 2.29502,15.2908 2.48924,15.0977 2.74301,15.0008 2.997,15 2.998,15 2.999,15 3,15L8,15C8.55228,15 9,15.4477 9,16 9,16.5523 8.55228,17 8,17L5.41421,17 5.96095,17.5467C7.5833,19.1122 9.74736,19.9911 12.002,20 14.123,19.9995 16.157,19.1567 17.6569,17.6569 19.1571,16.1566 20,14.1217 20,12 20,11.4477 20.4477,11 21,11 21.5523,11 22,11.4477 22,12z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<Label FontSize="16" Foreground="#fafafa"
|
2026-04-10 20:22:09 +08:00
|
|
|
VerticalAlignment="Center"
|
2026-04-06 15:02:04 +08:00
|
|
|
FontWeight="Bold" Content="{i18n:I18n Key=Btn_Restart}"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Button>
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Width="116" Height="45"
|
2026-04-06 15:02:04 +08:00
|
|
|
Click="BtnResetToSuggestion_Click"
|
|
|
|
|
Margin="0,0,0,0">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
|
|
|
|
VerticalAlignment="Center"
|
2026-04-10 21:02:17 +08:00
|
|
|
HorizontalAlignment="Center">
|
2026-04-06 15:02:04 +08:00
|
|
|
<Image
|
|
|
|
|
Margin="0,0,4,0" RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="20" Width="20">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F1 M24,24z M0,0z M2,6C2,5.44772,2.44772,5,3,5L21,5C21.5523,5 22,5.44772 22,6 22,6.55228 21.5523,7 21,7L3,7C2.44772,7,2,6.55228,2,6z" />
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F1 M24,24z M0,0z M2,12C2,11.4477,2.44772,11,3,11L7,11C7.55228,11 8,11.4477 8,12 8,12.5523 7.55228,13 7,13L3,13C2.44772,13,2,12.5523,2,12z" />
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F1 M24,24z M0,0z M3,17C2.44772,17 2,17.4477 2,18 2,18.5523 2.44772,19 3,19L7,19C7.55228,19 8,18.5523 8,18 8,17.4477 7.55228,17 7,17L3,17z" />
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F1 M24,24z M0,0z M12.3829,11.2029C13.4335,10.1522 14.8952,9.5 16.5,9.5 17.9587,9.5 19.3576,10.0795 20.3891,11.1109 21.4205,12.1424 22,13.5413 22,15 22,16.2593 21.6038,17.4867 20.8675,18.5083 20.1311,19.5299 19.092,20.2939 17.8974,20.6921 16.7027,21.0903 15.413,21.1026 14.211,20.7271 13.009,20.3516 11.9556,19.6074 11.2,18.6 10.8686,18.1582 10.9582,17.5314 11.4,17.2 11.8418,16.8686 12.4686,16.9582 12.8,17.4 13.3037,18.0716 14.006,18.5677 14.8073,18.8181 15.6087,19.0684 16.4685,19.0602 17.2649,18.7947 18.0614,18.5292 18.7541,18.0199 19.245,17.3388 19.7359,16.6578 20,15.8395 20,15 20,14.0717 19.6313,13.1815 18.9749,12.5251 18.3185,11.8687 17.4283,11.5 16.5,11.5 15.4448,11.5 14.4865,11.9278 13.7971,12.6171L13.4142,13 15,13C15.5523,13 16,13.4477 16,14 16,14.5523 15.5523,15 15,15L11.0007,15C10.9997,15 10.998,15 10.997,15 10.8625,14.9996 10.7343,14.9727 10.6172,14.9241 10.5001,14.8757 10.3904,14.804 10.295,14.7092 10.2936,14.7078 10.2922,14.7064 10.2908,14.705 10.196,14.6096 10.1243,14.4999 10.0759,14.3828 10.027,14.2649 10,14.1356 10,14L10,10C10,9.44772 10.4477,9 11,9 11.5523,9 12,9.44772 12,10L12,11.5858 12.3829,11.2029z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<Label Margin="2,0,0,0" FontSize="16" VerticalAlignment="Center"
|
2026-04-10 20:22:09 +08:00
|
|
|
Content="{i18n:I18n Key=Btn_Reset}"/>
|
2026-04-06 15:02:04 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Button>
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Width="116" Height="45"
|
2026-04-06 15:02:04 +08:00
|
|
|
Click="BtnExit_Click">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
</Button.Resources>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
|
|
|
|
VerticalAlignment="Center"
|
2026-04-10 21:02:17 +08:00
|
|
|
HorizontalAlignment="Center">
|
2026-04-06 15:02:04 +08:00
|
|
|
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Margin="0,0,6,0" Height="20" Width="20">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F1 M24,24z M0,0z M13,2C13,1.44772 12.5523,1 12,1 11.4477,1 11,1.44772 11,2L11,12C11,12.5523 11.4477,13 12,13 12.5523,13 13,12.5523 13,12L13,2z" />
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F1 M24,24z M0,0z M19.1073,5.89303C18.7168,5.50243 18.0837,5.50232 17.6931,5.89277 17.3025,6.28322 17.3024,6.91639 17.6928,7.30698 18.8098,8.42441 19.571,9.84758 19.8802,11.397 20.1894,12.9464 20.0329,14.5528 19.4305,16.0134 18.828,17.474 17.8065,18.7235 16.4948,19.6043 15.1831,20.4851 13.64,20.9578 12.06,20.9628 10.48,20.9677 8.93392,20.5047 7.61674,19.6321 6.29956,18.7595 5.27025,17.5164 4.65863,16.0596 4.04701,14.6028 3.88046,12.9975 4.17999,11.4462 4.47952,9.89485 5.23171,8.46694 6.3417,7.34254 6.7297,6.9495 6.72562,6.31635 6.33258,5.92835 5.93955,5.54036 5.3064,5.54444 4.9184,5.93747 3.5309,7.34298 2.59067,9.12786 2.21626,11.067 1.84185,13.0062 2.05003,15.0128 2.81456,16.8338 3.57909,18.6549 4.86572,20.2087 6.5122,21.2994 8.15867,22.3902 10.0913,22.9689 12.0662,22.9627 14.0412,22.9566 15.9701,22.3657 17.6098,21.2647 19.2494,20.1637 20.5262,18.6018 21.2793,16.776 22.0324,14.9502 22.2281,12.9424 21.8415,11.0056 21.455,9.06878 20.5036,7.28981 19.1073,5.89303z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<Label Foreground="#fafafa" FontSize="16"
|
2026-04-10 20:22:09 +08:00
|
|
|
VerticalAlignment="Center"
|
2026-04-06 15:02:04 +08:00
|
|
|
FontWeight="Bold" Content="{i18n:I18n Key=Btn_Exit}"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Button>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-06 15:02:04 +08:00
|
|
|
</Border>
|
2026-04-23 23:53:52 +08:00
|
|
|
|
2025-09-06 21:26:46 +08:00
|
|
|
|
2026-04-06 15:02:04 +08:00
|
|
|
<GroupBox Name="GroupBoxSettings">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Settings_NewWindow}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="26" />
|
|
|
|
|
</GroupBox.Header>
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="6" Margin="0,10,0,0">
|
|
|
|
|
<TextBlock TextWrapping="Wrap" Margin="0,0,0,10" Foreground="#fafafa" Text="{i18n:I18n Key=Settings_NewWindowDesc}"/>
|
|
|
|
|
<Button x:Name="BtnOpenSettings" Content="{i18n:I18n Key=Btn_OpenNewSettings}"
|
|
|
|
|
HorizontalAlignment="Left" Click="BtnOpenNewNewSettings_Click"
|
|
|
|
|
Padding="15,5" Margin="0,10,0,0"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</GroupBox>
|
2026-04-25 13:56:16 +08:00
|
|
|
|
2026-04-23 22:09:27 +08:00
|
|
|
<GroupBox Name="GroupBoxAppearanceNewUI">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Theme_GroupTitle}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="26" />
|
|
|
|
|
</GroupBox.Header>
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="6">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_Label}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ComboBox Name="ComboBoxTheme"
|
|
|
|
|
SelectedIndex="0"
|
|
|
|
|
SelectionChanged="ComboBoxTheme_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Light}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Dark}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_System}" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_LanguageLabel}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ComboBox Name="ComboBoxLanguage"
|
|
|
|
|
SelectedIndex="0"
|
|
|
|
|
SelectionChanged="ComboBoxLanguage_SelectionChanged"
|
|
|
|
|
Width="160">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Language_System}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Language_ChineseSimplified}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Language_English}" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=Theme_Language_RestartHint}"
|
|
|
|
|
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableSplashScreen" Label="{i18n:I18n Key=Theme_EnableSplash}" IsOn="False" Toggled="ToggleSwitchEnableSplashScreen_Toggled"/>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_SplashStyle}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ComboBox Name="ComboBoxSplashScreenStyle"
|
|
|
|
|
SelectedIndex="1" Width="150"
|
|
|
|
|
SelectionChanged="ComboBoxSplashScreenStyle_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Random}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Seasonal}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Spring}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Summer}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Autumn}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Winter}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Horse}" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
|
|
|
|
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_FloatingBarIcon}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ComboBox Name="ComboBoxFloatingBarImg"
|
|
|
|
|
SelectedIndex="0"
|
|
|
|
|
SelectionChanged="ComboBoxFloatingBarImg_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccDefault}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccNoShadow}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccDark}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccDarkBreath}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccWhiteTransparent}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccBlackTransparent}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_CoolapkCrossEye}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_CoolapkAbused}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_CoolapkSmile}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_CoolapkUnderwear}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_CoolapkGreenHatDoge}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_TiebaEmoji}" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,6,0,0">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_CustomFloatingIconLabel}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<Button Name="ButtonAddCustomIcon" Content="{i18n:I18n Key=Theme_Upload}"
|
|
|
|
|
Click="ButtonAddCustomIcon_Click" Padding="10,3"/>
|
|
|
|
|
<Button Name="ButtonManageCustomIcons" Content="{i18n:I18n Key=Theme_Manage}"
|
|
|
|
|
Click="ButtonManageCustomIcons_Click" Padding="10,3" Margin="5,0,0,0"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_FloatingBarScale}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<Slider x:Name="ViewboxFloatingBarScaleTransformValueSlider" Minimum="0.5"
|
|
|
|
|
Maximum="1.25" Width="168"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="ViewboxFloatingBarScaleTransformValueSlider_ValueChanged" />
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=ViewboxFloatingBarScaleTransformValueSlider, Path=Value}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
|
|
|
|
|
Margin="12,0,16,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_FloatingBarOpacity}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<Slider x:Name="ViewboxFloatingBarOpacityValueSlider" Minimum="0.3"
|
|
|
|
|
Maximum="1" Width="168"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="ViewboxFloatingBarOpacityValueSlider_ValueChanged" />
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=ViewboxFloatingBarOpacityValueSlider, Path=Value}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
|
|
|
|
|
Margin="12,0,16,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_FloatingBarOpacityInPPT}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<Slider x:Name="ViewboxFloatingBarOpacityInPPTValueSlider" Minimum="0.3"
|
|
|
|
|
Maximum="1" Width="168"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="ViewboxFloatingBarOpacityInPPTValueSlider_ValueChanged" />
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=ViewboxFloatingBarOpacityInPPTValueSlider, Path=Value}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
|
|
|
|
|
Margin="12,0,16,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=Theme_FloatingBarOpacityInPPTHint}"
|
|
|
|
|
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
|
|
|
|
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableDisPlayNibModeToggle" Label="{i18n:I18n Key=Theme_ShowNibButton}" IsOn="False" Toggled="ToggleSwitchEnableDisPlayNibModeToggle_Toggled"/>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
|
|
|
|
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<!--<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Text="浮动工具栏背景色" VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0"/>
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchColorfulViewboxFloatingBar" IsOn="True" FontWeight="Bold" Toggled="ToggleSwitchIsColorfulViewboxFloatingBar_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>-->
|
|
|
|
|
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableViewboxBlackBoardScaleTransform" Label="{i18n:I18n Key=Theme_BlackboardScale80}" IsOn="True" Toggled="ToggleSwitchEnableViewboxBlackBoardScaleTransform_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableTimeDisplayInWhiteboardMode" Label="{i18n:I18n Key=Theme_ShowTimeInWhiteboard}" IsOn="True" Toggled="ToggleSwitchEnableTimeDisplayInWhiteboardMode_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableChickenSoupInWhiteboardMode" Label="{i18n:I18n Key=Theme_ShowQuoteInWhiteboard}" IsOn="True" Toggled="ToggleSwitchEnableChickenSoupInWhiteboardMode_Toggled"/>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_QuoteSource}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,6" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<ComboBox Name="ComboBoxChickenSoupSource"
|
|
|
|
|
Width="240"
|
|
|
|
|
SelectionChanged="ComboBoxChickenSoupSource_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuoteSource_OsuQuotes}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuoteSource_Mottos}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuoteSource_GaokaoBless}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuoteSource_Hitokoto}" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
<Button Name="BtnHitokotoCustomize" Content="{i18n:I18n Key=Theme_Customize}"
|
|
|
|
|
FontSize="14" Padding="14,4" Margin="8,0,0,0" MinWidth="65" VerticalAlignment="Center"
|
|
|
|
|
Click="BtnHitokotoCustomize_Click"
|
|
|
|
|
Visibility="Collapsed" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
|
|
|
|
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableQuickPanel" Label="{i18n:I18n Key=Theme_EnableQuickPanel}" IsOn="True" Toggled="ToggleSwitchEnableQuickPanel_Toggled"/>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_UnfoldButtonIcon}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ComboBox Name="ComboBoxUnFoldBtnImg"
|
|
|
|
|
SelectedIndex="0"
|
|
|
|
|
SelectionChanged="ComboBoxUnFoldBtnImg_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_UnfoldIcon_Arrow}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_UnfoldIcon_Pen}" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
|
|
|
|
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
|
|
|
|
|
<!-- 浮动栏按钮显示控制 -->
|
|
|
|
|
<Border Background="#101010" Height="50" Margin="-20,0" Padding="20,0">
|
|
|
|
|
<Grid>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" FlowDirection="RightToLeft">
|
|
|
|
|
<Image Height="24" Width="24" Margin="16,0,0,0">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#FFFFFFFF"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M4.41721,4.29873C4.35178,4.29873,4.29873,4.35178,4.29873,4.41721L4.29873,9.15646C4.29873,9.22189,4.35178,9.27494,4.41721,9.27494L9.15646,9.27494C9.22189,9.27494,9.27494,9.22189,9.27494,9.15646L9.27494,4.41721C9.27494,4.35178,9.22189,4.29873,9.15646,4.29873L4.41721,4.29873z M2.64,4.41721C2.64,3.43569,3.43569,2.64,4.41721,2.64L9.15646,2.64C10.138,2.64,10.9337,3.43569,10.9337,4.41721L10.9337,9.15646C10.9337,10.138,10.138,10.9337,9.15646,10.9337L4.41721,10.9337C3.43569,10.9337,2.64,10.138,2.64,9.15646L2.64,4.41721z M14.8435,4.29873C14.7781,4.29873,14.7251,4.35178,14.7251,4.41721L14.7251,9.15646C14.7251,9.22189,14.7781,9.27494,14.8435,9.27494L19.5828,9.27494C19.6482,9.27494,19.7013,9.22189,19.7013,9.15646L19.7013,4.41721C19.7013,4.35178,19.6482,4.29873,19.5828,4.29873L14.8435,4.29873z M13.0663,4.41721C13.0663,3.43569,13.862,2.64,14.8435,2.64L19.5828,2.64C20.5643,2.64,21.36,3.43569,21.36,4.41721L21.36,9.15646C21.36,10.138,20.5643,10.9337,19.5828,10.9337L14.8435,10.9337C13.862,10.9337,13.0663,10.138,13.0663,9.15646L13.0663,4.41721z M14.8435,14.7251C14.7781,14.7251,14.7251,14.7781,14.7251,14.8435L14.7251,19.5828C14.7251,19.6482,14.7781,19.7013,14.8435,19.7013L19.5828,19.7013C19.6482,19.7013,19.7013,19.6482,19.7013,19.5828L19.7013,14.8435C19.7013,14.7781,19.6482,14.7251,19.5828,14.7251L14.8435,14.7251z M13.0663,14.8435C13.0663,13.862,13.862,13.0663,14.8435,13.0663L19.5828,13.0663C20.5643,13.0663,21.36,13.862,21.36,14.8435L21.36,19.5828C21.36,20.5643,20.5643,21.36,19.5828,21.36L14.8435,21.36C13.862,21.36,13.0663,20.5643,13.0663,19.5828L13.0663,14.8435z M4.41721,14.7251C4.35178,14.7251,4.29873,14.7781,4.29873,14.8435L4.29873,19.5828C4.29873,19.6482,4.35178,19.7013,4.41721,19.7013L9.15646,19.7013C9.22189,19.7013,9.27494,19.6482,9.27494,19.5828L9.27494,14.8435C9.27494,14.7781,9.22189,14.7251,9.15646,14.7251L4.41721,14.7251z M2.64,14.8435C2.64,13.862,3.43569,13.0663,4.41721,13.0663L9.15646,13.0663C10.138,13.0663,10.9337,13.862,10.9337,14.8435L10.9337,19.5828C10.9337,20.5643,10.138,21.36,9.15646,21.36L4.41721,21.36C3.43569,21.36,2.64,20.5643,2.64,19.5828L2.64,14.8435z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="{i18n:I18n Key=Theme_FloatingBarButtonsTitle}"
|
|
|
|
|
FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="20" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<!-- 老版UI切换按钮 -->
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,12">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_UseLegacyFloatingBarUI}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" Width="320"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<CheckBox Name="CheckBoxUseLegacyFloatingBarUI"
|
|
|
|
|
IsChecked="False" FontWeight="Bold"
|
|
|
|
|
Checked="CheckBoxUseLegacyFloatingBarUI_Checked" Unchecked="CheckBoxUseLegacyFloatingBarUI_Unchecked" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 第一行:形状按钮和撤销按钮 -->
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Margin="0,0,0,8">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowShapeButton}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" Width="150"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<CheckBox Name="CheckBoxShowShapeButton"
|
|
|
|
|
IsChecked="True" FontWeight="Bold"
|
|
|
|
|
Checked="CheckBoxShowShapeButton_Checked" Unchecked="CheckBoxShowShapeButton_Unchecked" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowUndoButton}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" Width="150"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<CheckBox Name="CheckBoxShowUndoButton"
|
|
|
|
|
IsChecked="True" FontWeight="Bold"
|
|
|
|
|
Checked="CheckBoxShowUndoButton_Checked" Unchecked="CheckBoxShowUndoButton_Unchecked" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 第二行:重做按钮和清空按钮 -->
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Margin="0,0,0,8">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowRedoButton}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" Width="150"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<CheckBox Name="CheckBoxShowRedoButton"
|
|
|
|
|
IsChecked="True" FontWeight="Bold"
|
|
|
|
|
Checked="CheckBoxShowRedoButton_Checked" Unchecked="CheckBoxShowRedoButton_Unchecked" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowClearButton}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" Width="150"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<CheckBox Name="CheckBoxShowClearButton"
|
|
|
|
|
IsChecked="True" FontWeight="Bold"
|
|
|
|
|
Checked="CheckBoxShowClearButton_Checked" Unchecked="CheckBoxShowClearButton_Unchecked" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 第三行:白板按钮和隐藏按钮 -->
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Margin="0,0,0,8">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowWhiteboardButton}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" Width="150"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<CheckBox Name="CheckBoxShowWhiteboardButton"
|
|
|
|
|
IsChecked="True" FontWeight="Bold"
|
|
|
|
|
Checked="CheckBoxShowWhiteboardButton_Checked" Unchecked="CheckBoxShowWhiteboardButton_Unchecked" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowHideButton}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" Width="150"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<CheckBox Name="CheckBoxShowHideButton"
|
|
|
|
|
IsChecked="True" FontWeight="Bold"
|
|
|
|
|
Checked="CheckBoxShowHideButton_Checked" Unchecked="CheckBoxShowHideButton_Unchecked" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 第四行:套索选择按钮和清并鼠按钮 -->
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Margin="0,0,0,8">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowLassoButton}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" Width="150"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<CheckBox Name="CheckBoxShowLassoSelectButton"
|
|
|
|
|
IsChecked="True" FontWeight="Bold"
|
|
|
|
|
Checked="CheckBoxShowLassoSelectButton_Checked" Unchecked="CheckBoxShowLassoSelectButton_Unchecked" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowClearAndMouseButton}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" Width="150"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<CheckBox Name="CheckBoxShowClearAndMouseButton"
|
|
|
|
|
IsChecked="True" FontWeight="Bold"
|
|
|
|
|
Checked="CheckBoxShowClearAndMouseButton_Checked" Unchecked="CheckBoxShowClearAndMouseButton_Unchecked" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 第五行:快捷调色盘(单独一行,因为需要更多空间) -->
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,8">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowQuickPalette}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" />
|
|
|
|
|
<CheckBox Name="CheckBoxShowQuickColorPalette"
|
|
|
|
|
IsChecked="False" FontWeight="Bold"
|
|
|
|
|
Checked="CheckBoxShowQuickColorPalette_Checked" Unchecked="CheckBoxShowQuickColorPalette_Unchecked" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_QuickPaletteMode}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ComboBox Name="ComboBoxQuickColorPaletteDisplayMode"
|
|
|
|
|
SelectedIndex="1"
|
|
|
|
|
SelectionChanged="ComboBoxQuickColorPaletteDisplayMode_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuickPalette_SingleRow}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuickPalette_DoubleRow}" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_EraserButtonDisplay}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ComboBox Name="ComboBoxEraserDisplayOption"
|
|
|
|
|
SelectedIndex="0"
|
|
|
|
|
SelectionChanged="ComboBoxEraserDisplayOption_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_EraserDisplay_Both}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_EraserDisplay_AreaOnly}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_EraserDisplay_LineOnly}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Theme_EraserDisplay_None}" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
|
|
|
|
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
|
|
|
|
|
<Border Background="#101010" Height="50" Margin="-20,0" Padding="20,0">
|
|
|
|
|
<Grid>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" FlowDirection="RightToLeft">
|
|
|
|
|
<Image Height="24" Width="24" Margin="16,0,0,0">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V17 H19 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#FFFFFFFF"
|
|
|
|
|
Geometry="F1 M19,17z M0,0z M14.8268,0.0699463C15.3572,0.600333 15.8257,1.17492 16.2323,1.7937 16.6448,2.41249 16.9925,3.06368 17.2754,3.74729 17.5583,4.42501 17.7704,5.12925 17.9119,5.86 18.0592,6.58486 18.1329,7.32151 18.1329,8.06995 18.1329,8.81838 18.0592,9.55798 17.9119,10.2887 17.7704,11.0136 17.5583,11.7178 17.2754,12.4014 16.9925,13.0792 16.6448,13.7274 16.2323,14.3462 15.8257,14.965 15.3572,15.5396 14.8268,16.0699L14.0312,15.2744C14.5086,14.797 14.9299,14.2814 15.2953,13.7274 15.6666,13.1676 15.9789,12.5812 16.2323,11.9683 16.4857,11.3554 16.6773,10.7219 16.8069,10.0677 16.9424,9.4077 17.0102,8.74177 17.0102,8.06995 17.0102,7.39812 16.9424,6.73514 16.8069,6.081 16.6773,5.42096 16.4857,4.7845 16.2323,4.1716 15.9789,3.55871 15.6666,2.97529 15.2953,2.42133 14.9299,1.86147 14.5086,1.34287 14.0312,0.865526L14.8268,0.0699463z M12.4312,2.46553C12.8025,2.8368 13.1296,3.24048 13.4124,3.67658 13.7012,4.10678 13.9428,4.56055 14.1373,5.0379 14.3377,5.51525 14.4879,6.01028 14.5881,6.52299 14.6942,7.03569 14.7472,7.55135 14.7472,8.06995 14.7472,8.59444 14.6942,9.11304 14.5881,9.62575 14.4879,10.1326 14.3377,10.6246 14.1373,11.102 13.9428,11.5793 13.7012,12.0361 13.4124,12.4722 13.1296,12.9024 12.8025,13.3031 12.4312,13.6744L11.6268,12.8699C12.2633,12.2335 12.7524,11.4998 13.0942,10.6688 13.4419,9.8379 13.6157,8.9716 13.6157,8.06995 13.6157,7.16829 13.4419,6.30199 13.0942,5.47105 12.7524,4.64011 12.2633,3.90641 11.6268,3.26995L12.4312,2.46553z M10.0268,4.86995C10.4511,5.29426 10.7782,5.78339 11.008,6.33735 11.2378,6.89131 11.3528,7.46884 11.3528,8.06995 11.3528,8.67105 11.2378,9.24858 11.008,9.80254 10.7782,10.3565 10.4511,10.8456 10.0268,11.2699L9.23121,10.4744C9.54944,10.1561 9.79401,9.79076 9.96491,9.37823 10.1358,8.95982 10.2213,8.52372 10.2213,8.06995 10.2213,7.61617 10.1358,7.18302 9.96491,6.7705 9.79401,6.35208 9.54944,5.98376 9.23121,5.66553L10.0268,4.86995z M6.02237,1.281L6.82679,1.281 6.82679,14.8589 6.02237,14.8589 2.6279,11.4644 0.0378418,11.4644 0.0378418,4.67547 2.6279,4.67547 6.02237,1.281z M5.6953,3.21691L3.10525,5.80696 1.16933,5.80696 1.16933,10.3329 3.10525,10.3329 5.6953,12.923 5.6953,3.21691z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<Image Height="24" Width="24" Margin="8,0,0,0">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V17 H22 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#FFFFFFFF"
|
|
|
|
|
Geometry="F1 M22,17z M0,0z M21.3712,12.8727L12.0378,12.8727 12.0378,15.5393 16.0378,15.5393 16.0378,16.8727 6.70451,16.8727 6.70451,15.5393 10.7045,15.5393 10.7045,12.8727 4.03784,12.8727 4.03784,16.8727 2.70451,16.8727 2.70451,8.87268 0.0378418,8.87268 0.0378418,0.872681 21.3712,0.872681 21.3712,12.8727z M1.37118,2.20601L1.37118,3.53935 5.37118,3.53935 5.37118,2.20601 1.37118,2.20601z M1.37118,7.53935L5.37118,7.53935 5.37118,4.87268 4.03784,4.87268 4.03784,6.20601 2.70451,6.20601 2.70451,4.87268 1.37118,4.87268 1.37118,7.53935z M4.03784,11.5393L20.0378,11.5393 20.0378,2.20601 6.70451,2.20601 6.70451,8.87268 4.03784,8.87268 4.03784,11.5393z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<Image Name="ICCTrayIconExampleImage" Height="24" Width="24"
|
|
|
|
|
Source="Resources/icc.ico" Margin="8,0,0,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="{i18n:I18n Key=Tray_GroupTitle}"
|
|
|
|
|
FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="20" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableTrayIcon" Label="{i18n:I18n Key=Tray_EnableTrayIcon}" IsOn="True" Toggled="ToggleSwitchEnableTrayIcon_Toggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
<GroupBox Name="GroupBoxPPT">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=PPT_GroupTitle}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="26" />
|
|
|
|
|
</GroupBox.Header>
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="6">
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=PPT_GroupHint}" Foreground="#a1a1aa" TextWrapping="Wrap" Width="460" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchSupportPowerPoint" Label="{i18n:I18n Key=PPT_SupportPowerPoint}" IsOn="True" Toggled="ToggleSwitchSupportPowerPoint_Toggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchPowerPointEnhancement" Label="{i18n:I18n Key=PPT_Enhancement}" IsOn="False" Toggled="ToggleSwitchPowerPointEnhancement_Toggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchSkipAnimationsWhenGoNext" Label="{i18n:I18n Key=PPT_SkipAnimations}" IsOn="False" Toggled="ToggleSwitchSkipAnimationsWhenGoNext_Toggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchUseRotPptLink" Label="{i18n:I18n Key=PPT_UseRot}" IsOn="False" Toggled="ToggleSwitchUseRotPptLink_Toggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/WPS.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchSupportWPS" Label="{i18n:I18n Key=PPT_SupportWPS}" IsOn="True" Toggled="ToggleSwitchSupportWPS_Toggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/WPS.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableWppProcessKill" Label="{i18n:I18n Key=PPT_KillWppProcess}" Hint="{i18n:I18n Key=PPT_KillWppHint}" IsOn="True" Toggled="ToggleSwitchEnableWppProcessKill_Toggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=PPT_WpsHint1}" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
|
|
|
|
<Border BorderBrush="#ef4444"
|
|
|
|
|
BorderThickness="2" Padding="8" CornerRadius="6" Background="#991b1b">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="24" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Image Width="20" Height="20" VerticalAlignment="Top" Margin="0,2,0,0">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M10.478,6.91759C10.478,6.07778 11.1588,5.39697 11.9986,5.39697 12.8385,5.39697 13.5193,6.07778 13.5193,6.91759L13.5193,12.0001C13.5193,12.8399 12.8385,13.5207 11.9986,13.5207 11.1588,13.5207 10.478,12.8399 10.478,12.0001L10.478,6.91759z M10.478,17.0826C10.478,16.2427,11.1588,15.5619,11.9986,15.5619L12.0114,15.5619C12.8512,15.5619 13.532,16.2427 13.532,17.0826 13.532,17.9224 12.8512,18.6032 12.0114,18.6032L11.9986,18.6032C11.1588,18.6032,10.478,17.9224,10.478,17.0826z M12,0.75C5.7868,0.75 0.75,5.7868 0.75,12 0.75,18.2132 5.7868,23.25 12,23.25 18.2132,23.25 23.25,18.2132 23.25,12 23.25,5.7868 18.2132,0.75 12,0.75z M3.25,12C3.25,7.16751 7.16751,3.25 12,3.25 16.8325,3.25 20.75,7.16751 20.75,12 20.75,16.8325 16.8325,20.75 12,20.75 7.16751,20.75 3.25,16.8325 3.25,12z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<TextBlock Grid.Column="1" Margin="6,0,0,0" FontSize="13" VerticalAlignment="Center"
|
|
|
|
|
TextWrapping="Wrap"
|
|
|
|
|
Text="{i18n:I18n Key=PPT_WpsLagWarning}">
|
|
|
|
|
</TextBlock>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{i18n:I18n Key=PPT_WpsSupportHint}"
|
|
|
|
|
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<TextBlock Margin="0,0,0,8" Text="{i18n:I18n Key=PPT_FlipButtonsTitle}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="20" />
|
|
|
|
|
<Border ClipToBounds="True" Width="324" Height="182">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Image Source="Resources/PresentationExample/page.jpg" Width="324" Height="182" Stretch="Fill"></Image>
|
|
|
|
|
<Image Name="PPTBtnPreviewToolbar" Source="Resources/PresentationExample/toolbar.png" Height="16"
|
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Center" Stretch="Uniform" />
|
|
|
|
|
<Image Name="PPTBtnPreviewLS" Source="Resources/PresentationExample/sidebar-white.png" Width="10" Height="30"
|
|
|
|
|
VerticalAlignment="Center" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<TranslateTransform x:Name="PPTBtnPreviewLSTransform"/>
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
</Image>
|
|
|
|
|
<Image Name="PPTBtnPreviewRS" Source="Resources/PresentationExample/sidebar-white.png" Width="10" Height="30"
|
|
|
|
|
VerticalAlignment="Center" HorizontalAlignment="Right" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<TranslateTransform x:Name="PPTBtnPreviewRSTransform"/>
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
</Image>
|
|
|
|
|
<Image Name="PPTBtnPreviewLB" Source="Resources/PresentationExample/bottombar-white.png" Height="10" Width="30"
|
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<TranslateTransform x:Name="PPTBtnPreviewLBTransform"/>
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
</Image>
|
|
|
|
|
<Image Name="PPTBtnPreviewRB" Source="Resources/PresentationExample/bottombar-white.png" Height="10" Width="30"
|
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Right" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<TranslateTransform x:Name="PPTBtnPreviewRBTransform"/>
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
</Image>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchShowPPTButton" Label="{i18n:I18n Key=PPT_ShowFlipButtons}" IsOn="True" Toggled="ToggleSwitchShowPPTButton_OnToggled"/>
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="6" Name="PPTButtonSettingsPanel"
|
|
|
|
|
Visibility="{Binding ElementName=ToggleSwitchShowPPTButton, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
|
|
|
|
|
<WrapPanel Margin="0,-4,0,4" Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Left">
|
|
|
|
|
<CheckBox IsChecked="True" MinWidth="0" Width="180" Margin="0,0,12,4" Name="CheckboxEnableLBPPTButton"
|
|
|
|
|
Checked="CheckboxEnableLBPPTButton_IsCheckChanged"
|
|
|
|
|
Unchecked="CheckboxEnableLBPPTButton_IsCheckChanged"
|
|
|
|
|
Content="{i18n:I18n Key=PPT_Position_LeftBottom}" />
|
|
|
|
|
<CheckBox IsChecked="True" MinWidth="0" Width="180" Margin="0,0,12,4" Name="CheckboxEnableRBPPTButton"
|
|
|
|
|
Checked="CheckboxEnableRBPPTButton_IsCheckChanged"
|
|
|
|
|
Unchecked="CheckboxEnableRBPPTButton_IsCheckChanged"
|
|
|
|
|
Content="{i18n:I18n Key=PPT_Position_RightBottom}" />
|
|
|
|
|
<CheckBox IsChecked="True" MinWidth="0" Width="180" Margin="0,0,12,4" Name="CheckboxEnableLSPPTButton"
|
|
|
|
|
Checked="CheckboxEnableLSPPTButton_IsCheckChanged"
|
|
|
|
|
Unchecked="CheckboxEnableLSPPTButton_IsCheckChanged"
|
|
|
|
|
Content="{i18n:I18n Key=PPT_Position_Left}" />
|
|
|
|
|
<CheckBox IsChecked="True" MinWidth="0" Width="180" Margin="0,0,12,4" Name="CheckboxEnableRSPPTButton"
|
|
|
|
|
Checked="CheckboxEnableRSPPTButton_IsCheckChanged"
|
|
|
|
|
Unchecked="CheckboxEnableRSPPTButton_IsCheckChanged"
|
|
|
|
|
Content="{i18n:I18n Key=PPT_Position_Right}" />
|
|
|
|
|
</WrapPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_LeftOffset}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,12,0" />
|
|
|
|
|
<Slider x:Name="PPTButtonLeftPositionValueSlider" Minimum="-500"
|
|
|
|
|
Maximum="500" Width="138"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="0"
|
|
|
|
|
TickFrequency="1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="PPTButtonLeftPositionValueSlider_ValueChanged" />
|
|
|
|
|
<Button Padding="5" Margin="8,0,0,0" Name="PPTBtnLSPlusBtn"
|
|
|
|
|
Click="PPTBtnLSPlusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLSMinusBtn"
|
|
|
|
|
Click="PPTBtnLSMinusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLSSyncBtn"
|
|
|
|
|
Click="PPTBtnLSSyncBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLSResetBtn"
|
|
|
|
|
Click="PPTBtnLSResetBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=PPTButtonLeftPositionValueSlider, Path=Value}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="13"
|
|
|
|
|
Margin="8,0,8,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
|
|
|
|
|
Name="PPTLSButtonOpacityPanel"
|
|
|
|
|
Visibility="{Binding ElementName=CheckboxSPPTHalfOpacity, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_LeftOpacity}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,12,0" />
|
|
|
|
|
<Slider x:Name="PPTLSButtonOpacityValueSlider" Minimum="0.1"
|
|
|
|
|
Maximum="1.0" Width="138"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="0.5"
|
|
|
|
|
TickFrequency="0.1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="PPTLSButtonOpacityValueSlider_ValueChanged" />
|
|
|
|
|
<Button Padding="5" Margin="8,0,0,0" Name="PPTLSOpacityPlusBtn"
|
|
|
|
|
Click="PPTLSOpacityPlusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTLSOpacityMinusBtn"
|
|
|
|
|
Click="PPTLSOpacityMinusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTLSOpacitySyncBtn"
|
|
|
|
|
Click="PPTLSOpacitySyncBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTLSOpacityResetBtn"
|
|
|
|
|
Click="PPTLSOpacityResetBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=PPTLSButtonOpacityValueSlider, Path=Value, StringFormat='{}{0:F1}'}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="13"
|
|
|
|
|
Margin="8,0,0,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_RightOffset}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,12,0" />
|
|
|
|
|
<Slider x:Name="PPTButtonRightPositionValueSlider" Minimum="-500"
|
|
|
|
|
Maximum="500" Width="138"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="0"
|
|
|
|
|
TickFrequency="1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="PPTButtonRightPositionValueSlider_ValueChanged" />
|
|
|
|
|
<Button Padding="5" Margin="8,0,0,0" Name="PPTBtnRSPlusBtn"
|
|
|
|
|
Click="PPTBtnRSPlusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRSMinusBtn"
|
|
|
|
|
Click="PPTBtnRSMinusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRSSyncBtn"
|
|
|
|
|
Click="PPTBtnRSSyncBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRSResetBtn"
|
|
|
|
|
Click="PPTBtnRSResetBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=PPTButtonRightPositionValueSlider, Path=Value}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="13"
|
|
|
|
|
Margin="8,0,16,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
|
|
|
|
|
Name="PPTRSButtonOpacityPanel"
|
|
|
|
|
Visibility="{Binding ElementName=CheckboxSPPTHalfOpacity, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_RightOpacity}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,12,0" />
|
|
|
|
|
<Slider x:Name="PPTRSButtonOpacityValueSlider" Minimum="0.1"
|
|
|
|
|
Maximum="1.0" Width="138"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="0.5"
|
|
|
|
|
TickFrequency="0.1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="PPTRSButtonOpacityValueSlider_ValueChanged" />
|
|
|
|
|
<Button Padding="5" Margin="8,0,0,0" Name="PPTRSOpacityPlusBtn"
|
|
|
|
|
Click="PPTRSOpacityPlusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTRSOpacityMinusBtn"
|
|
|
|
|
Click="PPTRSOpacityMinusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTRSOpacitySyncBtn"
|
|
|
|
|
Click="PPTRSOpacitySyncBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTRSOpacityResetBtn"
|
|
|
|
|
Click="PPTRSOpacityResetBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=PPTRSButtonOpacityValueSlider, Path=Value, StringFormat='{}{0:F1}'}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="13"
|
|
|
|
|
Margin="8,0,0,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{i18n:I18n Key=PPT_OffsetHint}"
|
|
|
|
|
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_LeftBottomOffset}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,12,0" />
|
|
|
|
|
<Slider x:Name="PPTButtonLBPositionValueSlider" Minimum="-500"
|
|
|
|
|
Maximum="500" Width="138"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="0"
|
|
|
|
|
TickFrequency="1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="PPTButtonLBPositionValueSlider_ValueChanged" />
|
|
|
|
|
<Button Padding="5" Margin="8,0,0,0" Name="PPTBtnLBPlusBtn"
|
|
|
|
|
Click="PPTBtnLBPlusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.55272 0,8 0,8.44728 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.44728 16,8 16,7.55272 15.5523,7 15,7L9,7 9,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLBMinusBtn"
|
|
|
|
|
Click="PPTBtnLBMinusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLBSyncBtn"
|
|
|
|
|
Click="PPTBtnLBSyncBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLBResetBtn"
|
|
|
|
|
Click="PPTBtnLBResetBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884 8.87377,5.69003 9.5291,5.03471z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=PPTButtonLBPositionValueSlider, Path=Value}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="13"
|
|
|
|
|
Margin="8,0,8,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
|
|
|
|
|
Name="PPTLBButtonOpacityPanel"
|
|
|
|
|
Visibility="{Binding ElementName=CheckboxBPPTHalfOpacity, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_LeftBottomOpacity}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,12,0" />
|
|
|
|
|
<Slider x:Name="PPTLBButtonOpacityValueSlider" Minimum="0.1"
|
|
|
|
|
Maximum="1.0" Width="138"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="0.5"
|
|
|
|
|
TickFrequency="0.1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="PPTLBButtonOpacityValueSlider_ValueChanged" />
|
|
|
|
|
<Button Padding="5" Margin="8,0,0,0" Name="PPTLBOpacityPlusBtn"
|
|
|
|
|
Click="PPTLBOpacityPlusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTLBOpacityMinusBtn"
|
|
|
|
|
Click="PPTLBOpacityMinusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTLBOpacitySyncBtn"
|
|
|
|
|
Click="PPTLBOpacitySyncBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTLBOpacityResetBtn"
|
|
|
|
|
Click="PPTLBOpacityResetBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=PPTLBButtonOpacityValueSlider, Path=Value, StringFormat='{}{0:F1}'}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="13"
|
|
|
|
|
Margin="8,0,0,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_RightBottomOffset}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,12,0" />
|
|
|
|
|
<Slider x:Name="PPTButtonRBPositionValueSlider" Minimum="-500"
|
|
|
|
|
Maximum="500" Width="138"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="0"
|
|
|
|
|
TickFrequency="1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="PPTButtonRBPositionValueSlider_ValueChanged" />
|
|
|
|
|
<Button Padding="5" Margin="8,0,0,0" Name="PPTBtnRBPlusBtn"
|
|
|
|
|
Click="PPTBtnRBPlusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.55272 0,8 0,8.44728 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.44728 16,8 16,7.55272 15.5523,7 15,7L9,7 9,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRBMinusBtn"
|
|
|
|
|
Click="PPTBtnRBMinusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRBSyncBtn"
|
|
|
|
|
Click="PPTBtnRBSyncBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRBResetBtn"
|
|
|
|
|
Click="PPTBtnRBResetBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=PPTButtonRBPositionValueSlider, Path=Value}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="13"
|
|
|
|
|
Margin="8,0,16,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
|
|
|
|
|
Name="PPTRBButtonOpacityPanel"
|
|
|
|
|
Visibility="{Binding ElementName=CheckboxBPPTHalfOpacity, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_RightBottomOpacity}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,12,0" />
|
|
|
|
|
<Slider x:Name="PPTRBButtonOpacityValueSlider" Minimum="0.1"
|
|
|
|
|
Maximum="1.0" Width="138"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="0.5"
|
|
|
|
|
TickFrequency="0.1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="PPTRBButtonOpacityValueSlider_ValueChanged" />
|
|
|
|
|
<Button Padding="5" Margin="8,0,0,0" Name="PPTRBOpacityPlusBtn"
|
|
|
|
|
Click="PPTRBOpacityPlusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTRBOpacityMinusBtn"
|
|
|
|
|
Click="PPTRBOpacityMinusBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTRBOpacitySyncBtn"
|
|
|
|
|
Click="PPTRBOpacitySyncBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Margin="6,0,0,0" Padding="5" Name="PPTRBOpacityResetBtn"
|
|
|
|
|
Click="PPTRBOpacityResetBtn_Clicked">
|
|
|
|
|
<Image Width="16" Height="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#f4f4f5"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=PPTRBButtonOpacityValueSlider, Path=Value, StringFormat='{}{0:F1}'}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="13"
|
|
|
|
|
Margin="8,0,0,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{i18n:I18n Key=PPT_OffsetHintHorizontal}"
|
|
|
|
|
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Margin="0,0,24,0" Text="{i18n:I18n Key=PPT_SideGroupTitle}" FontWeight="Bold"
|
|
|
|
|
VerticalAlignment="Center" Foreground="#fafafa"
|
|
|
|
|
FontSize="20" />
|
|
|
|
|
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxSPPTDisplayPage"
|
|
|
|
|
Checked="CheckboxSPPTDisplayPage_IsCheckChange"
|
|
|
|
|
Unchecked="CheckboxSPPTDisplayPage_IsCheckChange"
|
|
|
|
|
Content="{i18n:I18n Key=PPT_ShowPageNumber}" />
|
|
|
|
|
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxSPPTHalfOpacity"
|
|
|
|
|
Checked="CheckboxSPPTHalfOpacity_IsCheckChange"
|
|
|
|
|
Unchecked="CheckboxSPPTHalfOpacity_IsCheckChange"
|
|
|
|
|
Margin="16,0,0,0"
|
|
|
|
|
Content="{i18n:I18n Key=PPT_HalfOpacity}" />
|
|
|
|
|
<CheckBox IsChecked="True" MinWidth="0"
|
|
|
|
|
Margin="16,0,0,0" Name="CheckboxSPPTBlackBackground"
|
|
|
|
|
Checked="CheckboxSPPTBlackBackground_IsCheckChange"
|
|
|
|
|
Unchecked="CheckboxSPPTBlackBackground_IsCheckChange"
|
|
|
|
|
Content="{i18n:I18n Key=PPT_BlackBackground}" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Margin="0,0,24,0" Text="{i18n:I18n Key=PPT_BottomGroupTitle}" FontWeight="Bold"
|
|
|
|
|
VerticalAlignment="Center" Foreground="#fafafa"
|
|
|
|
|
FontSize="20" />
|
|
|
|
|
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxBPPTDisplayPage"
|
|
|
|
|
Checked="CheckboxBPPTDisplayPage_IsCheckChange"
|
|
|
|
|
Unchecked="CheckboxBPPTDisplayPage_IsCheckChange"
|
|
|
|
|
Content="{i18n:I18n Key=PPT_ShowPageNumber}" />
|
|
|
|
|
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxBPPTHalfOpacity"
|
|
|
|
|
Checked="CheckboxBPPTHalfOpacity_IsCheckChange"
|
|
|
|
|
Unchecked="CheckboxBPPTHalfOpacity_IsCheckChange"
|
|
|
|
|
Margin="16,0,0,0"
|
|
|
|
|
Content="{i18n:I18n Key=PPT_HalfOpacity}" />
|
|
|
|
|
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxBPPTBlackBackground"
|
|
|
|
|
Checked="CheckboxBPPTBlackBackground_IsCheckChange"
|
|
|
|
|
Unchecked="CheckboxBPPTBlackBackground_IsCheckChange"
|
|
|
|
|
Margin="16,0,0,0"
|
|
|
|
|
Content="{i18n:I18n Key=PPT_BlackBackground}" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnablePPTButtonPageClickable" Label="{i18n:I18n Key=PPT_PageButtonClickable}" Hint="{i18n:I18n Key=PPT_PageButtonClickableHint}" IsOn="True" Toggled="ToggleSwitchEnablePPTButtonPageClickable_OnToggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnablePPTButtonLongPressPageTurn" Label="{i18n:I18n Key=PPT_LongPressPageTurn}" Hint="{i18n:I18n Key=PPT_LongPressPageTurnHint}" IsOn="True" Toggled="ToggleSwitchEnablePPTButtonLongPressPageTurn_OnToggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<ikw:SimpleStackPanel Name="SettingsShowCanvasAtNewSlideShowStackPanel"
|
|
|
|
|
Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchShowCanvasAtNewSlideShow" Label="{i18n:I18n Key=PPT_EnterAnnotationOnShow}" IsOn="True" Toggled="ToggleSwitchShowCanvasAtNewSlideShow_Toggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Border Name="SettingsPPTInkingAndAutoFoldExplictBorder" BorderBrush="#ef4444"
|
|
|
|
|
BorderThickness="2" Padding="8" CornerRadius="6" Background="#991b1b">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="4">
|
|
|
|
|
<Image Width="20" Height="20">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M10.478,6.91759C10.478,6.07778 11.1588,5.39697 11.9986,5.39697 12.8385,5.39697 13.5193,6.07778 13.5193,6.91759L13.5193,12.0001C13.5193,12.8399 12.8385,13.5207 11.9986,13.5207 11.1588,13.5207 10.478,12.8399 10.478,12.0001L10.478,6.91759z M10.478,17.0826C10.478,16.2427,11.1588,15.5619,11.9986,15.5619L12.0114,15.5619C12.8512,15.5619 13.532,16.2427 13.532,17.0826 13.532,17.9224 12.8512,18.6032 12.0114,18.6032L11.9986,18.6032C11.1588,18.6032,10.478,17.9224,10.478,17.0826z M12,0.75C5.7868,0.75 0.75,5.7868 0.75,12 0.75,18.2132 5.7868,23.25 12,23.25 18.2132,23.25 23.25,18.2132 23.25,12 23.25,5.7868 18.2132,0.75 12,0.75z M3.25,12C3.25,7.16751 7.16751,3.25 12,3.25 16.8325,3.25 20.75,7.16751 20.75,12 20.75,16.8325 16.8325,20.75 12,20.75 7.16751,20.75 3.25,16.8325 3.25,12z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<TextBlock Margin="2,0,0,0" FontSize="13" VerticalAlignment="Center"
|
|
|
|
|
Text="{i18n:I18n Key=PPT_ConflictWithAutoFold}">
|
|
|
|
|
</TextBlock>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Border>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableTwoFingerGestureInPresentationMode" Label="{i18n:I18n Key=PPT_TwoFingerGesture}" IsOn="True" Toggled="ToggleSwitchEnableTwoFingerGestureInPresentationMode_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableFingerGestureSlideShowControl" Label="{i18n:I18n Key=PPT_FingerGestureSlide}" Hint="{i18n:I18n Key=PPT_FingerGestureSlideHint}" IsOn="True" Toggled="ToggleSwitchEnableFingerGestureSlideShowControl_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchShowGestureButtonInSlideShow" Label="{i18n:I18n Key=PPT_ShowGestureButtonInShow}" Hint="{i18n:I18n Key=PPT_ShowGestureButtonInShowHint}" IsOn="False" Toggled="ToggleSwitchShowGestureButtonInSlideShow_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnablePPTTimeCapsule" Label="{i18n:I18n Key=PPT_TimeCapsule}" Hint="{i18n:I18n Key=PPT_TimeCapsuleHint}" IsOn="True" Toggled="ToggleSwitchEnablePPTTimeCapsule_Toggled"/>
|
|
|
|
|
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,8,0,0">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_TimeCapsulePosition}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ComboBox Name="ComboBoxPPTTimeCapsulePosition"
|
|
|
|
|
Width="150"
|
|
|
|
|
SelectionChanged="ComboBoxPPTTimeCapsulePosition_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=PPT_TimeCapsulePos_TL}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=PPT_TimeCapsulePos_TR}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=PPT_TimeCapsulePos_Center}" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchShowPPTSidebarByDefault" Label="{i18n:I18n Key=PPT_ShowQuickPanelInShow}" Hint="{i18n:I18n Key=PPT_ShowQuickPanelInShowHint}" IsOn="False" Toggled="ToggleSwitchShowPPTSidebarByDefault_Toggled"/>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchAutoSaveScreenShotInPowerPoint" Label="{i18n:I18n Key=PPT_AutoScreenshot}" Hint="{i18n:I18n Key=PPT_AutoScreenshotHint}" IsOn="True" Toggled="ToggleSwitchAutoSaveScreenShotInPowerPoint_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchAutoSaveStrokesInPowerPoint" Label="{i18n:I18n Key=PPT_AutoSaveStrokes}" Hint="{i18n:I18n Key=PPT_AutoSaveStrokesHint}" IsOn="True" Toggled="ToggleSwitchAutoSaveStrokesInPowerPoint_Toggled"/>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchNotifyPreviousPage" Label="{i18n:I18n Key=PPT_RememberLastPage}" Hint="{i18n:I18n Key=PPT_RememberLastPageHint}" IsOn="True" Toggled="ToggleSwitchNotifyPreviousPage_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchAlwaysGoToFirstPageOnReenter" Label="{i18n:I18n Key=PPT_GoToFirstPageOnReenter}" IsOn="False" Toggled="ToggleSwitchAlwaysGoToFirstPageOnReenter_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchNotifyHiddenPage" Label="{i18n:I18n Key=PPT_NotifyHiddenPage}" IsOn="True" Toggled="ToggleSwitchNotifyHiddenPage_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchNotifyAutoPlayPresentation" Label="{i18n:I18n Key=PPT_NotifyAutoPlay}" IsOn="True" Toggled="ToggleSwitchNotifyAutoPlayPresentation_Toggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
|
2026-04-23 22:09:27 +08:00
|
|
|
</GroupBox>
|
|
|
|
|
<GroupBox Name="GroupBoxAdvanced">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Advanced_Title}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="26" />
|
|
|
|
|
</GroupBox.Header>
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="6">
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=Advanced_TouchMultiplierHint}"
|
|
|
|
|
Foreground="#a1a1aa" TextWrapping="Wrap" Width="460" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchIsSpecialScreen" Label="{i18n:I18n Key=Advanced_SpecialScreenMode}" IsOn="True" Toggled="ToggleSwitchIsSpecialScreen_OnToggled"/>
|
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_TouchMultiplier}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<StackPanel Orientation="Horizontal"
|
|
|
|
|
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
|
|
|
|
|
<Slider x:Name="TouchMultiplierSlider"
|
|
|
|
|
Minimum="0" Maximum="2"
|
|
|
|
|
Width="340"
|
|
|
|
|
IsSnapToTickEnabled="True"
|
|
|
|
|
TickFrequency="0.01" TickPlacement="None"
|
|
|
|
|
ValueChanged="TouchMultiplierSlider_ValueChanged"
|
|
|
|
|
Visibility="Visible" />
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding Value, ElementName=TouchMultiplierSlider, Mode=OneWay}"
|
|
|
|
|
VerticalAlignment="Bottom" Margin="10,0,0,8"
|
|
|
|
|
FontSize="14" Width="30" HorizontalAlignment="Center"
|
|
|
|
|
Visibility="{Binding Path=Visibility, ElementName=TouchMultiplierSlider, Mode=OneWay}" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="8" Margin="0,4,0,4"
|
|
|
|
|
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
|
|
|
|
|
<TextBlock FontSize="14" Text="{i18n:I18n Key=Advanced_TouchMultiplierCalibrateHint}"
|
|
|
|
|
TextWrapping="Wrap" MaxWidth="420" />
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=Advanced_TouchMultiplierValueHint}" Foreground="#a1a1aa"
|
|
|
|
|
TextWrapping="Wrap" MaxWidth="420" />
|
|
|
|
|
<Border Margin="0,0,20,0" CornerRadius="4" Height="48" Background="Transparent"
|
|
|
|
|
BorderBrush="#a1a1aa" BorderThickness="2"
|
|
|
|
|
TouchDown="BorderCalculateMultiplier_TouchDown" />
|
|
|
|
|
<TextBlock Name="TextBlockShowCalculatedMultiplier" FontSize="14" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEraserBindTouchMultiplier" Label="{i18n:I18n Key=Advanced_EraserBindTouchMultiplier}" Hint="{i18n:I18n Key=Advanced_EraserBindTouchHint}" IsOn="True" Toggled="ToggleSwitchEraserBindTouchMultiplier_Toggled"/>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<StackPanel Orientation="Horizontal"
|
|
|
|
|
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
|
|
|
|
|
<Slider x:Name="NibModeBoundsWidthSlider" Minimum="1" Maximum="50" Width="340"
|
|
|
|
|
|
|
|
|
|
ui:ControlHelper.Header="{i18n:I18n Key=Advanced_NibModeBoundsWidthHeader}"
|
|
|
|
|
FontSize="14" IsSnapToTickEnabled="True" TickFrequency="1" Value="5"
|
|
|
|
|
TickPlacement="None"
|
|
|
|
|
ValueChanged="NibModeBoundsWidthSlider_ValueChanged" />
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding Value, ElementName=NibModeBoundsWidthSlider, Mode=OneWay}"
|
|
|
|
|
VerticalAlignment="Bottom" Margin="10,0,0,8" FontSize="14" Width="30" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Orientation="Horizontal"
|
|
|
|
|
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
|
|
|
|
|
<Slider x:Name="FingerModeBoundsWidthSlider" Minimum="1" Maximum="50"
|
|
|
|
|
Width="340"
|
|
|
|
|
ui:ControlHelper.Header="{i18n:I18n Key=Advanced_FingerModeBoundsWidthHeader}"
|
|
|
|
|
FontSize="14" IsSnapToTickEnabled="True" TickFrequency="1" Value="20"
|
|
|
|
|
TickPlacement="None"
|
|
|
|
|
ValueChanged="FingerModeBoundsWidthSlider_ValueChanged" />
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding Value, ElementName=FingerModeBoundsWidthSlider, Mode=OneWay}"
|
|
|
|
|
VerticalAlignment="Bottom" Margin="10,0,0,8" FontSize="14" Width="30" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchIsQuadIR" Label="{i18n:I18n Key=Advanced_QuadIRMode}" IsOn="True" Toggled="ToggleSwitchIsQuadIR_Toggled"/>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchIsLogEnabled" Label="{i18n:I18n Key=Advanced_Logging}" IsOn="True" Toggled="ToggleSwitchIsLogEnabled_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchIsSaveLogByDate" Label="{i18n:I18n Key=Advanced_LogByDate}" Hint="{i18n:I18n Key=Advanced_LogRotateHint}" IsOn="True" Toggled="ToggleSwitchIsSaveLogByDate_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchIsSecondConfimeWhenShutdownApp" Label="{i18n:I18n Key=Advanced_ConfirmExit}" IsOn="True" Toggled="ToggleSwitchIsSecondConfimeWhenShutdownApp_Toggled"/>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<!-- 添加备份相关按钮 -->
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=Backup_Title}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="16" Margin="0,5,0,5" />
|
|
|
|
|
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
|
|
|
|
Text="{i18n:I18n Key=Backup_Desc}" />
|
|
|
|
|
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchIsAutoBackupBeforeUpdate" Label="{i18n:I18n Key=Backup_AutoBeforeUpdate}" IsOn="True" Toggled="ToggleSwitchIsAutoBackupBeforeUpdate_Toggled"/>
|
|
|
|
|
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchIsAutoBackupEnabled" Label="{i18n:I18n Key=Backup_AutoPeriodic}" IsOn="True" Toggled="ToggleSwitchIsAutoBackupEnabled_Toggled"/>
|
|
|
|
|
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,5,0,0">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Backup_Interval}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
2026-04-24 07:13:27 +08:00
|
|
|
<ComboBox x:Name="ComboBoxAutoBackupInterval" Margin="0,0,16,0"
|
2026-04-23 22:09:27 +08:00
|
|
|
SelectionChanged="ComboBoxAutoBackupInterval_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Backup_Interval_1Day}" Tag="1" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Backup_Interval_3Days}" Tag="3" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Backup_Interval_7Days}" Tag="7" IsSelected="True" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Backup_Interval_14Days}" Tag="14" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Backup_Interval_30Days}" Tag="30" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
<TextBlock Foreground="#a1a1aa" Text="{i18n:I18n Key=Backup_Interval_DefaultHint}" VerticalAlignment="Center" FontSize="12"
|
|
|
|
|
TextWrapping="Wrap" Width="180" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,10,0,0">
|
|
|
|
|
<Button x:Name="BtnManualBackup" Content="{i18n:I18n Key=Backup_Manual}" Click="BtnManualBackup_Click"
|
|
|
|
|
Background="#2563eb" Foreground="White" Padding="12,6" Margin="0,0,12,0" />
|
|
|
|
|
<Button x:Name="BtnRestoreBackup" Content="{i18n:I18n Key=Backup_Restore}" Click="BtnRestoreBackup_Click"
|
|
|
|
|
Background="#2563eb" Foreground="White" Padding="12,6" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,8,0,4" />
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=ConfigProfiles_Title}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="16" Margin="0,5,0,5" />
|
|
|
|
|
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
|
|
|
|
Text="{i18n:I18n Key=ConfigProfiles_Desc}" />
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="8" Margin="0,6,0,0">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=ConfigProfiles_Label}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,8,0" />
|
2026-04-24 07:13:27 +08:00
|
|
|
<ComboBox x:Name="ComboBoxConfigProfile" MinWidth="180"
|
2026-04-23 22:09:27 +08:00
|
|
|
SelectionChanged="ComboBoxConfigProfile_SelectionChanged" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Button x:Name="BtnDeleteConfigProfile" Content="{i18n:I18n Key=ConfigProfiles_Delete}" Click="BtnDeleteConfigProfile_Click"
|
|
|
|
|
Padding="10,6" Margin="0,0,8,0" />
|
|
|
|
|
<Button x:Name="BtnSaveAsConfigProfile" Content="{i18n:I18n Key=ConfigProfiles_SaveAs}" Click="BtnSaveAsConfigProfile_Click"
|
|
|
|
|
Padding="10,6" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
<GroupBox Name="GroupBoxAutomation">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Automation_Title}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="26" />
|
|
|
|
|
</GroupBox.Header>
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="6">
|
|
|
|
|
<TextBlock Margin="0,0,0,8" Text="{i18n:I18n Key=Automation_AutoFoldTitle}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="20" />
|
|
|
|
|
<Grid Margin="4,0">
|
|
|
|
|
<Grid.Resources>
|
|
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource AutoFitSettingsGridLabel14}">
|
|
|
|
|
<Setter Property="Width" Value="88" />
|
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="Margin" Value="0,0,0,4" />
|
|
|
|
|
</Style>
|
|
|
|
|
</Grid.Resources>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoBoard5}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInEasiNote" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInEasiNote_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="1" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/EasiCamera.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoCamera}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInEasiCamera" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInEasiCamera_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="2" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/EasiNote3.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoBoard3}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInEasiNote3" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInEasiNote3_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="3" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/EasiNote3C.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoLightBoard}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInEasiNote3C" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInEasiNote3C_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="0"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/EasiNote5C.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoLightBoard5C}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInEasiNote5C" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInEasiNote5C_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="1"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoPinco}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInSeewoPincoTeacher" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInSeewoPincoTeacher_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="2"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/HiteBoard.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_HiteBoard}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInHiteTouchPro" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInHiteTouchPro_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="3"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/HiteCamera.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_HiteCamera}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInHiteCamera" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInHiteCamera_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="0"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/HiteLightBoard.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_HiteLightBoard}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInHiteLightBoard" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInHiteLightBoard_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="1"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/WenXiang.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_WenXiangBoard}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInWxBoardMain" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInWxBoardMain_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="2"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/Whiteboard.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_MSWhiteboard}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInMSWhiteboard" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInMSWhiteboard_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="3"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/AdmoxWhiteboard.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_AdmoxBoard}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInAdmoxWhiteboard" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInAdmoxWhiteboard_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="0"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/AdmoxBooth.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_AdmoxBooth}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInAdmoxBooth" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInAdmoxBooth_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="1"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/YiYunWhiteboard.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_YiYunBoard}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInQPoint" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInQPoint_Toggled" Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="2"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/YiYunVisualPresenter.png"
|
|
|
|
|
Margin="0,0,0,4" Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_YiYunBooth}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInYiYunVisualPresenter"
|
|
|
|
|
IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInYiYunVisualPresenter_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="3"
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/MaxHubWhiteboard.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42"
|
|
|
|
|
Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_MaxHubBoard}"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInMaxHubWhiteboard" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInMaxHubWhiteboard_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Grid>
|
2026-04-06 15:02:04 +08:00
|
|
|
|
2026-04-23 22:09:27 +08:00
|
|
|
<Grid Width="390" HorizontalAlignment="Left">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="34" />
|
|
|
|
|
<ColumnDefinition Width="300" />
|
|
|
|
|
<ColumnDefinition Width="56" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Image Grid.Column="0" Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Column="1" Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_IgnoreEasiNoteDesktopAnno}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="14" Margin="0,0,8,0"
|
|
|
|
|
TextWrapping="Wrap" />
|
|
|
|
|
<ui:ToggleSwitch Grid.Column="2" OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInEasiNoteIgnoreDesktopAnno"
|
|
|
|
|
IsOn="True" FontWeight="Bold"
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInEasiNoteIgnoreDesktopAnno_Toggled" />
|
|
|
|
|
</Grid>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/Donview.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_OldZyBoard}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInOldZyBoard" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInOldZyBoard_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Automation_AutoFoldInPPT}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
Name="ToggleSwitchAutoFoldInPPTSlideShow" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoFoldInPPTSlideShow_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchKeepFoldAfterSoftwareExit" Label="{i18n:I18n Key=Automation_KeepFoldAfterExit}" Hint="{i18n:I18n Key=Automation_KeepFoldAfterExitHint}" IsOn="False" Toggled="ToggleSwitchKeepFoldAfterSoftwareExit_Toggled"/>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<TextBlock Margin="0,0,0,8" Text="{i18n:I18n Key=AutoKill_Title}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="20" />
|
|
|
|
|
<!--<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoFoldInZySmartBoard" Header="进入“中原新白板(相似鸿合)”时自动收纳至侧边栏" IsOn="False" Toggled="ToggleSwitchAutoFoldInZySmartBoard_Toggled"/>-->
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/PPTTools.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_PptTools}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent=""
|
|
|
|
|
Name="ToggleSwitchAutoKillPptService" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoKillPptService_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{i18n:I18n Key=AutoKill_PptToolsHint}"
|
|
|
|
|
TextWrapping="Wrap" Foreground="#a1a1aa" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,6,0" Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_EasiNote5}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoKillEasiNote"
|
|
|
|
|
IsOn="True" FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoKillEasiNote_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/HiteAnnotation.png" Margin="0,0,6,0"
|
|
|
|
|
Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_HiteAnnotation}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent=""
|
|
|
|
|
Name="ToggleSwitchAutoKillHiteAnnotation"
|
|
|
|
|
IsOn="True" FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoKillHiteAnnotation_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchAutoEnterAnnotationAfterKillHite" Label="{i18n:I18n Key=AutoKill_HiteAfterKillEnterAnnotation}" IsOn="False" Toggled="ToggleSwitchAutoEnterAnnotationAfterKillHite_Toggled"/>
|
|
|
|
|
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/VComYouJiao.png" Margin="0,0,6,0"
|
|
|
|
|
Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_YouJiao}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent=""
|
|
|
|
|
Name="ToggleSwitchAutoKillVComYouJiao"
|
|
|
|
|
IsOn="True" FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoKillVComYouJiao_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/Seewo2Annotation.png" Margin="0,0,6,0"
|
|
|
|
|
Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_SeewoDesktop2Anno}"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent=""
|
|
|
|
|
Name="ToggleSwitchAutoKillSeewoLauncher2DesktopAnnotation"
|
|
|
|
|
IsOn="True" FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoKillSeewoLauncher2DesktopAnnotation_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
|
|
|
|
Text="{i18n:I18n Key=AutoKill_SeewoDesktop2AnnoHint}" />
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<TextBlock Margin="0,0,0,8" Text="{i18n:I18n Key=AutoKill_SameAppTitle}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="20" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/InkCanvas.png" Margin="0,0,6,0"
|
|
|
|
|
Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_InkCanvasIC}"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent=""
|
|
|
|
|
Name="ToggleSwitchAutoKillInkCanvas"
|
|
|
|
|
IsOn="True" FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoKillInkCanvas_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/ica.png" Margin="0,0,6,0"
|
|
|
|
|
Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_ICA}"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent=""
|
|
|
|
|
Name="ToggleSwitchAutoKillICA"
|
|
|
|
|
IsOn="True" FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoKillICA_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<Image Source="/Resources/Icons-png/idt.png" Margin="0,0,6,0"
|
|
|
|
|
Width="28"
|
|
|
|
|
Height="28" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_Inkeys}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent=""
|
|
|
|
|
Name="ToggleSwitchAutoKillIDT"
|
|
|
|
|
IsOn="True" FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAutoKillIDT_Toggled" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=FileAssoc_Title}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="16" Margin="0,8,0,8" />
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=FileAssoc_Desc}"
|
|
|
|
|
TextWrapping="Wrap" Foreground="#a1a1aa" Margin="0,0,0,8" />
|
|
|
|
|
<WrapPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="280" Margin="0,0,0,8">
|
|
|
|
|
<Button Name="BtnUnregisterFileAssociation" Content="{i18n:I18n Key=FileAssoc_Unregister}"
|
|
|
|
|
Padding="12,5" Width="132" Margin="0,0,8,8" MinWidth="0" Click="BtnUnregisterFileAssociation_Click" />
|
|
|
|
|
<Button Name="BtnCheckFileAssociation" Content="{i18n:I18n Key=FileAssoc_Check}"
|
|
|
|
|
Padding="12,5" Width="132" Margin="0,0,8,8" MinWidth="0" Click="BtnCheckFileAssociation_Click" />
|
|
|
|
|
<Button Name="BtnRegisterFileAssociation" Content="{i18n:I18n Key=FileAssoc_Register}"
|
|
|
|
|
Padding="12,5" Width="132" Margin="0,0,0,8" MinWidth="0" Click="BtnRegisterFileAssociation_Click" />
|
|
|
|
|
</WrapPanel>
|
|
|
|
|
<TextBlock Name="TextBlockFileAssociationStatus" Text=""
|
|
|
|
|
Foreground="#a1a1aa" FontSize="12" Margin="0,4,0,0" />
|
|
|
|
|
|
|
|
|
|
<!-- 悬浮窗拦截功能 -->
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,8,0,8" />
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=FloatingInterceptor_Title}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="16" Margin="0,8,0,8" />
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=FloatingInterceptor_Desc}"
|
|
|
|
|
TextWrapping="Wrap" Foreground="#a1a1aa" Margin="0,0,0,8" />
|
|
|
|
|
|
|
|
|
|
<!-- 主控制开关 -->
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchFloatingWindowInterceptorEnabled" Label="{i18n:I18n Key=FloatingInterceptor_Enable}" IsOn="False" Toggled="ToggleSwitchFloatingWindowInterceptorEnabled_Toggled"/>
|
|
|
|
|
|
|
|
|
|
<!-- 拦截规则网格 -->
|
|
|
|
|
<Grid Name="FloatingWindowInterceptorGrid" Margin="4,0" Visibility="Collapsed">
|
|
|
|
|
<Grid.Resources>
|
|
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource AutoFitSettingsGridLabel14}">
|
|
|
|
|
<Setter Property="Width" Value="88" />
|
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
|
|
|
|
<Setter Property="Margin" Value="0,0,0,4" />
|
|
|
|
|
</Style>
|
|
|
|
|
</Grid.Resources>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<!-- 希沃白板3 -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/EasiNote3.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoBoard3}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchSeewoWhiteboard3Floating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchSeewoWhiteboard3Floating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 希沃白板5 -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="1" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoBoard5}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchSeewoWhiteboard5Floating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchSeewoWhiteboard5Floating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 希沃白板5C -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="2" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/EasiNote5C.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoBoard5C}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchSeewoWhiteboard5CFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchSeewoWhiteboard5CFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 希沃品课 -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="3" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoPinco}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchSeewoPincoSideBarFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchSeewoPincoSideBarFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 希沃品课画笔 -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="1" Grid.Column="0" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoPincoDrawing}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchSeewoPincoDrawingFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchSeewoPincoDrawingFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 希沃PPT小工具 -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="1" Grid.Column="1" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/PPTTools.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoPPTTools}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchSeewoPPTFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchSeewoPPTFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- AiClass -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="1" Grid.Column="2" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/AiClass.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_AiClass}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchAiClassFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchAiClassFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 鸿合屏幕书写 -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="1" Grid.Column="3" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/HiteAnnotation.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_HiteAnnotation}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchHiteAnnotationFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchHiteAnnotationFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 畅言智慧课堂 -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="2" Grid.Column="0" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/畅言智慧课堂.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_ChangYanClass}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchChangYanFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchChangYanFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 畅言PPT -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="2" Grid.Column="1" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/畅言智慧课堂.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_ChangYanPPT}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchChangYanPptFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchChangYanPptFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 天喻教育云 -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="2" Grid.Column="2" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/天喻教育云.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_IntelligentClass}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchIntelligentClassFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchIntelligentClassFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 希沃桌面画笔 -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="2" Grid.Column="3" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoDesktopAnnotation}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchSeewoDesktopAnnotationFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchSeewoDesktopAnnotationFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 希沃桌面侧栏 -->
|
|
|
|
|
<ikw:SimpleStackPanel Grid.Row="3" Grid.Column="0" Orientation="Vertical">
|
|
|
|
|
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
|
|
|
|
|
Width="42" Height="42" HorizontalAlignment="Center" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoDesktopSideBar}" HorizontalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" />
|
|
|
|
|
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Name="ToggleSwitchSeewoDesktopSideBarFloating" IsOn="True"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Toggled="ToggleSwitchSeewoDesktopSideBarFloating_Toggled"
|
|
|
|
|
Width="40" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
<!-- 状态信息 -->
|
|
|
|
|
<TextBlock Name="TextBlockFloatingWindowInterceptorStatus" Text="{i18n:I18n Key=FloatingInterceptor_StatusNotRunning}"
|
|
|
|
|
Foreground="#a1a1aa" FontSize="12" Margin="0,4,0,0" />
|
|
|
|
|
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchAutoSaveStrokesAtClear" Label="{i18n:I18n Key=Storage_AutoScreenshotOnClear}" IsOn="True" Toggled="ToggleSwitchAutoSaveStrokesAtClear_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchSaveScreenshotsInDateFolders" Label="{i18n:I18n Key=Storage_ScreenshotsByDateFolder}" IsOn="True" Toggled="ToggleSwitchSaveScreenshotsInDateFolders_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchAutoSaveStrokesAtScreenshot" Label="{i18n:I18n Key=Storage_AutoSaveInkOnScreenshot}" IsOn="True" Toggled="ToggleSwitchAutoSaveStrokesAtScreenshot_Toggled"/>
|
|
|
|
|
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableAutoSaveStrokes" Label="{i18n:I18n Key=Storage_AutoSaveInk}" IsOn="False" Toggled="ToggleSwitchEnableAutoSaveStrokes_Toggled"/>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#a1a1aa" Text="{i18n:I18n Key=Storage_AutoSaveInterval}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="12" Margin="0,0,16,0" />
|
2026-04-24 07:13:27 +08:00
|
|
|
<ComboBox Name="ComboBoxAutoSaveStrokesInterval"
|
2026-04-23 22:09:27 +08:00
|
|
|
SelectionChanged="ComboBoxAutoSaveStrokesInterval_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_1Min}" Tag="1" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_3Min}" Tag="3" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_5Min}" Tag="5" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_10Min}" Tag="10" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_15Min}" Tag="15" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_30Min}" Tag="30" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_60Min}" Tag="60" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=Storage_AutoSaveHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
|
|
|
|
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchSaveFullPageStrokes" Label="{i18n:I18n Key=Storage_SaveFullPageStrokes}" Hint="{i18n:I18n Key=Storage_SaveFullPageHint}" IsOn="False" Toggled="ToggleSwitchSaveFullPageStrokes_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchSaveStrokesAsXML" Label="{i18n:I18n Key=Storage_SaveAsXml}" Hint="{i18n:I18n Key=Storage_SaveAsXmlHint}" IsOn="False" Toggled="ToggleSwitchSaveStrokesAsXML_Toggled"/>
|
|
|
|
|
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_AutoScreenshotMinInk}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<Slider x:Name="SideControlMinimumAutomationSlider" Minimum="0.3"
|
|
|
|
|
Maximum="1" Width="168"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None"
|
|
|
|
|
ValueChanged="SideControlMinimumAutomationSlider_ValueChanged" />
|
|
|
|
|
<TextBlock
|
|
|
|
|
Text="{Binding ElementName=SideControlMinimumAutomationSlider, Path=Value, Converter={StaticResource IntNumberToString2} }"
|
|
|
|
|
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
|
|
|
|
|
Margin="12,0,16,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Left" Spacing="8">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_PathTitle}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="10">
|
|
|
|
|
<TextBox Width="320" x:Name="AutoSavedStrokesLocation" Text="D:\Ink Canvas"
|
|
|
|
|
TextWrapping="Wrap"
|
|
|
|
|
TextChanged="AutoSavedStrokesLocationTextBox_TextChanged" />
|
|
|
|
|
<Button Name="AutoSavedStrokesLocationButton" Content="{i18n:I18n Key=Storage_PathBrowse}"
|
|
|
|
|
Click="AutoSavedStrokesLocationButton_Click" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="12">
|
|
|
|
|
<Button Name="SetAutoSavedStrokesLocationToDiskDButton"
|
|
|
|
|
Content="{i18n:I18n Key=Storage_PathSetToD}"
|
|
|
|
|
Click="SetAutoSavedStrokesLocationToDiskDButton_Click" />
|
|
|
|
|
<Button Name="SetAutoSavedStrokesLocationToDocumentFolderButton"
|
|
|
|
|
Content="{i18n:I18n Key=Storage_PathSetToDocuments}"
|
|
|
|
|
Click="SetAutoSavedStrokesLocationToDocumentFolderButton_Click" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=Storage_PathPermissionHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchAutoDelSavedFiles" Label="{i18n:I18n Key=Storage_AutoDeleteTitle}" Hint="{i18n:I18n Key=Storage_AutoDeleteHint}" IsOn="True" Toggled="ToggleSwitchAutoDelSavedFiles_Toggled"/>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_RetentionTitle}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<ComboBox Name="ComboBoxAutoDelSavedFilesDaysThreshold"
|
|
|
|
|
|
|
|
|
|
SelectedIndex="4"
|
|
|
|
|
SelectionChanged="ComboBoxAutoDelSavedFilesDaysThreshold_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="1" />
|
|
|
|
|
<ComboBoxItem Content="3" />
|
|
|
|
|
<ComboBoxItem Content="5" />
|
|
|
|
|
<ComboBoxItem Content="7" />
|
|
|
|
|
<ComboBoxItem Content="15" />
|
|
|
|
|
<ComboBoxItem Content="30" />
|
|
|
|
|
<ComboBoxItem Content="60" />
|
|
|
|
|
<ComboBoxItem Content="100" />
|
|
|
|
|
<ComboBoxItem Content="365" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_RetentionUnitDays}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="8,0,0,0" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,8,0,8" />
|
|
|
|
|
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,8,0,0">
|
|
|
|
|
<Button Name="BtnDlassSettingsManage" Content="{i18n:I18n Key=CloudStorage_Manage}"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
Click="BtnCloudStorageManagementSettingsManage_Click"
|
|
|
|
|
Padding="15,5"
|
|
|
|
|
Margin="0,0,0,0"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
|
|
|
|
|
StrokeThickness="1" Margin="0,8,0,8" />
|
|
|
|
|
|
|
|
|
|
<TextBlock Margin="0,0,0,8" Text="{i18n:I18n Key=FoldMode_Title}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="20" />
|
|
|
|
|
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchAutoEnterAnnotationModeWhenExitFoldMode" Label="{i18n:I18n Key=FoldMode_ExitToAnnotation}" Hint="{i18n:I18n Key=FoldMode_ExitToAnnotationHint}" IsOn="False" Toggled="ToggleSwitchAutoEnterAnnotationModeWhenExitFoldMode_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchAutoFoldAfterPPTSlideShow" Label="{i18n:I18n Key=FoldMode_AutoFoldAfterPPT}" Hint="{i18n:I18n Key=FoldMode_AutoFoldAfterPPTHint}" IsOn="False" Toggled="ToggleSwitchAutoFoldAfterPPTSlideShow_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchAutoFoldWhenExitWhiteboard" Label="{i18n:I18n Key=FoldMode_AutoFoldAfterWhiteboard}" Hint="{i18n:I18n Key=FoldMode_AutoFoldAfterWhiteboardHint}" IsOn="False" Toggled="ToggleSwitchAutoFoldWhenExitWhiteboard_Toggled"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</GroupBox>
|
2026-04-06 15:02:04 +08:00
|
|
|
<GroupBox Name="GroupBoxRandWindow">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Random_Title}" FontWeight="Bold" Foreground="#fafafa"
|
|
|
|
|
FontSize="26" />
|
|
|
|
|
</GroupBox.Header>
|
|
|
|
|
<ikw:SimpleStackPanel Spacing="12">
|
2026-04-11 00:57:22 +08:00
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchDisplayRandWindowNamesInputBtn" Label="{i18n:I18n Key=Random_ShowEditNamesButton}" IsOn="True" Toggled="ToggleSwitchDisplayRandWindowNamesInputBtn_OnToggled"/>
|
2025-07-15 20:50:12 +08:00
|
|
|
|
2026-04-06 15:02:04 +08:00
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_BackgroundSettingsTitle}"
|
|
|
|
|
FontSize="16" FontWeight="Bold" Margin="0,10,0,5" />
|
2025-07-15 20:50:12 +08:00
|
|
|
|
2026-04-06 15:02:04 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,5,0,0">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_BackgroundSelectLabel}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
2026-04-10 20:22:09 +08:00
|
|
|
<ComboBox Name="ComboBoxPickNameBackground"
|
2026-04-06 15:02:04 +08:00
|
|
|
SelectedIndex="0" Width="180"
|
|
|
|
|
SelectionChanged="ComboBoxPickNameBackground_SelectionChanged">
|
2026-04-10 20:22:09 +08:00
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Random_Background_Default}" />
|
2026-04-06 15:02:04 +08:00
|
|
|
<!-- 自定义背景会在代码中动态添加 -->
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-07-15 20:50:12 +08:00
|
|
|
|
2026-04-06 15:02:04 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,5,0,0">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_CustomBackgroundLabel}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="ButtonAddCustomBackground" Content="{i18n:I18n Key=Random_CustomBackground_Upload}"
|
2026-04-06 15:02:04 +08:00
|
|
|
Click="ButtonAddCustomBackground_Click" Padding="10,3"/>
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="ButtonManageBackgrounds" Content="{i18n:I18n Key=Random_CustomBackground_Manage}"
|
2026-04-06 15:02:04 +08:00
|
|
|
Click="ButtonManageBackgrounds_Click" Padding="10,3" Margin="5,0,0,0"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-11 00:57:22 +08:00
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchShowRandomAndSingleDraw" Label="{i18n:I18n Key=Random_EnableButtons}" IsOn="True" Toggled="ToggleSwitchShowRandomAndSingleDraw_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableQuickDraw" Label="{i18n:I18n Key=Random_EnableQuickButton}" IsOn="True" Toggled="ToggleSwitchEnableQuickDraw_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchExternalCaller" Label="{i18n:I18n Key=Random_UseExternal}" IsOn="False" Toggled="ToggleSwitchExternalCaller_Toggled"/>
|
2026-04-06 15:02:04 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,8,0,0">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_ExternalTypeLabel}"
|
|
|
|
|
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
|
2026-04-24 07:13:27 +08:00
|
|
|
<ComboBox Name="ComboBoxExternalCallerType" Height="30"
|
2026-04-06 15:02:04 +08:00
|
|
|
IsEditable="False" IsReadOnly="True" SelectedIndex="0"
|
|
|
|
|
SelectionChanged="ComboBoxExternalCallerType_SelectionChanged">
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Random_ExternalType_ClassIsland}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Random_ExternalType_SecRandom}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Random_ExternalType_NamePicker}" />
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
|
|
|
|
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_OnceCloseDelay}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<Slider x:Name="RandWindowOnceCloseLatencySlider" Minimum="0.5"
|
2026-04-10 20:22:09 +08:00
|
|
|
Maximum="8" Width="168"
|
2026-04-06 15:02:04 +08:00
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="2.5"
|
|
|
|
|
TickFrequency="0.1"
|
|
|
|
|
ValueChanged="RandWindowOnceCloseLatencySlider_ValueChanged"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None" />
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center"
|
|
|
|
|
Margin="12,0,16,0">
|
|
|
|
|
<TextBlock FontSize="14" FontFamily="Consolas"
|
|
|
|
|
Text="{Binding ElementName=RandWindowOnceCloseLatencySlider, Path=Value}" />
|
|
|
|
|
<TextBlock FontSize="14" FontFamily="Consolas">s</TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_OnceMaxStudents}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<Slider x:Name="RandWindowOnceMaxStudentsSlider" Minimum="0"
|
2026-04-10 20:22:09 +08:00
|
|
|
Maximum="20" Width="168"
|
2026-04-06 15:02:04 +08:00
|
|
|
ValueChanged="RandWindowOnceMaxStudentsSlider_ValueChanged"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="10" TickFrequency="1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None" />
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Margin="12,0,16,0" FontSize="14"
|
|
|
|
|
FontFamily="Consolas"
|
|
|
|
|
Text="{Binding ElementName=RandWindowOnceMaxStudentsSlider, Path=Value, Converter={StaticResource IntNumberToString}}" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-10-26 00:00:13 +08:00
|
|
|
|
2026-04-06 15:02:04 +08:00
|
|
|
<!-- 新点名UI设置 -->
|
|
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
|
|
|
|
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_NewUI_Title}"
|
|
|
|
|
FontSize="16" FontWeight="Bold" Margin="0,10,0,5" />
|
2025-10-26 00:00:13 +08:00
|
|
|
|
2026-04-11 00:57:22 +08:00
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchUseNewRollCallUI" Label="{i18n:I18n Key=Random_NewUI_Enable}" IsOn="True" Toggled="ToggleSwitchUseNewRollCallUI_Toggled"/>
|
2025-10-26 00:00:13 +08:00
|
|
|
|
2026-04-11 00:57:22 +08:00
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableMLAvoidance" Label="{i18n:I18n Key=Random_ML_AvoidRepeat}" IsOn="True" Toggled="ToggleSwitchEnableMLAvoidance_Toggled"/>
|
2025-10-26 00:00:13 +08:00
|
|
|
|
2026-04-06 15:02:04 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_ML_HistoryCount}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,12,0" Width="190"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<Slider x:Name="MLAvoidanceHistorySlider" Minimum="5"
|
2026-04-10 20:22:09 +08:00
|
|
|
Maximum="50" Width="180"
|
2026-04-06 15:02:04 +08:00
|
|
|
ValueChanged="MLAvoidanceHistorySlider_ValueChanged"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="50" TickFrequency="5"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None" />
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Margin="8,0,0,0" FontSize="14" Width="48"
|
|
|
|
|
FontFamily="Consolas"
|
|
|
|
|
Text="{Binding ElementName=MLAvoidanceHistorySlider, Path=Value, Converter={StaticResource IntNumberToString}}" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-10-26 00:00:13 +08:00
|
|
|
|
2026-04-06 15:02:04 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_ML_Weight}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,12,0" Width="190"
|
|
|
|
|
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<Slider x:Name="MLAvoidanceWeightSlider" Minimum="0.1"
|
2026-04-10 20:22:09 +08:00
|
|
|
Maximum="1.0" Width="180"
|
2026-04-06 15:02:04 +08:00
|
|
|
ValueChanged="MLAvoidanceWeightSlider_ValueChanged"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="1.0" TickFrequency="0.1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None" />
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Margin="8,0,0,0" FontSize="14" Width="48"
|
|
|
|
|
FontFamily="Consolas"
|
|
|
|
|
Text="{Binding ElementName=MLAvoidanceWeightSlider, Path=Value, StringFormat={}{0:P0}}" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-10-26 00:00:13 +08:00
|
|
|
|
2026-04-06 15:02:04 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=Random_ML_Hint}"
|
|
|
|
|
TextWrapping="Wrap" Foreground="#a1a1aa" Margin="0,5,0,0" />
|
2025-10-26 00:00:13 +08:00
|
|
|
|
2026-04-06 15:02:04 +08:00
|
|
|
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
|
|
|
|
|
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_Title}"
|
|
|
|
|
FontSize="16" FontWeight="Bold" Margin="0,10,0,5" />
|
2026-04-11 00:57:22 +08:00
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchUseLegacyTimerUI" Label="{i18n:I18n Key=Timer_UseLegacyButtons}" IsOn="False" Toggled="ToggleSwitchUseLegacyTimerUI_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchUseNewStyleUI" Label="{i18n:I18n Key=Timer_NewUI}" IsOn="False" Toggled="ToggleSwitchUseNewStyleUI_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableOvertimeCountUp" Label="{i18n:I18n Key=Timer_EnableCountUp}" IsOn="False" Toggled="ToggleSwitchEnableOvertimeCountUp_Toggled"/>
|
|
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableOvertimeRedText" Label="{i18n:I18n Key=Timer_OvertimeHighlight}" IsOn="True" Toggled="ToggleSwitchEnableOvertimeRedText_Toggled"/>
|
2026-04-06 15:02:04 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_Volume}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<Slider x:Name="TimerVolumeSlider" Minimum="0"
|
2026-04-10 20:22:09 +08:00
|
|
|
Maximum="1" Width="168"
|
2026-04-06 15:02:04 +08:00
|
|
|
ValueChanged="TimerVolumeSlider_ValueChanged"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None" />
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Margin="12,0,16,0" FontSize="14"
|
|
|
|
|
FontFamily="Consolas"
|
|
|
|
|
Text="{Binding ElementName=TimerVolumeSlider, Path=Value, StringFormat={}{0:P0}}" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel HorizontalAlignment="Left" Margin="0,5,0,0" Width="420">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_CustomSoundLabel}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<WrapPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="ButtonSelectCustomTimerSound" Content="{i18n:I18n Key=Timer_SelectFile}"
|
2026-04-06 15:02:04 +08:00
|
|
|
Click="ButtonSelectCustomTimerSound_Click" Padding="10,3" Width="130" Margin="0,0,6,0"/>
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="ButtonResetTimerSound" Content="{i18n:I18n Key=Timer_Reset}"
|
2026-04-06 15:02:04 +08:00
|
|
|
Click="ButtonResetTimerSound_Click" Padding="10,3" Width="90"/>
|
|
|
|
|
</WrapPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-11 00:57:22 +08:00
|
|
|
<controls:LabeledToggleSwitch x:Name="ToggleSwitchEnableProgressiveReminder" Label="{i18n:I18n Key=Timer_Progressive}" IsOn="False" Toggled="ToggleSwitchEnableProgressiveReminder_Toggled"/>
|
2026-04-06 15:02:04 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,5,0,0">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_ProgressiveVolume}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,16,0" />
|
|
|
|
|
<Slider x:Name="ProgressiveReminderVolumeSlider" Minimum="0"
|
2026-04-10 20:22:09 +08:00
|
|
|
Maximum="1" Width="168"
|
2026-04-06 15:02:04 +08:00
|
|
|
ValueChanged="ProgressiveReminderVolumeSlider_ValueChanged"
|
|
|
|
|
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.1"
|
|
|
|
|
TickPlacement="None" AutoToolTipPlacement="None" />
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Margin="12,0,16,0" FontSize="14"
|
|
|
|
|
FontFamily="Consolas"
|
|
|
|
|
Text="{Binding ElementName=ProgressiveReminderVolumeSlider, Path=Value, StringFormat={}{0:P0}}" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel HorizontalAlignment="Left" Margin="0,5,0,0" Width="420">
|
|
|
|
|
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_ProgressiveCustomLabel}" VerticalAlignment="Center"
|
|
|
|
|
FontSize="14" Margin="0,0,0,4" Style="{StaticResource AutoFitSettingsOptionLabel14}" />
|
|
|
|
|
<WrapPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="ButtonSelectCustomProgressiveReminderSound" Content="{i18n:I18n Key=Timer_ProgressiveSelectFile}"
|
2026-04-06 15:02:04 +08:00
|
|
|
Click="ButtonSelectCustomProgressiveReminderSound_Click" Padding="10,3" Width="130" Margin="0,0,6,0"/>
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="ButtonResetProgressiveReminderSound" Content="{i18n:I18n Key=Timer_ProgressiveReset}"
|
2026-04-06 15:02:04 +08:00
|
|
|
Click="ButtonResetProgressiveReminderSound_Click" Padding="10,3" Width="90"/>
|
|
|
|
|
</WrapPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-06 15:02:04 +08:00
|
|
|
</GroupBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</ui:ScrollViewerEx>
|
2025-06-18 09:08:38 +08:00
|
|
|
|
|
|
|
|
<!-- 底部按钮区域 -->
|
2025-07-21 22:45:55 +08:00
|
|
|
<Grid Grid.Row="2" VerticalAlignment="Bottom" Height="65">
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button
|
2025-05-25 09:29:48 +08:00
|
|
|
Width="120" Margin="10"
|
|
|
|
|
HorizontalAlignment="Right"
|
2025-06-18 09:08:38 +08:00
|
|
|
Click="BtnCloseSettings_Click">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" VerticalAlignment="Center"
|
2026-04-10 21:02:17 +08:00
|
|
|
HorizontalAlignment="Center">
|
2025-06-18 09:08:38 +08:00
|
|
|
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Margin="0,0,6,0" Height="20" Width="20">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="M19,6.41 L17.59,5 L12,10.59 L6.41,5 L5,6.41 L10.59,12 L5,17.59 L6.41,19 L12,13.41 L17.59,19 L19,17.59 L13.41,12 Z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<Label FontSize="16" Foreground="#fafafa" VerticalAlignment="Center"
|
2026-04-10 20:22:09 +08:00
|
|
|
FontWeight="Bold"
|
2026-03-03 14:08:01 +08:00
|
|
|
Content="{i18n:I18n Key=Common_Close}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-06-18 09:08:38 +08:00
|
|
|
</Button>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid></Grid>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
2025-06-18 09:08:38 +08:00
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
<!--// 黑/白 板幕布 //-->
|
|
|
|
|
<Grid Name="GridBackgroundCoverHolder">
|
|
|
|
|
<Grid Name="GridBackgroundCover" Visibility="Collapsed" Background="#1F1F1F">
|
|
|
|
|
<Image Name="ICCWaterMarkWhite" Source="Resources/Icons-png/icc-transparent.png" Width="648"
|
|
|
|
|
Height="648" Opacity="0.035" />
|
|
|
|
|
<Image Name="ICCWaterMarkDark" Source="Resources/Icons-png/icc-transparent-dark.png" Width="648"
|
|
|
|
|
Height="648" Opacity="0.055" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid Name="GridTransparencyFakeBackground" Opacity="0" />
|
|
|
|
|
<Label Name="Label" Visibility="Collapsed" Foreground="Gray" Content="0" />
|
|
|
|
|
<Grid Name="InkCanvasGridForInkReplay">
|
2025-06-17 18:45:55 +08:00
|
|
|
<InkCanvas x:Name="inkCanvas" ForceCursor="True" UseCustomCursor="True"
|
2025-07-18 16:12:04 +08:00
|
|
|
TouchDown="Main_Grid_TouchDown"
|
2025-05-25 09:29:48 +08:00
|
|
|
TouchMove="inkCanvas_TouchMove"
|
|
|
|
|
ManipulationDelta="Main_Grid_ManipulationDelta"
|
|
|
|
|
ManipulationCompleted="Main_Grid_ManipulationCompleted"
|
2025-12-27 10:51:42 +08:00
|
|
|
ManipulationInertiaStarting="InkCanvas_ManipulationInertiaStarting"
|
2025-05-25 09:29:48 +08:00
|
|
|
IsManipulationEnabled="True"
|
|
|
|
|
EditingModeChanged="inkCanvas_EditingModeChanged"
|
2025-12-27 10:51:42 +08:00
|
|
|
PreviewTouchDown="InkCanvas_PreviewTouchDown"
|
|
|
|
|
PreviewTouchMove="InkCanvas_PreviewTouchMove"
|
|
|
|
|
PreviewTouchUp="InkCanvas_PreviewTouchUp"
|
2025-05-25 09:29:48 +08:00
|
|
|
MouseDown="inkCanvas_MouseDown"
|
|
|
|
|
MouseMove="inkCanvas_MouseMove"
|
|
|
|
|
MouseUp="inkCanvas_MouseUp"
|
2025-12-27 10:51:42 +08:00
|
|
|
ManipulationStarting="InkCanvas_ManipulationStarting"
|
2025-05-25 09:29:48 +08:00
|
|
|
SelectionChanged="inkCanvas_SelectionChanged"
|
2025-12-20 19:36:16 +08:00
|
|
|
StrokeCollected="inkCanvas_StrokeCollected"
|
|
|
|
|
ClipToBounds="False"
|
2025-12-21 17:30:29 +08:00
|
|
|
Background="Transparent" />
|
2026-03-28 16:59:02 +08:00
|
|
|
|
2025-09-27 17:01:33 +08:00
|
|
|
<Canvas x:Name="EraserOverlayCanvas"
|
2025-07-19 13:35:28 +08:00
|
|
|
Background="Transparent"
|
|
|
|
|
IsHitTestVisible="False"
|
2025-09-27 17:01:33 +08:00
|
|
|
Loaded="EraserOverlayCanvas_Loaded"
|
|
|
|
|
Panel.ZIndex="1000">
|
|
|
|
|
<!-- 橡皮擦视觉反馈图像 -->
|
|
|
|
|
<Image x:Name="EraserFeedback"
|
|
|
|
|
Canvas.Left="0"
|
|
|
|
|
Canvas.Top="0"
|
|
|
|
|
RenderTransformOrigin="0,0"
|
|
|
|
|
Width="0"
|
|
|
|
|
Height="0"
|
|
|
|
|
Visibility="Collapsed">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TranslateTransform x:Name="EraserFeedbackTranslateTransform"/>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
</Image>
|
|
|
|
|
</Canvas>
|
2025-11-08 22:07:38 +08:00
|
|
|
|
|
|
|
|
<!-- 快抽悬浮按钮 -->
|
2026-04-13 13:01:14 +08:00
|
|
|
<localControls:QuickDrawFloatingButtonControl x:Name="QuickDrawFloatingButton"
|
2025-11-08 22:07:38 +08:00
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
Margin="0,0,0,200"
|
|
|
|
|
Visibility="Collapsed"
|
2025-11-08 22:17:52 +08:00
|
|
|
Panel.ZIndex="1001"/>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Canvas IsHitTestVisible="False">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Canvas.Left="25" Canvas.Top="15" Orientation="Vertical">
|
2025-05-25 09:29:48 +08:00
|
|
|
<TextBlock Text="{Binding nowTime}" Name="WaterMarkTime" Visibility="Collapsed" FontSize="30"
|
|
|
|
|
FontWeight="Bold" Foreground="White" Opacity="0.6" />
|
|
|
|
|
<TextBlock Text="{Binding nowDate}" Name="WaterMarkDate" Visibility="Collapsed" Margin="2,0,0,0"
|
|
|
|
|
FontSize="16" Foreground="White" Opacity="0.45" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<TextBlock Canvas.Right="25" Canvas.Top="15" Text="多一份理解,少一份抱怨" Name="BlackBoardWaterMark"
|
|
|
|
|
Visibility="Collapsed" FontSize="24" FontWeight="Bold" Foreground="White" Opacity="0.5" />
|
|
|
|
|
</Canvas>
|
|
|
|
|
<Grid Visibility="{Binding ElementName=inkCanvas, Path=Visibility}">
|
|
|
|
|
<Grid Name="GridInkCanvasSelectionCover"
|
|
|
|
|
MouseDown="GridInkCanvasSelectionCover_MouseDown"
|
2025-09-07 00:57:48 +08:00
|
|
|
MouseMove="GridInkCanvasSelectionCover_MouseMove"
|
2025-05-25 09:29:48 +08:00
|
|
|
MouseUp="GridInkCanvasSelectionCover_MouseUp"
|
|
|
|
|
IsManipulationEnabled="True"
|
|
|
|
|
ManipulationStarting="GridInkCanvasSelectionCover_ManipulationStarting"
|
|
|
|
|
ManipulationCompleted="GridInkCanvasSelectionCover_ManipulationCompleted"
|
|
|
|
|
ManipulationDelta="GridInkCanvasSelectionCover_ManipulationDelta"
|
2026-02-16 17:15:33 +08:00
|
|
|
TouchDown="GridInkCanvasSelectionCover_TouchDown"
|
|
|
|
|
TouchUp="GridInkCanvasSelectionCover_TouchUp"
|
|
|
|
|
TouchMove="GridInkCanvasSelectionCover_TouchMove"
|
2025-09-07 01:45:50 +08:00
|
|
|
Background="#01FFFFFF" Opacity="0.01" Visibility="Visible" Margin="1,0,-1,0">
|
|
|
|
|
|
|
|
|
|
<!-- 选择框 -->
|
|
|
|
|
<Rectangle Name="SelectionRectangle"
|
|
|
|
|
Stroke="Blue"
|
|
|
|
|
StrokeThickness="2"
|
|
|
|
|
StrokeDashArray="5,5"
|
|
|
|
|
Fill="Transparent"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
IsHitTestVisible="False"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Top" />
|
|
|
|
|
|
|
|
|
|
<!-- 选择点容器 -->
|
|
|
|
|
<Canvas Name="SelectionHandlesCanvas" Visibility="Collapsed">
|
|
|
|
|
<!-- 四个角选择点 -->
|
|
|
|
|
<Rectangle Name="TopLeftHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
|
2026-02-16 17:15:33 +08:00
|
|
|
Cursor="SizeNWSE" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
|
|
|
|
|
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
|
2025-09-07 01:45:50 +08:00
|
|
|
<Rectangle Name="TopRightHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
|
2026-02-16 17:15:33 +08:00
|
|
|
Cursor="SizeNESW" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
|
|
|
|
|
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
|
2025-09-07 01:45:50 +08:00
|
|
|
<Rectangle Name="BottomLeftHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
|
2026-02-16 17:15:33 +08:00
|
|
|
Cursor="SizeNESW" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
|
|
|
|
|
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
|
2025-09-07 01:45:50 +08:00
|
|
|
<Rectangle Name="BottomRightHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
|
2026-02-16 17:15:33 +08:00
|
|
|
Cursor="SizeNWSE" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
|
|
|
|
|
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
|
2025-09-07 01:45:50 +08:00
|
|
|
|
|
|
|
|
<!-- 四个边选择点 -->
|
|
|
|
|
<Rectangle Name="TopHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
|
2026-02-16 17:15:33 +08:00
|
|
|
Cursor="SizeNS" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
|
|
|
|
|
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
|
2025-09-07 01:45:50 +08:00
|
|
|
<Rectangle Name="BottomHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
|
2026-02-16 17:15:33 +08:00
|
|
|
Cursor="SizeNS" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
|
|
|
|
|
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
|
2025-09-07 01:45:50 +08:00
|
|
|
<Rectangle Name="LeftHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
|
2026-02-16 17:15:33 +08:00
|
|
|
Cursor="SizeWE" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
|
|
|
|
|
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
|
2025-09-07 01:45:50 +08:00
|
|
|
<Rectangle Name="RightHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
|
2026-02-16 17:15:33 +08:00
|
|
|
Cursor="SizeWE" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
|
|
|
|
|
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
|
2025-09-07 01:45:50 +08:00
|
|
|
</Canvas>
|
|
|
|
|
</Grid>
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Name="BorderStrokeSelectionControl"
|
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Top" Margin="800,900,0,0"
|
|
|
|
|
CornerRadius="5" Height="80"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
|
|
|
|
Visibility="{Binding ElementName=GridInkCanvasSelectionCover, Path=Visibility}"
|
|
|
|
|
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}">
|
|
|
|
|
<Viewbox Margin="0,-2.5">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="10" Height="60">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Name="BorderStrokeSelectionClone" Margin="0,2,-9,2" Background="Transparent"
|
|
|
|
|
CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Width="40" MouseDown="Border_MouseDown" MouseUp="BorderStrokeSelectionClone_MouseUp">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
2025-10-05 08:55:18 +08:00
|
|
|
<Image Source="{DynamicResource StrokeSelectionCloneIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
|
|
|
|
<TextBlock Text="克隆" FontSize="10" Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
HorizontalAlignment="Center" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Name="BorderStrokeSelectionCloneToNewBoard" Margin="0,2,-9,2" Background="Transparent"
|
|
|
|
|
CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Width="40" MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="BorderStrokeSelectionCloneToNewBoard_MouseUp"
|
|
|
|
|
Visibility="{Binding Visibility, ElementName=GridBackgroundCover}">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
2025-10-05 08:55:18 +08:00
|
|
|
<Image Source="{DynamicResource StrokeSelectionCloneToNewBoardIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
|
|
|
|
<TextBlock Text="克隆至新页" FontSize="8" Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
HorizontalAlignment="Center" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Background="{DynamicResource FloatBarForeground}" />
|
|
|
|
|
<Border CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Height="40">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" Spacing="5" Margin="0,-10">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="10">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Image Source="{DynamicResource Rotate45DrawingImage}" Height="22"
|
|
|
|
|
MouseDown="Border_MouseDown" MouseUp="ImageRotate45_MouseUp" />
|
|
|
|
|
<Image Source="{DynamicResource Rotate90DrawingImage}" Height="22"
|
|
|
|
|
MouseDown="Border_MouseDown" MouseUp="ImageRotate90_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<TextBlock Text="旋转" FontSize="10" HorizontalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Background="{DynamicResource FloatBarForeground}" />
|
|
|
|
|
<Border CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Height="40">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" Margin="0,-10">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Image MouseDown="Border_MouseDown" MouseUp="ImageFlipHorizontal_MouseUp"
|
2025-10-05 08:55:18 +08:00
|
|
|
Source="{DynamicResource StrokeSelectionFlipHorizontalIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="30" Width="30" />
|
|
|
|
|
<Image MouseDown="Border_MouseDown" MouseUp="ImageFlipVertical_MouseUp"
|
2025-10-05 08:55:18 +08:00
|
|
|
Source="{DynamicResource StrokeSelectionFlipVerticalIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="30" Width="30" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<TextBlock Text="翻转" FontSize="10" HorizontalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Background="{DynamicResource FloatBarForeground}" />
|
|
|
|
|
<Border CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Height="40">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" Spacing="5" Margin="0,-10">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="5">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Grid MouseDown="Border_MouseDown" MouseUp="GridPenWidthDecrease_MouseUp">
|
2025-10-05 08:55:18 +08:00
|
|
|
<Image Source="{DynamicResource StrokeSelectionPenWidthIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
|
|
|
|
<TextBlock Text="-" Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Right"
|
|
|
|
|
Margin="0,0,-2,-7" FontSize="15" />
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid MouseDown="Border_MouseDown" MouseUp="GridPenWidthIncrease_MouseUp">
|
2025-10-05 08:55:18 +08:00
|
|
|
<Image Source="{DynamicResource StrokeSelectionPenWidthIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
|
|
|
|
<TextBlock Text="+" Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Right"
|
|
|
|
|
Margin="0,0,-3,-4" FontSize="11" />
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid MouseDown="Border_MouseDown" MouseUp="GridPenWidthRestore_MouseUp">
|
2025-10-05 08:55:18 +08:00
|
|
|
<Image Source="{DynamicResource StrokeSelectionPenWidthIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
|
|
|
|
<Image Source="{DynamicResource AndroidRefreshDrawingImage}"
|
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Right"
|
|
|
|
|
Margin="0,0,-2,-2" Width="8" />
|
|
|
|
|
</Grid>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<TextBlock Text="画笔粗细" FontSize="10" HorizontalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Background="{DynamicResource FloatBarForeground}" />
|
|
|
|
|
<Border Margin="-8,0,0,0"
|
|
|
|
|
CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Width="40" MouseDown="Border_MouseDown" MouseUp="BorderStrokeSelectionDelete_MouseUp">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
2025-10-05 08:55:18 +08:00
|
|
|
<Image Source="{DynamicResource StrokeSelectionDeleteIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
|
|
|
|
<TextBlock Margin="0,5,0,0" Text="删除" FontSize="10"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
HorizontalAlignment="Center" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Viewbox>
|
|
|
|
|
</Border>
|
2025-07-28 19:02:45 +08:00
|
|
|
|
2025-08-31 00:39:40 +08:00
|
|
|
<!-- 图片选择工具栏 -->
|
|
|
|
|
<Border Name="BorderImageSelectionControl"
|
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0"
|
|
|
|
|
CornerRadius="5" Height="80"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}">
|
|
|
|
|
<Viewbox Margin="0,-2.5">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="10" Height="60">
|
2025-08-31 00:39:40 +08:00
|
|
|
<Border Name="BorderImageClone" Margin="0,2,-9,2" Background="Transparent"
|
|
|
|
|
CornerRadius="{Binding ElementName=BorderImageSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Width="40" MouseDown="Border_MouseDown" MouseUp="BorderImageClone_MouseUp">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
2025-10-05 09:14:29 +08:00
|
|
|
<Image Source="{DynamicResource ImageSelectionCloneIcon}"
|
2025-08-31 00:39:40 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
|
|
|
|
<TextBlock Text="克隆" FontSize="10" Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
HorizontalAlignment="Center" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-31 00:39:40 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Name="BorderImageCloneToNewBoard"
|
|
|
|
|
Margin="0,2,-9,2"
|
|
|
|
|
Background="Transparent"
|
|
|
|
|
CornerRadius="{Binding ElementName=BorderImageSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Width="40"
|
|
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="BorderImageCloneToNewBoard_MouseUp"
|
|
|
|
|
Visibility="{Binding Visibility, ElementName=GridBackgroundCover}">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center"
|
2025-08-31 00:39:40 +08:00
|
|
|
HorizontalAlignment="Center">
|
2025-10-05 09:14:29 +08:00
|
|
|
<Image Source="{DynamicResource ImageSelectionCloneToNewBoardIcon}"
|
2025-08-31 00:39:40 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="25"
|
|
|
|
|
Width="25" />
|
|
|
|
|
<TextBlock Text="克隆至新页"
|
|
|
|
|
FontSize="8"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
HorizontalAlignment="Center" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-31 00:39:40 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Width="1"
|
|
|
|
|
Height="45"
|
|
|
|
|
BorderBrush="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Background="{DynamicResource FloatBarForeground}" />
|
|
|
|
|
<Border CornerRadius="{Binding ElementName=BorderImageSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Height="40">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center"
|
2025-08-31 00:39:40 +08:00
|
|
|
Spacing="5"
|
|
|
|
|
Margin="0,-10">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-08-31 00:39:40 +08:00
|
|
|
Spacing="10">
|
|
|
|
|
<Image Source="{DynamicResource Rotate45DrawingImage}"
|
|
|
|
|
Height="22"
|
|
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="BorderImageRotateLeft_MouseUp" />
|
|
|
|
|
<Image Source="{DynamicResource Rotate90DrawingImage}"
|
|
|
|
|
Height="22"
|
|
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="BorderImageRotateRight_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-31 00:39:40 +08:00
|
|
|
<TextBlock Text="旋转"
|
|
|
|
|
FontSize="10"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-31 00:39:40 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Background="{DynamicResource FloatBarForeground}" />
|
|
|
|
|
<Border CornerRadius="{Binding ElementName=BorderImageSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Height="40">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" Spacing="5" Margin="0,-10">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="10">
|
2025-08-31 00:39:40 +08:00
|
|
|
<Grid MouseDown="Border_MouseDown" MouseUp="GridImageScaleDecrease_MouseUp">
|
2025-10-05 09:14:29 +08:00
|
|
|
<Image Source="{DynamicResource ImageSelectionScaleIcon1}"
|
2025-08-31 00:39:40 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
|
|
|
|
<TextBlock Text="-" Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Right"
|
|
|
|
|
Margin="0,0,-2,-7" FontSize="15" />
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid MouseDown="Border_MouseDown" MouseUp="GridImageScaleIncrease_MouseUp">
|
2025-10-05 09:14:29 +08:00
|
|
|
<Image Source="{DynamicResource ImageSelectionScaleIcon2}"
|
2025-08-31 00:39:40 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
|
|
|
|
<TextBlock Text="+" Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Right"
|
|
|
|
|
Margin="0,0,-3,-4" FontSize="11" />
|
|
|
|
|
</Grid>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-31 00:39:40 +08:00
|
|
|
<TextBlock Text="缩放" FontSize="10" HorizontalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-31 00:39:40 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Background="{DynamicResource FloatBarForeground}" />
|
|
|
|
|
<Border Margin="-8,0,0,0"
|
|
|
|
|
CornerRadius="{Binding ElementName=BorderImageSelectionControl, Path=CornerRadius}"
|
|
|
|
|
Width="40" MouseDown="Border_MouseDown" MouseUp="BorderImageDelete_MouseUp">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
2025-10-05 09:14:29 +08:00
|
|
|
<Image Source="{DynamicResource ImageSelectionDeleteIcon}"
|
2025-08-31 00:39:40 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
|
|
|
|
|
<TextBlock Margin="0,5,0,0" Text="删除" FontSize="10"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
HorizontalAlignment="Center" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-31 00:39:40 +08:00
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-31 00:39:40 +08:00
|
|
|
</Viewbox>
|
|
|
|
|
</Border>
|
2025-08-30 21:18:34 +08:00
|
|
|
|
2026-04-05 17:31:35 +08:00
|
|
|
<Border Name="BorderPdfPageSidebar"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
Margin="0,0,0,0"
|
2026-04-05 19:23:00 +08:00
|
|
|
Width="64"
|
|
|
|
|
CornerRadius="8"
|
2026-04-05 17:31:35 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
2026-04-05 19:23:00 +08:00
|
|
|
BorderBrush="#33FFFFFF"
|
2026-04-05 17:31:35 +08:00
|
|
|
BorderThickness="1"
|
|
|
|
|
SnapsToDevicePixels="True"
|
|
|
|
|
Visibility="Collapsed"
|
2026-04-05 19:23:00 +08:00
|
|
|
Panel.ZIndex="1001"
|
|
|
|
|
ui:ThemeManager.RequestedTheme="Dark">
|
|
|
|
|
<Border.Effect>
|
|
|
|
|
<DropShadowEffect BlurRadius="24"
|
|
|
|
|
ShadowDepth="3"
|
|
|
|
|
Direction="270"
|
|
|
|
|
Opacity="0.45"
|
|
|
|
|
Color="#000000" />
|
|
|
|
|
</Border.Effect>
|
2026-04-05 17:31:35 +08:00
|
|
|
<Border.Resources>
|
|
|
|
|
<Style x:Key="PdfSidebarNavButtonStyle" TargetType="Border">
|
2026-04-05 19:23:00 +08:00
|
|
|
<Setter Property="Width" Value="40" />
|
|
|
|
|
<Setter Property="Height" Value="36" />
|
|
|
|
|
<Setter Property="CornerRadius" Value="4" />
|
|
|
|
|
<Setter Property="BorderThickness" Value="0" />
|
2026-04-05 17:31:35 +08:00
|
|
|
<Setter Property="Cursor" Value="Hand" />
|
|
|
|
|
<Setter Property="SnapsToDevicePixels" Value="True" />
|
2026-04-05 19:23:00 +08:00
|
|
|
<Setter Property="Background" Value="Transparent" />
|
2026-04-05 17:31:35 +08:00
|
|
|
<Style.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
<Setter Property="Background">
|
|
|
|
|
<Setter.Value>
|
2026-04-05 19:23:00 +08:00
|
|
|
<SolidColorBrush Color="#FFFFFF" Opacity="0.08" />
|
2026-04-05 17:31:35 +08:00
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</Border.Resources>
|
|
|
|
|
<Grid>
|
|
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center"
|
2026-04-05 19:23:00 +08:00
|
|
|
Spacing="8"
|
|
|
|
|
Margin="0,10,0,10">
|
2026-04-05 17:31:35 +08:00
|
|
|
<TextBlock Text="PDF"
|
2026-04-05 19:23:00 +08:00
|
|
|
FontSize="10"
|
2026-04-05 17:31:35 +08:00
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2026-04-05 19:23:00 +08:00
|
|
|
Opacity="0.78" />
|
|
|
|
|
<Border CornerRadius="4"
|
|
|
|
|
Padding="8,6"
|
|
|
|
|
BorderThickness="0"
|
|
|
|
|
SnapsToDevicePixels="True"
|
|
|
|
|
Background="#14FFFFFF">
|
2026-04-05 17:31:35 +08:00
|
|
|
<TextBlock Name="TextBlockPdfSidebarPageLabel"
|
|
|
|
|
Text="— / —"
|
|
|
|
|
FontSize="12"
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
TextAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Opacity="0.55" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Name="BorderPdfSidebarPagePrev"
|
|
|
|
|
Style="{StaticResource PdfSidebarNavButtonStyle}"
|
|
|
|
|
Opacity="0.35"
|
|
|
|
|
IsHitTestVisible="False"
|
2026-04-05 19:23:00 +08:00
|
|
|
ToolTip="上一页"
|
2026-04-05 17:31:35 +08:00
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="BorderPdfSidebarPagePrev_MouseUp">
|
2026-04-05 19:23:00 +08:00
|
|
|
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.ChevronLeft}"
|
|
|
|
|
FontSize="14"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}" />
|
2026-04-05 17:31:35 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Name="BorderPdfSidebarPageNext"
|
|
|
|
|
Style="{StaticResource PdfSidebarNavButtonStyle}"
|
|
|
|
|
Opacity="0.35"
|
|
|
|
|
IsHitTestVisible="False"
|
2026-04-05 19:23:00 +08:00
|
|
|
ToolTip="下一页"
|
2026-04-05 17:31:35 +08:00
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="BorderPdfSidebarPageNext_MouseUp">
|
2026-04-05 19:23:00 +08:00
|
|
|
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.ChevronRight}"
|
|
|
|
|
FontSize="14"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}" />
|
2026-04-05 17:31:35 +08:00
|
|
|
</Border>
|
|
|
|
|
<TextBlock Text="翻页"
|
|
|
|
|
FontSize="9"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2026-04-05 19:23:00 +08:00
|
|
|
Opacity="0.55" />
|
2026-04-05 17:31:35 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
|
2025-09-20 21:33:21 +08:00
|
|
|
<!-- 图片缩放选择点 -->
|
|
|
|
|
<Canvas Name="ImageResizeHandlesCanvas"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
Panel.ZIndex="1000">
|
|
|
|
|
<!-- 四个角控制点 -->
|
|
|
|
|
<Ellipse Name="ImageTopLeftHandle"
|
|
|
|
|
Width="8" Height="8"
|
|
|
|
|
Fill="White"
|
|
|
|
|
Stroke="#0078D4"
|
|
|
|
|
StrokeThickness="1"
|
|
|
|
|
Cursor="SizeNWSE"
|
|
|
|
|
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
|
|
|
|
|
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
|
|
|
|
|
MouseMove="ImageResizeHandle_MouseMove" />
|
|
|
|
|
<Ellipse Name="ImageTopRightHandle"
|
|
|
|
|
Width="8" Height="8"
|
|
|
|
|
Fill="White"
|
|
|
|
|
Stroke="#0078D4"
|
|
|
|
|
StrokeThickness="1"
|
|
|
|
|
Cursor="SizeNESW"
|
|
|
|
|
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
|
|
|
|
|
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
|
|
|
|
|
MouseMove="ImageResizeHandle_MouseMove" />
|
|
|
|
|
<Ellipse Name="ImageBottomLeftHandle"
|
|
|
|
|
Width="8" Height="8"
|
|
|
|
|
Fill="White"
|
|
|
|
|
Stroke="#0078D4"
|
|
|
|
|
StrokeThickness="1"
|
|
|
|
|
Cursor="SizeNESW"
|
|
|
|
|
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
|
|
|
|
|
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
|
|
|
|
|
MouseMove="ImageResizeHandle_MouseMove" />
|
|
|
|
|
<Ellipse Name="ImageBottomRightHandle"
|
|
|
|
|
Width="8" Height="8"
|
|
|
|
|
Fill="White"
|
|
|
|
|
Stroke="#0078D4"
|
|
|
|
|
StrokeThickness="1"
|
|
|
|
|
Cursor="SizeNWSE"
|
|
|
|
|
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
|
|
|
|
|
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
|
|
|
|
|
MouseMove="ImageResizeHandle_MouseMove" />
|
|
|
|
|
|
|
|
|
|
<!-- 四个边控制点 -->
|
|
|
|
|
<Ellipse Name="ImageTopHandle"
|
|
|
|
|
Width="8" Height="8"
|
|
|
|
|
Fill="White"
|
|
|
|
|
Stroke="#0078D4"
|
|
|
|
|
StrokeThickness="1"
|
|
|
|
|
Cursor="SizeNS"
|
|
|
|
|
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
|
|
|
|
|
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
|
|
|
|
|
MouseMove="ImageResizeHandle_MouseMove" />
|
|
|
|
|
<Ellipse Name="ImageBottomHandle"
|
|
|
|
|
Width="8" Height="8"
|
|
|
|
|
Fill="White"
|
|
|
|
|
Stroke="#0078D4"
|
|
|
|
|
StrokeThickness="1"
|
|
|
|
|
Cursor="SizeNS"
|
|
|
|
|
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
|
|
|
|
|
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
|
|
|
|
|
MouseMove="ImageResizeHandle_MouseMove" />
|
|
|
|
|
<Ellipse Name="ImageLeftHandle"
|
|
|
|
|
Width="8" Height="8"
|
|
|
|
|
Fill="White"
|
|
|
|
|
Stroke="#0078D4"
|
|
|
|
|
StrokeThickness="1"
|
|
|
|
|
Cursor="SizeWE"
|
|
|
|
|
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
|
|
|
|
|
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
|
|
|
|
|
MouseMove="ImageResizeHandle_MouseMove" />
|
|
|
|
|
<Ellipse Name="ImageRightHandle"
|
|
|
|
|
Width="8" Height="8"
|
|
|
|
|
Fill="White"
|
|
|
|
|
Stroke="#0078D4"
|
|
|
|
|
StrokeThickness="1"
|
|
|
|
|
Cursor="SizeWE"
|
|
|
|
|
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
|
|
|
|
|
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
|
|
|
|
|
MouseMove="ImageResizeHandle_MouseMove" />
|
|
|
|
|
</Canvas>
|
|
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Grid Visibility="Collapsed">
|
|
|
|
|
<Grid Visibility="{Binding ElementName=GridBackgroundCoverHolder, Path=Visibility}">
|
|
|
|
|
<Viewbox Margin="10" Height="50" HorizontalAlignment="Right" VerticalAlignment="Bottom">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="5">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Width="36" Height="36" CornerRadius="5"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}" BorderThickness="1"
|
|
|
|
|
BorderBrush="{DynamicResource FloatBarBorderBrush}">
|
|
|
|
|
<Grid Margin="6" MouseUp="GridPPTControlPrevious_MouseUp">
|
|
|
|
|
<Image
|
|
|
|
|
Source="{DynamicResource ResourceKey=SeewoImageSource.HorizontalPreviousSlideNormal}" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Visibility="{Binding ElementName=PptNavigationBtn, Path=Visibility}" Width="36"
|
|
|
|
|
Height="36" CornerRadius="5" Background="{DynamicResource FloatBarBackground}"
|
|
|
|
|
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}">
|
|
|
|
|
<Grid MouseUp="PPTNavigationBtn_MouseUp">
|
|
|
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
|
|
|
Foreground="{Binding ElementName=PptNavigationTextBlock, Path=Foreground}"
|
|
|
|
|
FontSize="{Binding ElementName=PptNavigationTextBlock, Path=FontSize}"
|
|
|
|
|
Text="{Binding ElementName=PptNavigationTextBlock, Path=Text}" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Width="36" Height="36" CornerRadius="5"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}" BorderThickness="1"
|
|
|
|
|
BorderBrush="{DynamicResource FloatBarBorderBrush}">
|
|
|
|
|
<Grid Margin="6" MouseUp="GridPPTControlNext_MouseUp">
|
|
|
|
|
<Image
|
|
|
|
|
Source="{DynamicResource ResourceKey=SeewoImageSource.HorizontalNextSlideNormal}" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Viewbox>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
<!--// BlackBoard 界面 //-->
|
|
|
|
|
<Grid Name="BlackboardUIGridForInkReplay">
|
|
|
|
|
<Grid Visibility="{Binding ElementName=GridBackgroundCoverHolder, Path=Visibility}">
|
|
|
|
|
<!-- 左下角 -->
|
|
|
|
|
<Viewbox x:Name="ViewboxBlackboardLeftSide" Margin="3,0,0,0" Height="55" HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Bottom">
|
|
|
|
|
<Grid Name="BlackboardLeftSide" Visibility="Visible" Margin="0,0,0,3" Height="50"
|
|
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Bottom">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="5">
|
2025-09-21 01:06:42 +08:00
|
|
|
<Border CornerRadius="5,5,5,5" Background="{DynamicResource BoardFloatBarBackground}" Margin="0,0,0,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2026-04-17 06:39:27 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BtnLeftWhiteBoardSwitchPrevious"
|
|
|
|
|
Position="First"
|
|
|
|
|
Label="上一页"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M7.40091,10.456L14.5033,3.35357 12.3198,1.17001 1.48978,12 12.3198,22.83 14.5033,20.6465 7.40089,13.544 22.5102,13.544 22.5102,10.456 7.40091,10.456z"
|
|
|
|
|
IsEnabledBinding="{Binding ElementName=BtnWhiteBoardSwitchPrevious, Path=IsEnabled}"
|
2026-04-17 09:26:29 +08:00
|
|
|
ButtonMouseUp="BoardBtnWhiteBoardSwitchPrevious_MouseUp" />
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Width="75" Height="50" MouseUp="BtnWhiteBoardPageIndex_Click"
|
|
|
|
|
Name="BtnLeftPageListWB"
|
2025-09-21 01:06:42 +08:00
|
|
|
BorderThickness="1,1,1,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}" Background="{DynamicResource BoardFloatBarBackground}"
|
2026-01-18 04:05:55 +08:00
|
|
|
Opacity="1">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Grid Margin="6,6,6,4">
|
|
|
|
|
<TextBlock HorizontalAlignment="Center"
|
|
|
|
|
Text="{Binding ElementName=TextBlockWhiteBoardIndexInfo, Path=Text}"
|
|
|
|
|
Margin="0,-1,0,0" FontSize="17" FontWeight="Bold"
|
|
|
|
|
TextAlignment="Center" />
|
2025-09-21 00:25:09 +08:00
|
|
|
<TextBlock Text="页面" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Center" FontSize="12" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Grid Width="0" Margin="0,0,0,5">
|
|
|
|
|
<Border ClipToBounds="True" Name="BoardBorderLeftPageListView"
|
|
|
|
|
Margin="-134,-465,-60,50"
|
|
|
|
|
CornerRadius="8"
|
2025-09-21 01:35:13 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1">
|
|
|
|
|
<ui:ScrollViewerEx Name="BlackBoardLeftSidePageListScrollViewer"
|
|
|
|
|
Height="460"
|
|
|
|
|
VerticalScrollBarVisibility="Hidden"
|
2025-07-21 10:14:21 +08:00
|
|
|
ForceUseSmoothScroll="True"
|
|
|
|
|
PanningMode="VerticalOnly"
|
|
|
|
|
IsManipulationEnabled="True">
|
2025-05-25 09:29:48 +08:00
|
|
|
<ListView ScrollViewer.CanContentScroll="False" SelectionMode="Single"
|
|
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
|
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Disabled"
|
|
|
|
|
Name="BlackBoardLeftSidePageListView">
|
|
|
|
|
<ListView.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
MouseUp="BlackBoardLeftSidePageListView_OnMouseUp">
|
2025-09-21 01:06:42 +08:00
|
|
|
<Border Margin="0,4" Width="160" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1">
|
|
|
|
|
<Grid>
|
2026-02-23 13:20:52 +08:00
|
|
|
<Viewbox Width="160" Height="120" Stretch="Uniform">
|
2025-05-25 09:29:48 +08:00
|
|
|
<InkCanvas EditingMode="None"
|
|
|
|
|
Background="{Binding ElementName=GridBackgroundCover, Path=Background}"
|
|
|
|
|
Strokes="{Binding Strokes}"
|
|
|
|
|
Width="{Binding ElementName=inkCanvas, Path=ActualWidth}"
|
|
|
|
|
Height="{Binding ElementName=inkCanvas, Path=ActualHeight}">
|
|
|
|
|
</InkCanvas>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<Border Margin="4" Width="36" Height="20"
|
|
|
|
|
CornerRadius="3" HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
Background="#cc09090b">
|
|
|
|
|
<TextBlock FontSize="14"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
FontFamily="Consolas"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
Text="{Binding Index}">
|
|
|
|
|
</TextBlock>
|
|
|
|
|
</Border>
|
2026-02-22 12:23:13 +08:00
|
|
|
<Button Width="24" Height="24" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="4"
|
|
|
|
|
ToolTip="删除此页"
|
|
|
|
|
Click="WhiteBoardPageListItem_DeleteClick"
|
|
|
|
|
Background="#CC000000" Foreground="White"
|
|
|
|
|
BorderThickness="0" Padding="0" Cursor="Hand">
|
2026-03-21 22:15:36 +08:00
|
|
|
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Delete}" />
|
2026-02-22 12:23:13 +08:00
|
|
|
</Button>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</DataTemplate>
|
|
|
|
|
</ListView.ItemTemplate>
|
|
|
|
|
</ListView>
|
|
|
|
|
</ui:ScrollViewerEx>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
2026-04-17 06:39:27 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BtnLeftWhiteBoardSwitchNext"
|
|
|
|
|
Position="Last"
|
|
|
|
|
Label="下一页"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M16.5991,10.456L9.49667,3.35357 11.6802,1.17001 22.5102,12 11.6802,22.83 9.49667,20.6465 16.5991,13.544 1.48978,13.544 1.48978,10.456 16.5991,10.456z"
|
|
|
|
|
IsEnabledBinding="{Binding ElementName=BtnWhiteBoardSwitchNext, Path=IsEnabled}"
|
2026-04-17 09:26:29 +08:00
|
|
|
ButtonMouseUp="BoardBtnWhiteBoardSwitchNext_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Width="60" Height="50"
|
2026-02-20 12:00:22 +08:00
|
|
|
BorderThickness="1"
|
|
|
|
|
BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
|
2026-02-19 18:18:47 +08:00
|
|
|
MouseUp="BtnToggleVideoPresenter_Click"
|
|
|
|
|
CornerRadius="5"
|
|
|
|
|
Background="{DynamicResource BoardFloatBarBackground}"
|
2026-01-18 04:05:55 +08:00
|
|
|
Opacity="1">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Grid Margin="6,6,6,4">
|
2026-02-20 12:00:22 +08:00
|
|
|
<Path
|
2026-02-19 18:18:47 +08:00
|
|
|
VerticalAlignment="Top"
|
2026-02-20 12:00:22 +08:00
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,0,0,2"
|
|
|
|
|
Width="22"
|
|
|
|
|
Height="22"
|
|
|
|
|
Stroke="{DynamicResource IconForeground}"
|
|
|
|
|
StrokeThickness="2"
|
|
|
|
|
StrokeStartLineCap="Round"
|
|
|
|
|
StrokeEndLineCap="Round"
|
|
|
|
|
StrokeLineJoin="Round"
|
|
|
|
|
Data="M15 10 L19.553 7.724 C19.7054 7.64783 19.8748 7.61188 20.045 7.61954 C20.2152 7.62721 20.3806 7.67824 20.5256 7.7678 C20.6706 7.85736 20.7902 7.98247 20.8733 8.13127 C20.9563 8.28006 20.9999 8.44761 21 8.618 V15.382 C20.9999 15.5524 20.9563 15.7199 20.8733 15.8687 C20.7902 16.0175 20.6706 16.1426 20.5256 16.2322 C20.3806 16.3218 20.2152 16.3728 20.045 16.3805 C19.8748 16.3881 19.7054 16.3522 19.553 16.276 L15 14 Z M3 8 C3 7.46957 3.21071 6.96086 3.58579 6.58579 C3.96086 6.21071 4.46957 6 5 6 H13 C13.5304 6 14.0391 6.21071 14.4142 6.58579 C14.7893 6.96086 15 7.46957 15 8 V16 C15 16.5304 14.7893 17.0391 14.4142 17.4142 C14.0391 17.7893 13.5304 18 13 18 H5 C4.46957 18 3.96086 17.7893 3.58579 17.4142 C3.21071 17.0391 3 16.5304 3 16 Z" />
|
2026-02-19 18:18:47 +08:00
|
|
|
<TextBlock
|
2026-03-03 15:18:31 +08:00
|
|
|
Text="{i18n:I18n Key=Booth_Title}"
|
2026-02-19 18:18:47 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
FontSize="12" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<!-- 中间 -->
|
|
|
|
|
<Viewbox Margin="3,0,0,0" Height="56" HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Bottom">
|
|
|
|
|
<Viewbox.LayoutTransform>
|
|
|
|
|
<ScaleTransform x:Name="ViewboxBlackboardCenterSideScaleTransform" ScaleX="1" ScaleY="1" />
|
|
|
|
|
</Viewbox.LayoutTransform>
|
|
|
|
|
<Grid x:Name="BlackboardCenterSide" Visibility="Visible" Margin="0,0,0,3" Height="50"
|
|
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Bottom">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2025-09-21 01:06:42 +08:00
|
|
|
<Border CornerRadius="5,5,5,5" Background="{DynamicResource BoardFloatBarBackground}" Margin="0,0,5,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2026-04-17 01:43:18 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BoardGesture"
|
|
|
|
|
Position="First"
|
|
|
|
|
Label="{i18n:I18n Key=Board_Gesture}"
|
|
|
|
|
IconGeometry="F0 M24,24z M0,0z M7.82154,10.0753L7.82154,3.74613C7.82154,3.06603 8.08946,2.40655 8.57377,1.92224 9.05808,1.43793 9.70726,1.17001 10.3977,1.17001 11.0881,1.17001 11.7372,1.43793 12.2216,1.92224 12.7059,2.40655 12.9738,3.05573 12.9738,3.74613L12.9738,6.37308C13.1415,6.33947 13.3139,6.32225 13.489,6.32225 14.1794,6.32225 14.8286,6.59016 15.3129,7.07447 15.4484,7.21001 15.567,7.35845 15.6675,7.5171 15.9551,7.40916 16.2634,7.35269 16.5803,7.35269 17.2707,7.35269 17.9199,7.62061 18.4042,8.10492 18.5461,8.24683 18.6695,8.4029 18.7729,8.57001 19.6856,8.26338 20.7674,8.45871 21.4647,9.15599 21.949,9.6403 22.2169,10.2998 22.2169,10.9799L22.2169,15.6169C22.2169,17.5438 21.4647,19.3574 20.1045,20.7176 18.7443,22.0778 16.9307,22.83 15.0038,22.83L13.149,22.83 13.1799,22.8094 12.8398,22.8094C11.7682,22.7579 10.7068,22.4694 9.75878,21.9541 8.70773,21.3874 7.81124,20.563 7.15175,19.5738L6.94566,19.2647C6.60562,18.7494 5.49273,16.8019 3.52458,13.3087 3.19484,12.7213 3.1021,12.0412 3.27727,11.3818 3.45245,10.7326 3.86463,10.1761 4.44168,9.83608 5.00842,9.49604 5.66791,9.35177 6.31709,9.43421 6.86548,9.50385 7.39181,9.7279 7.82154,10.0753z M10.037,3.38547C10.1297,3.28243 10.2637,3.23091 10.3977,3.23091 10.5316,3.23091 10.6656,3.29273 10.7583,3.38547 10.8614,3.47821 10.9129,3.61217 10.9129,3.74613L10.9129,11.4745C10.9129,12.0412 11.3766,12.5049 11.9433,12.5049 12.5101,12.5049 12.9738,12.0412 12.9738,11.4745L12.9738,8.89836C12.9738,8.7644 13.0356,8.63045 13.1283,8.53771 13.2211,8.43466 13.355,8.38314 13.489,8.38314 13.623,8.38314 13.7569,8.44497 13.8497,8.53771 13.9527,8.63045 14.0042,8.7644 14.0042,8.89836L14.0042,11.4745C14.0042,12.0412 14.4679,12.5049 15.0347,12.5049 15.6014,12.5049 16.0651,12.0412 16.0651,11.4745L16.0651,9.92881C16.0651,9.79485 16.1269,9.66089 16.2197,9.56815 16.3124,9.46511 16.4464,9.41359 16.5803,9.41359 16.7143,9.41359 16.8483,9.47541 16.941,9.56815 17.044,9.66089 17.0956,9.79485 17.0956,9.92881L17.0956,10.5869C17.0752,10.7163 17.0646,10.8477 17.0646,10.9799 17.0646,11.0661 17.0754,11.1499 17.0956,11.2301L17.0956,11.4745C17.0956,12.0412 17.5593,12.5049 18.126,12.5049 18.6928,12.5049 19.1565,12.0412 19.1565,11.4745L19.1565,10.8128C19.1834,10.7399 19.2266,10.6727 19.2801,10.6192 19.4759,10.4234 19.8159,10.4234 20.0117,10.6192 20.1148,10.712 20.1663,10.8459 20.1663,10.9799L20.1663,15.6169C20.1663,16.9977 19.6408,18.296 18.6618,19.2647 17.6829,20.2333 16.3949,20.7691 15.0141,20.7691L13.1593,20.7691C12.3143,20.7691 11.4796,20.5527 10.7274,20.1509 9.98548,19.749 9.3363,19.1616 8.8726,18.4506L8.66651,18.1415C8.35737,17.6675 7.23419,15.7096 5.31756,12.2988 5.24543,12.1752 5.23512,12.0412 5.26604,11.9073 5.30725,11.7733 5.38969,11.6703 5.50304,11.5981 5.66791,11.4951 5.874,11.4539 6.06978,11.4745 6.26557,11.5054 6.45105,11.5878 6.59531,11.7321L8.11007,13.2469C8.49419,13.631 9.10425,13.648 9.50833,13.2978 9.73651,13.1084 9.88244,12.8229 9.88244,12.5049L9.88244,3.74613C9.88244,3.61217,9.94426,3.47821,10.037,3.38547z M2.99905,6.31195L1.78313,4.65293 2.61779,4.04497C3.46275,3.4267,4.37985,2.89087,5.33817,2.46838L6.27587,2.0459 7.12084,3.93162 6.18313,4.3541C5.35878,4.72506,4.56533,5.17846,3.83372,5.71429L2.99905,6.32225 2.99905,6.31195z M18.2806,5.20935L19.1565,5.75549 20.259,4.01404 19.3831,3.4679C18.1157,2.67446,16.7452,2.0768,15.3026,1.68523L14.303,1.41731 13.7672,3.40607 14.7667,3.67399C16.0033,4.00373,17.1883,4.51895,18.2806,5.20935z"
|
|
|
|
|
ButtonMouseUp="TwoFingerGestureBorder_MouseUp" />
|
2026-01-18 04:05:55 +08:00
|
|
|
<Border>
|
|
|
|
|
<Grid Width="0" Margin="0,0,0,5" RenderTransformOrigin="0,1">
|
|
|
|
|
<Border ClipToBounds="True" x:Name="BoardTwoFingerGestureBorder"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="-115,-161,-55,50"
|
|
|
|
|
CornerRadius="8"
|
2026-01-16 21:17:14 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderBrush="#2563eb"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0">
|
2026-01-18 04:05:55 +08:00
|
|
|
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
2025-05-25 09:29:48 +08:00
|
|
|
CornerRadius="8,8,0,0"
|
|
|
|
|
Background="#2563eb" Margin="-1,-1,-1,1">
|
2026-04-04 23:34:26 +08:00
|
|
|
<Canvas Height="38" ClipToBounds="True">
|
2026-03-03 15:18:31 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=Board_GestureOptions}" Canvas.Left="12" Foreground="White"
|
2026-01-18 04:05:55 +08:00
|
|
|
Padding="0,7"
|
|
|
|
|
FontSize="17" FontWeight="Bold"
|
|
|
|
|
TextAlignment="Center" />
|
|
|
|
|
<Image Margin="144,10,0,0"
|
|
|
|
|
Source="/Resources/new-icons/close-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="CloseBordertools_MouseUp" />
|
|
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
|
|
|
|
<Viewbox Margin="8,0,8,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="2"
|
2026-01-18 04:05:55 +08:00
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,3,0,0">
|
|
|
|
|
<Image Source="{DynamicResource MultiTouchIcon}"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" />
|
2026-04-04 23:34:26 +08:00
|
|
|
<Label Content="{i18n:I18n Key=Board_MultiTouchWriting}" FontSize="10"
|
|
|
|
|
VerticalAlignment="Center" Width="62"
|
|
|
|
|
Style="{StaticResource AutoFitBoardGestureOptionLabel10}" />
|
|
|
|
|
<Viewbox Width="36" Height="20" Margin="2,0,0,0">
|
2026-01-18 04:05:55 +08:00
|
|
|
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
|
|
|
|
x:Name="BoardToggleSwitchEnableMultiTouchMode"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2026-01-18 04:05:55 +08:00
|
|
|
IsOn="False"
|
|
|
|
|
OnContent=""
|
|
|
|
|
OffContent=""
|
|
|
|
|
Toggled="ToggleSwitchEnableMultiTouchMode_Toggled"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform X="8" />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
</ui:ToggleSwitch>
|
|
|
|
|
</Viewbox>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel
|
2026-01-18 04:05:55 +08:00
|
|
|
Opacity="{Binding Opacity, ElementName=TwoFingerGestureSimpleStackPanel}"
|
2026-03-04 11:42:22 +08:00
|
|
|
Orientation="Horizontal" Spacing="2"
|
2026-01-18 04:05:55 +08:00
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center">
|
|
|
|
|
<Image Source="{DynamicResource HandMoveIcon}"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" />
|
2026-04-04 23:34:26 +08:00
|
|
|
<Label Content="{i18n:I18n Key=Board_TwoFingerMove}" FontSize="10"
|
|
|
|
|
VerticalAlignment="Center" Width="62"
|
|
|
|
|
Style="{StaticResource AutoFitBoardGestureOptionLabel10}" />
|
|
|
|
|
<Viewbox Width="36" Height="20" Margin="2,0,0,0">
|
2026-01-18 04:05:55 +08:00
|
|
|
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
|
|
|
|
x:Name="BoardToggleSwitchEnableTwoFingerTranslate"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2026-01-18 04:05:55 +08:00
|
|
|
IsOn="False"
|
|
|
|
|
OnContent=""
|
|
|
|
|
OffContent=""
|
|
|
|
|
Toggled="ToggleSwitchEnableTwoFingerTranslate_Toggled"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform X="8" />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
</ui:ToggleSwitch>
|
|
|
|
|
</Viewbox>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel
|
2026-01-18 04:05:55 +08:00
|
|
|
Opacity="{Binding Opacity, ElementName=TwoFingerGestureSimpleStackPanel}"
|
2026-03-04 11:42:22 +08:00
|
|
|
Orientation="Horizontal" Spacing="2"
|
2026-01-18 04:05:55 +08:00
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center">
|
|
|
|
|
<Image Source="{DynamicResource ZoomIcon}"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" />
|
2026-04-04 23:34:26 +08:00
|
|
|
<Label Content="{i18n:I18n Key=Board_TwoFingerZoom}" FontSize="10"
|
|
|
|
|
VerticalAlignment="Center" Width="62"
|
|
|
|
|
Style="{StaticResource AutoFitBoardGestureOptionLabel10}" />
|
|
|
|
|
<Viewbox Width="36" Height="20" Margin="2,0,0,0">
|
2026-01-18 04:05:55 +08:00
|
|
|
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2026-01-18 04:05:55 +08:00
|
|
|
IsOn="False" OnContent="" OffContent=""
|
|
|
|
|
x:Name="BoardToggleSwitchEnableTwoFingerZoom"
|
|
|
|
|
Toggled="ToggleSwitchEnableTwoFingerZoom_Toggled"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform X="8" />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
</ui:ToggleSwitch>
|
|
|
|
|
</Viewbox>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel
|
2026-01-18 04:05:55 +08:00
|
|
|
Opacity="{Binding Opacity, ElementName=TwoFingerGestureSimpleStackPanel}"
|
2026-03-04 11:42:22 +08:00
|
|
|
Orientation="Horizontal" Spacing="2"
|
2026-01-18 04:05:55 +08:00
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center">
|
|
|
|
|
<Image Source="{DynamicResource RotateIcon}"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" />
|
2026-04-04 23:34:26 +08:00
|
|
|
<Label Content="{i18n:I18n Key=Board_TwoFingerRotate}" FontSize="10"
|
|
|
|
|
VerticalAlignment="Center" Width="62"
|
|
|
|
|
Style="{StaticResource AutoFitBoardGestureOptionLabel10}" />
|
|
|
|
|
<Viewbox Width="36" Height="20" Margin="2,0,0,0">
|
2026-01-18 04:05:55 +08:00
|
|
|
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2026-01-18 04:05:55 +08:00
|
|
|
IsOn="False" OnContent="" OffContent=""
|
|
|
|
|
x:Name="BoardToggleSwitchEnableTwoFingerRotation"
|
|
|
|
|
Toggled="ToggleSwitchEnableTwoFingerRotation_Toggled"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform X="8" />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
</ui:ToggleSwitch>
|
|
|
|
|
</Viewbox>
|
2025-05-25 09:29:48 +08:00
|
|
|
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2026-01-18 04:05:55 +08:00
|
|
|
</Viewbox>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-01-18 04:05:55 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-04-15 14:15:05 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BoardChangeBackgroundColorBtn"
|
|
|
|
|
Position="Last"
|
|
|
|
|
Label="{i18n:I18n Key=Board_Background}"
|
|
|
|
|
IconGeometry="F0 M24,24z M0,0z M4.71815,3.98345C6.64142,2.23541 9.19629,1.17001 12,1.17001 17.9812,1.17001 22.83,6.01877 22.83,12 22.83,17.9813 17.9812,22.83 12,22.83 11.6262,22.83 11.2568,22.8111 10.8927,22.7741 5.8167,22.2586 1.77699,18.2377 1.2325,13.1703 1.22536,13.1039 1.21882,13.0373 1.21289,12.9705 1.20871,12.9234 1.20483,12.8762 1.20125,12.8289 1.18054,12.5553 1.17,12.2789 1.17,12 1.17,9.41057 2.07878,7.03339 3.59479,5.17001 3.9391,4.74681 4.31473,4.35011 4.71815,3.98345z M12,20.83C16.8767,20.83 20.83,16.8767 20.83,12 20.83,7.12334 16.8767,3.17001 12,3.17001L12,20.83z"
|
|
|
|
|
ButtonMouseUp="BoardChangeBackgroundColorBtn_MouseUp" />
|
2026-04-17 13:41:18 +08:00
|
|
|
<Border Height="50">
|
|
|
|
|
<Grid Margin="-30,5,30,5" Width="0">
|
|
|
|
|
<Grid x:Name="BoardBackgroundPaletteGrid" Margin="-150,-200" RenderTransformOrigin="0.5,0">
|
|
|
|
|
<Grid.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform ScaleX="1" ScaleY="1" />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Grid.RenderTransform>
|
|
|
|
|
<Border x:Name="BackgroundPalette" Visibility="Collapsed"
|
|
|
|
|
Background="{DynamicResource SettingsPageBackground}"
|
|
|
|
|
Opacity="1" BorderBrush="#2563eb"
|
|
|
|
|
BorderThickness="1" CornerRadius="8"
|
|
|
|
|
Width="300">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<Border BorderBrush="#1e3a8a" Height="32"
|
|
|
|
|
BorderThickness="0,0,0,1"
|
|
|
|
|
CornerRadius="8,8,0,0" Background="#2563eb"
|
|
|
|
|
Margin="-1,-1,-1,0"
|
|
|
|
|
Padding="1,1,1,0">
|
|
|
|
|
<Canvas Height="24" ClipToBounds="true">
|
|
|
|
|
<TextBlock Text="背景设置"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Padding="0,5,0,0" FontSize="11"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
TextAlignment="Center"
|
|
|
|
|
Canvas.Left="8" />
|
|
|
|
|
<Image x:Name="BackgroundPaletteCloseBtn"
|
|
|
|
|
Source="/Resources/new-icons/close-white.png"
|
|
|
|
|
Height="16" Width="16"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
MouseUp="CloseBordertools_MouseUp"
|
|
|
|
|
Canvas.Right="8" Canvas.Top="4" />
|
|
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
|
|
|
|
<StackPanel Margin="8">
|
|
|
|
|
<TextBlock Text="白板模式"
|
|
|
|
|
Foreground="{DynamicResource TextForeground}"
|
|
|
|
|
FontSize="10" FontWeight="Bold"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,4,0,8" />
|
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
|
|
<Border x:Name="WhiteboardModeBtn"
|
|
|
|
|
Width="60" Height="30"
|
|
|
|
|
Background="#2563eb"
|
|
|
|
|
CornerRadius="4"
|
|
|
|
|
Margin="0,0,8,0"
|
|
|
|
|
MouseUp="WhiteboardModeBtn_MouseUp">
|
|
|
|
|
<TextBlock Text="白板"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Border x:Name="BlackboardModeBtn"
|
|
|
|
|
Width="60" Height="30"
|
|
|
|
|
Background="LightGray"
|
|
|
|
|
CornerRadius="4"
|
|
|
|
|
MouseUp="BlackboardModeBtn_MouseUp">
|
|
|
|
|
<TextBlock Text="黑板"
|
|
|
|
|
Foreground="Black"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
</Border>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<Border Height="1"
|
|
|
|
|
Background="{DynamicResource SettingsPageBorderBrush}"
|
|
|
|
|
Margin="0,12,0,12" />
|
|
|
|
|
<TextBlock Text="背景颜色"
|
|
|
|
|
Foreground="{DynamicResource TextForeground}"
|
|
|
|
|
FontSize="10" FontWeight="Bold"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,4,0,8" />
|
|
|
|
|
<Border x:Name="BackgroundColorPreview"
|
|
|
|
|
Width="100" Height="40"
|
|
|
|
|
BorderThickness="1"
|
|
|
|
|
BorderBrush="{DynamicResource SettingsPageBorderBrush}"
|
|
|
|
|
Background="White"
|
|
|
|
|
CornerRadius="4"
|
|
|
|
|
Margin="0,0,0,10"
|
|
|
|
|
HorizontalAlignment="Center" />
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="10,0,10,5">
|
|
|
|
|
<TextBlock Text="R:" Width="20"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource TextForeground}" />
|
|
|
|
|
<Slider x:Name="BackgroundRSlider"
|
|
|
|
|
Minimum="0" Maximum="255" Value="255"
|
|
|
|
|
Width="150" Margin="5,0,5,0"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
ValueChanged="BackgroundRSlider_ValueChanged" />
|
|
|
|
|
<TextBlock x:Name="BackgroundRValue"
|
|
|
|
|
Text="255" Width="30"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
TextAlignment="Right"
|
|
|
|
|
Foreground="{DynamicResource TextForeground}" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="10,0,10,5">
|
|
|
|
|
<TextBlock Text="G:" Width="20"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource TextForeground}" />
|
|
|
|
|
<Slider x:Name="BackgroundGSlider"
|
|
|
|
|
Minimum="0" Maximum="255" Value="255"
|
|
|
|
|
Width="150" Margin="5,0,5,0"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
ValueChanged="BackgroundGSlider_ValueChanged" />
|
|
|
|
|
<TextBlock x:Name="BackgroundGValue"
|
|
|
|
|
Text="255" Width="30"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
TextAlignment="Right"
|
|
|
|
|
Foreground="{DynamicResource TextForeground}" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="10,0,10,5">
|
|
|
|
|
<TextBlock Text="B:" Width="20"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Foreground="{DynamicResource TextForeground}" />
|
|
|
|
|
<Slider x:Name="BackgroundBSlider"
|
|
|
|
|
Minimum="0" Maximum="255" Value="255"
|
|
|
|
|
Width="150" Margin="5,0,5,0"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
ValueChanged="BackgroundBSlider_ValueChanged" />
|
|
|
|
|
<TextBlock x:Name="BackgroundBValue"
|
|
|
|
|
Text="255" Width="30"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
TextAlignment="Right"
|
|
|
|
|
Foreground="{DynamicResource TextForeground}" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<Button x:Name="ApplyBackgroundColorBtn"
|
|
|
|
|
Content="应用颜色"
|
|
|
|
|
Margin="0,10,0,0"
|
|
|
|
|
Padding="10,5,10,5"
|
|
|
|
|
Background="#2563eb"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
BorderThickness="0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Click="ApplyBackgroundColorBtn_Click" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
|
2025-09-21 01:15:01 +08:00
|
|
|
<Border CornerRadius="5,5,5,5" Background="{DynamicResource BoardFloatBarBackground}" Margin="0,0,5,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2026-04-15 14:15:05 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BoardSelect"
|
|
|
|
|
Position="First"
|
|
|
|
|
Label="{i18n:I18n Key=Board_Select}"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M22.7989,10.1653L1.14304,1.14304 10.1653,22.7989 12.8305,14.9518 19.6892,21.8105 21.8105,19.6892 14.9518,12.8305 22.7989,10.1653z"
|
|
|
|
|
ButtonMouseUp="SymbolIconSelect_MouseUp" />
|
|
|
|
|
<controls:BoardToolbarButton x:Name="BoardPen"
|
|
|
|
|
Label="{i18n:I18n Key=Board_Pen}"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M20.4786,1.42438C19.9985,1.23743 19.4847,1.15194 18.9698,1.17319 18.4549,1.19444 17.9499,1.32197 17.4869,1.54789 17.0368,1.76752 16.6358,2.07554 16.3083,2.45361L3.85516,14.9067 9.08243,20.134 21.5311,7.68529C21.9113,7.36382 22.223,6.96912 22.447,6.52438 22.6786,6.06462 22.8113,5.56167 22.8365,5.04763 22.8616,4.5336 22.7787,4.02012 22.593,3.54002 22.4073,3.05994 22.1232,2.62403 21.759,2.25988 21.3949,1.89574 20.9587,1.61132 20.4786,1.42438z M7.28056,21.1605L2.8286,16.7086 1.15912,22.83 7.28056,21.1605z"
|
|
|
|
|
ButtonMouseUp="PenIcon_Click" />
|
2026-04-16 00:27:56 +08:00
|
|
|
<Border Height="50">
|
|
|
|
|
<Grid Margin="-30,5,30,5" Width="0">
|
|
|
|
|
<Grid Name="BoardPenPaletteGrid" Margin="-96.5,-84" RenderTransformOrigin="0.5,1">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Grid.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Grid.RenderTransform>
|
|
|
|
|
<Border x:Name="BoardPenPalette" Visibility="Visible"
|
2025-09-21 00:25:09 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
2026-01-18 04:05:55 +08:00
|
|
|
Opacity="1" BorderBrush="#2563eb"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1" CornerRadius="8">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0,-20,0,0">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border BorderBrush="#1e3a8a" Height="32"
|
|
|
|
|
BorderThickness="0,0,0,1"
|
|
|
|
|
CornerRadius="8,8,0,0" Background="#2563eb"
|
|
|
|
|
Margin="-1,-1,-1,0"
|
|
|
|
|
Padding="1,1,1,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
VerticalAlignment="Center">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
|
Margin="8,0,0,0" Spacing="2">
|
|
|
|
|
<Border x:Name="BoardDefaultPenTabButton"
|
|
|
|
|
MouseDown="SwitchToDefaultPen"
|
|
|
|
|
Background="#48dbeafe" Height="20"
|
|
|
|
|
Width="36"
|
|
|
|
|
CornerRadius="3">
|
|
|
|
|
<Canvas>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="BoardDefaultPenTabButtonIndicator"
|
|
|
|
|
Visibility="Visible"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Canvas.Left="9" Canvas.Right="9"
|
|
|
|
|
Canvas.Bottom="0">
|
|
|
|
|
<Border Width="18" Height="2"
|
2025-09-21 00:25:09 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
2025-05-25 09:29:48 +08:00
|
|
|
CornerRadius="1" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
Height="20" Width="36">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel
|
2025-05-25 09:29:48 +08:00
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,3">
|
|
|
|
|
<Image
|
|
|
|
|
Source="/Resources/new-icons/pen-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="13" Width="13" />
|
|
|
|
|
<TextBlock
|
|
|
|
|
x:Name="BoardDefaultPenTabButtonText"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
FontWeight="Medium"
|
|
|
|
|
FontSize="9"
|
|
|
|
|
TextAlignment="Center"
|
2026-03-03 14:08:01 +08:00
|
|
|
Text="{i18n:I18n Key=Board_Pen}" Margin="2,1,0,0" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border x:Name="BoardHighlightPenTabButton"
|
|
|
|
|
MouseDown="SwitchToHighlighterPen"
|
|
|
|
|
Background="Transparent" Height="20"
|
|
|
|
|
Width="52"
|
|
|
|
|
CornerRadius="3">
|
|
|
|
|
<Canvas>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Visibility="Collapsed"
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="BoardHighlightPenTabButtonIndicator"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Canvas.Left="14"
|
|
|
|
|
Canvas.Right="14" Canvas.Bottom="0">
|
|
|
|
|
<Border Width="24" Height="2"
|
2025-09-21 00:25:09 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
2025-05-25 09:29:48 +08:00
|
|
|
CornerRadius="1" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
Height="20" Width="52">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel
|
2025-05-25 09:29:48 +08:00
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,3">
|
|
|
|
|
<Image
|
|
|
|
|
Source="/Resources/new-icons/highlighter-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="13" Width="13" />
|
|
|
|
|
<TextBlock
|
|
|
|
|
x:Name="BoardHighlightPenTabButtonText"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
FontWeight="Medium"
|
|
|
|
|
FontSize="9"
|
|
|
|
|
TextAlignment="Center"
|
2026-03-04 11:42:22 +08:00
|
|
|
Text="{i18n:I18n Key=Board_Highlighter}" Margin="2,1,0,0"
|
|
|
|
|
Width="35"
|
|
|
|
|
Style="{StaticResource AutoFitPenTabLabel9}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
|
|
|
|
<Image Margin="66,0,0,0"
|
|
|
|
|
Source="/Resources/new-icons/close-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16" Width="16"
|
|
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="CloseBordertools_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
<Viewbox Name="BoardDefaultPenPropsPanel"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
Margin="12,8,12,0" HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center" Stretch="Fill">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-08-24 09:17:58 +08:00
|
|
|
Height="35" Margin="0,0,0,8">
|
|
|
|
|
<Label Content="笔锋" Margin="0,0,6,0"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="16" FontWeight="Bold"
|
|
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
<ComboBox Height="30"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Name="BoardComboBoxPenStyle"
|
2026-03-28 17:11:30 +08:00
|
|
|
SelectedIndex="1"
|
2025-08-24 09:17:58 +08:00
|
|
|
SelectionChanged="ComboBoxPenStyle_SelectionChanged">
|
2026-03-28 17:11:30 +08:00
|
|
|
<ComboBoxItem Content="实时笔锋"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2025-08-24 09:17:58 +08:00
|
|
|
<ComboBoxItem Content="基于点集"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2025-08-24 09:17:58 +08:00
|
|
|
<ComboBoxItem Content="基于速率"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2025-08-24 09:17:58 +08:00
|
|
|
<ComboBoxItem Content="关闭笔锋"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2025-08-24 09:17:58 +08:00
|
|
|
</ComboBox>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-24 09:17:58 +08:00
|
|
|
<Controls:UniformGrid Columns="3" Width="300"
|
2025-05-25 09:29:48 +08:00
|
|
|
Height="55">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel
|
2025-08-24 09:17:58 +08:00
|
|
|
x:Name="BoardNibModeSimpleStackPanel"
|
|
|
|
|
Orientation="Horizontal" Width="100">
|
2025-08-24 09:33:27 +08:00
|
|
|
<Label Content="笔尖模式" FontSize="12"
|
2025-08-24 09:17:58 +08:00
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
<ui:ToggleSwitch
|
|
|
|
|
x:Name="BoardToggleSwitchEnableNibMode"
|
|
|
|
|
MinWidth="0"
|
|
|
|
|
Width="80" Margin="10,0,0,0"
|
|
|
|
|
Toggled="ToggleSwitchEnableNibMode_Toggled"
|
|
|
|
|
IsOn="True" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-08-24 09:17:58 +08:00
|
|
|
Width="100">
|
|
|
|
|
<Label Margin="0,0,10,0" Content="墨迹纠正"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2025-08-24 09:33:27 +08:00
|
|
|
FontSize="12"
|
2025-08-24 09:17:58 +08:00
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
<ui:ToggleSwitch
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Width="80"
|
|
|
|
|
Toggled="ToggleSwitchEnableInkToShape_Toggled"
|
|
|
|
|
MinWidth="0"
|
|
|
|
|
IsOn="{Binding ElementName=ToggleSwitchEnableInkToShape, Path=IsOn}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2026-01-23 12:21:28 +08:00
|
|
|
Width="100" x:Name="InkFadeControlPanel1">
|
2025-08-24 09:17:58 +08:00
|
|
|
<Label Margin="0,0,10,0" Content="墨迹渐隐"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2025-08-24 09:33:27 +08:00
|
|
|
FontSize="12"
|
2025-08-24 09:17:58 +08:00
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
<ui:ToggleSwitch
|
|
|
|
|
x:Name="ToggleSwitchInkFadeInPanel"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Width="90"
|
|
|
|
|
Toggled="ToggleSwitchInkFadeInPanel_Toggled"
|
|
|
|
|
MinWidth="0"
|
|
|
|
|
IsOn="False" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Controls:UniformGrid>
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" Height="30">
|
|
|
|
|
<Label Margin="0,0,10,0" Content="粗细"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="17" VerticalAlignment="Center" />
|
|
|
|
|
<Slider x:Name="BoardInkWidthSlider" Minimum="1"
|
|
|
|
|
Maximum="20"
|
2026-04-16 00:27:56 +08:00
|
|
|
Width="200"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontSize="20" IsSnapToTickEnabled="True"
|
|
|
|
|
Value="5"
|
|
|
|
|
TickFrequency="0.1" TickPlacement="None"
|
|
|
|
|
ValueChanged="InkWidthSlider_ValueChanged" />
|
2026-04-16 00:27:56 +08:00
|
|
|
<TextBlock Width="36" TextAlignment="Right"
|
2025-05-25 09:29:48 +08:00
|
|
|
Text="{Binding Value, ElementName=InkWidthSlider, Mode=OneWay}"
|
2026-04-16 00:27:56 +08:00
|
|
|
FontFamily="Consolas" VerticalAlignment="Center"
|
|
|
|
|
Margin="10,0,0,0" FontSize="15" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Orientation="Horizontal" Height="30">
|
|
|
|
|
<Label Margin="0,0,10,0" Content="透明"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="17" VerticalAlignment="Center" />
|
|
|
|
|
<Slider x:Name="BoardInkAlphaSlider"
|
|
|
|
|
Margin="0,0,0,0"
|
2026-04-16 00:27:56 +08:00
|
|
|
Minimum="1" Maximum="255" Width="200"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontSize="20"
|
|
|
|
|
IsSnapToTickEnabled="True" Value="255"
|
|
|
|
|
TickFrequency="1"
|
|
|
|
|
TickPlacement="None"
|
|
|
|
|
ValueChanged="InkAlphaSlider_ValueChanged" />
|
2026-04-16 00:27:56 +08:00
|
|
|
<TextBlock Width="36" TextAlignment="Right"
|
2025-05-25 09:29:48 +08:00
|
|
|
Text="{Binding Value, ElementName=InkAlphaSlider, Mode=OneWay}"
|
2026-04-16 00:27:56 +08:00
|
|
|
FontFamily="Consolas" VerticalAlignment="Center"
|
|
|
|
|
Margin="10,0,0,0" FontSize="15" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</StackPanel>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox Name="BoardHighlighterPenPropsPanel"
|
|
|
|
|
Margin="12,8,12,0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Stretch="Fill">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<StackPanel Orientation="Horizontal" Height="30">
|
|
|
|
|
<Label Margin="0,0,10,0" Content="粗细"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="17" VerticalAlignment="Center" />
|
|
|
|
|
<Slider x:Name="BoardHighlighterWidthSlider"
|
|
|
|
|
Minimum="15"
|
|
|
|
|
Maximum="45" Width="208"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
FontSize="20"
|
|
|
|
|
IsSnapToTickEnabled="True" Value="20"
|
|
|
|
|
TickFrequency="1" TickPlacement="None"
|
|
|
|
|
ValueChanged="HighlighterWidthSlider_ValueChanged" />
|
|
|
|
|
<TextBlock
|
2025-06-29 12:40:15 +08:00
|
|
|
Text="{Binding Value, ElementName=BoardHighlighterWidthSlider, Mode=OneWay}"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontFamily="Consolas"
|
|
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
Margin="10,0,0,4.5" FontSize="15" />
|
|
|
|
|
</StackPanel>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox x:Name="BoardDefaultPenColorsPanel"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
Margin="0,8,0,0" Stretch="Fill">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Width="300" Margin="0,0,0,0">
|
2025-05-25 09:29:48 +08:00
|
|
|
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
|
2025-09-21 00:25:09 +08:00
|
|
|
<Border Width="300" Height="100" BorderBrush="{DynamicResource IconForeground}"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="0" CornerRadius="5">
|
|
|
|
|
<Controls:UniformGrid Rows="2" Height="100">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Height="45"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal" Width="270">
|
|
|
|
|
<Controls:UniformGrid Columns="5"
|
|
|
|
|
Width="270"
|
|
|
|
|
Margin="0">
|
2025-10-04 21:00:51 +08:00
|
|
|
<Border BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1"
|
|
|
|
|
CornerRadius="100" Width="45"
|
|
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="ColorThemeSwitch_MouseUp">
|
|
|
|
|
<Grid Margin="3">
|
|
|
|
|
<Image
|
|
|
|
|
x:Name="BoardColorThemeSwitchIcon"
|
|
|
|
|
Source="/Resources/Icons-Fluent/ic_fluent_weather_sunny_24_regular.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
Width="23"
|
|
|
|
|
Height="23"
|
|
|
|
|
Margin="0,0,0,0" />
|
|
|
|
|
<TextBlock Margin="0,0,0,2"
|
|
|
|
|
x:Name="BoardColorThemeSwitchTextBlock"
|
|
|
|
|
Text="亮系"
|
2025-09-21 00:25:09 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2025-05-25 09:29:48 +08:00
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
FontSize="11" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-04-14 13:57:13 +08:00
|
|
|
<controls:PenColorButton x:Name="BoardBorderPenColorBlack" Color="Black" BorderBrushColor="#D3D3D3" CheckIconSource="/Resources/new-icons/checked-white.png" ButtonMouseUp="BtnColorBlack_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardBorderPenColorWhite" Color="White" BorderBrushColor="#71717a" CheckIconSource="/Resources/new-icons/checked-black.png" ButtonMouseUp="BtnColorWhite_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardBorderPenColorRed" Color="#dc2626" BorderBrushColor="#7f1d1d" ButtonMouseUp="BtnColorRed_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardBorderPenColorYellow" Color="#eab308" BorderBrushColor="#713f12" ButtonMouseUp="BtnColorYellow_Click" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Controls:UniformGrid>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Height="45"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal" Width="270">
|
|
|
|
|
<Controls:UniformGrid Columns="5"
|
|
|
|
|
Width="270"
|
|
|
|
|
Margin="0">
|
2026-04-14 13:57:13 +08:00
|
|
|
<controls:PenColorButton x:Name="BoardBorderPenColorGreen" Color="#16a34a" BorderBrushColor="#14532d" ButtonMouseUp="BtnColorGreen_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardBorderPenColorBlue" Color="#2563eb" BorderBrushColor="#1e3a8a" ButtonMouseUp="BtnColorBlue_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardBorderPenColorPink" Color="#db2777" BorderBrushColor="#831843" ButtonMouseUp="BtnColorPink_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardBorderPenColorTeal" Color="#0d9488" BorderBrushColor="#134e4a" ButtonMouseUp="BtnColorTeal_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardBorderPenColorOrange" Color="#ea580c" BorderBrushColor="#7c2d12" ButtonMouseUp="BtnColorOrange_Click" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Controls:UniformGrid>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Controls:UniformGrid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox x:Name="BoardHighlighterPenColorsPanel"
|
|
|
|
|
Visibility="Visible"
|
|
|
|
|
Margin="0,8,0,0" Stretch="Fill">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Width="300" Margin="0,0,0,0">
|
2025-05-25 09:29:48 +08:00
|
|
|
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
|
|
|
|
|
<Border Width="300" Height="110" BorderBrush="Black"
|
|
|
|
|
BorderThickness="0" CornerRadius="5">
|
|
|
|
|
<Controls:UniformGrid Rows="2" Height="110">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Height="45"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal" Width="270">
|
|
|
|
|
<Controls:UniformGrid Columns="5"
|
|
|
|
|
Width="270"
|
|
|
|
|
Margin="0">
|
2026-04-14 13:57:13 +08:00
|
|
|
<controls:PenColorButton x:Name="BoardHighlighterPenColorBlack" Color="Black" BorderBrushColor="#e4e4e7" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorBlack_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardHighlighterPenColorWhite" Color="White" BorderBrushColor="#dddddd" IsHighlighter="True" CheckIconSource="/Resources/new-icons/checked-black.png" ButtonMouseUp="BtnHighlighterColorWhite_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardHighlighterPenColorRed" Color="#ef4444" BorderBrushColor="#fecaca" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorRed_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardHighlighterPenColorYellow" Color="#eab308" BorderBrushColor="#fef08a" IsHighlighter="True" CheckIconSource="/Resources/new-icons/checked-black.png" ButtonMouseUp="BtnHighlighterColorYellow_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardHighlighterPenColorGreen" Color="#22c55e" BorderBrushColor="#bbf7d0" IsHighlighter="True" CheckIconSource="/Resources/new-icons/checked-black.png" ButtonMouseUp="BtnHighlighterColorGreen_Click" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Controls:UniformGrid>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Height="45"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal" Width="270">
|
|
|
|
|
<Controls:UniformGrid Columns="5"
|
|
|
|
|
Width="270"
|
|
|
|
|
Margin="0">
|
2026-04-14 13:57:13 +08:00
|
|
|
<controls:PenColorButton x:Name="BoardHighlighterPenColorZinc" Color="#71717a" BorderBrushColor="#e4e4e7" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorZinc_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardHighlighterPenColorBlue" Color="#3b82f6" BorderBrushColor="#bfdbfe" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorBlue_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardHighlighterPenPenColorPurple" Color="#a855f7" BorderBrushColor="#e9d5ff" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorPurple_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardHighlighterPenColorTeal" Color="#14b8a6" BorderBrushColor="#99f6e4" IsHighlighter="True" CheckIconSource="/Resources/new-icons/checked-black.png" ButtonMouseUp="BtnHighlighterColorTeal_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BoardHighlighterPenColorOrange" Color="#f97316" BorderBrushColor="#fed7aa" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorOrange_Click" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Controls:UniformGrid>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Controls:UniformGrid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Viewbox>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-04-15 14:15:05 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BoardEraser"
|
|
|
|
|
Label="{i18n:I18n Key=Board_Eraser}"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M15.6314,20.7262L22.7921,13.5655C24.3494,12.141,24.2819,9.81776,22.8105,8.34633L16.7793,2.31508C15.3547,0.757753,13.0315,0.825236,11.5601,2.29666L4.38099,9.47574 15.6314,20.7262z M14.2172,22.1404L2.96677,10.89 1.20761,12.6491C-0.34971,14.0737,-0.281711,16.3974,1.18971,17.8688L6.15089,22.83 13.5276,22.83 14.2172,22.1404z"
|
|
|
|
|
ButtonMouseUp="BoardEraserIcon_Click" />
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border>
|
|
|
|
|
<Grid RenderTransformOrigin="0,1" Margin="-133,-172,13,55">
|
|
|
|
|
<Grid.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Grid.RenderTransform>
|
|
|
|
|
<Border Visibility="Visible" ClipToBounds="True"
|
|
|
|
|
Name="BoardEraserSizePanel"
|
2025-09-21 00:25:09 +08:00
|
|
|
CornerRadius="5" Background="{DynamicResource FloatBarBackground}"
|
2025-05-25 09:29:48 +08:00
|
|
|
Opacity="1"
|
|
|
|
|
BorderBrush="#2563eb" BorderThickness="1">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
|
|
|
|
CornerRadius="6,6,0,0"
|
|
|
|
|
Background="#2563eb" Margin="-1,-1,-1,1">
|
|
|
|
|
<Canvas Height="24" ClipToBounds="True">
|
2026-03-04 10:50:59 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=FloatingBar_GesturePanelTitle}" Canvas.Left="8" Foreground="White"
|
2025-05-25 09:29:48 +08:00
|
|
|
Padding="0,5"
|
|
|
|
|
FontSize="11" FontWeight="Bold"
|
|
|
|
|
TextAlignment="Center" />
|
2025-07-31 14:12:49 +08:00
|
|
|
<Image Margin="100,4,0,0"
|
|
|
|
|
Source="/Resources/new-icons/close-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="CloseBordertools_MouseUp" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="0,6,0,0"
|
2025-05-25 09:29:48 +08:00
|
|
|
Spacing="-2"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center">
|
2026-03-03 14:08:01 +08:00
|
|
|
<Label Margin="0,0,0,0" Content="{i18n:I18n Key=Board_Size}" FontWeight="Bold"
|
2025-05-25 09:29:48 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="10"
|
|
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
<Viewbox Margin="8,0,0,0" Height="20" Width="52">
|
|
|
|
|
<ComboBox Name="BoardComboBoxEraserSize"
|
2026-04-10 20:22:09 +08:00
|
|
|
SelectedIndex="2"
|
2025-05-25 09:29:48 +08:00
|
|
|
SelectionChanged="ComboBoxEraserSizeFloatingBar_SelectionChanged">
|
2026-03-03 14:08:01 +08:00
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_VerySmall}"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2026-03-03 14:08:01 +08:00
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Small}"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2026-03-03 14:08:01 +08:00
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Medium}"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2026-03-03 14:08:01 +08:00
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Large}"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2026-03-03 14:08:01 +08:00
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_VeryLarge}"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2025-05-25 09:29:48 +08:00
|
|
|
</ComboBox>
|
|
|
|
|
</Viewbox>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<TextBlock HorizontalAlignment="Center" Margin="0,8,0,6"
|
2026-03-03 14:08:01 +08:00
|
|
|
Text="{i18n:I18n Key=Board_EraserShape}"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontWeight="Bold"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="10" VerticalAlignment="Center" />
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,0,0,0" Spacing="4">
|
|
|
|
|
<Border x:Name="BoardCircleEraserTabButton"
|
|
|
|
|
MouseDown="SwitchToCircleEraser"
|
2025-10-04 17:49:44 +08:00
|
|
|
Background="{DynamicResource BoardFloatBarButtonBackgroundPointerOverKey}" Height="20" Width="40"
|
2025-05-25 09:29:48 +08:00
|
|
|
CornerRadius="3">
|
|
|
|
|
<Canvas>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="BoardCircleEraserTabButtonIndicator"
|
|
|
|
|
Visibility="Visible" Orientation="Horizontal"
|
|
|
|
|
Canvas.Left="11" Canvas.Right="11"
|
|
|
|
|
Canvas.Bottom="0">
|
2025-10-04 17:49:44 +08:00
|
|
|
<Border Width="18" Height="2" Background="{DynamicResource BoardFloatBarButtonButtonBackgroundPressedKey}"
|
2025-05-25 09:29:48 +08:00
|
|
|
CornerRadius="1" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" Height="20"
|
2025-05-25 09:29:48 +08:00
|
|
|
Width="40">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Center" Margin="0,3">
|
|
|
|
|
<TextBlock
|
|
|
|
|
x:Name="BoardCircleEraserTabButtonText"
|
2025-10-04 17:49:44 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}" FontWeight="Medium"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontSize="9" TextAlignment="Center"
|
2026-03-03 14:08:01 +08:00
|
|
|
Text="{i18n:I18n Key=Board_EraserShape_Circle}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border x:Name="BoardRectangleEraserTabButton"
|
|
|
|
|
MouseDown="SwitchToRectangleEraser"
|
2025-10-04 17:49:44 +08:00
|
|
|
Background="{DynamicResource BoardFloatBarButtonBackgroundKey}"
|
2025-05-25 09:29:48 +08:00
|
|
|
Height="20" Width="40" CornerRadius="3">
|
|
|
|
|
<Canvas>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Visibility="Collapsed"
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="BoardRectangleEraserTabButtonIndicator"
|
|
|
|
|
Orientation="Horizontal" Canvas.Left="11"
|
|
|
|
|
Canvas.Right="11" Canvas.Bottom="0">
|
2025-10-04 17:49:44 +08:00
|
|
|
<Border Width="18" Height="2" Background="{DynamicResource BoardFloatBarButtonButtonBackgroundPressedKey}"
|
2025-05-25 09:29:48 +08:00
|
|
|
CornerRadius="1" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" Height="20"
|
2025-05-25 09:29:48 +08:00
|
|
|
Width="40">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Center" Margin="0,3">
|
|
|
|
|
<TextBlock
|
|
|
|
|
x:Name="BoardRectangleEraserTabButtonText"
|
2025-10-04 17:49:44 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}" FontWeight="Medium"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontSize="9" TextAlignment="Center"
|
2026-03-03 14:08:01 +08:00
|
|
|
Text="{i18n:I18n Key=Board_EraserShape_Blackboard}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<Button Click="BoardSymbolIconDelete_MouseUp" Foreground="White"
|
|
|
|
|
HorizontalAlignment="Center" Margin="0,6,0,0">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<SolidColorBrush
|
|
|
|
|
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundKey}"
|
|
|
|
|
Color="#b91c1c" />
|
|
|
|
|
<SolidColorBrush
|
|
|
|
|
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPointerOverKey}"
|
|
|
|
|
Color="#b91c1c" />
|
|
|
|
|
<SolidColorBrush
|
|
|
|
|
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPressedKey}"
|
|
|
|
|
Color="#991b1b" />
|
|
|
|
|
</Button.Resources>
|
|
|
|
|
<Button.Content>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="4">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="15">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup
|
|
|
|
|
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-13 00:51:17 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.ClearInkIconGeometry}, Converter={StaticResource StringToGeometryConverter}}"/>
|
2025-05-25 09:29:48 +08:00
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<TextBlock FontSize="11" VerticalAlignment="Center"
|
2026-03-03 14:08:01 +08:00
|
|
|
Foreground="White" FontWeight="Bold"
|
|
|
|
|
Text="{i18n:I18n Key=Board_ClearInk}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Button.Content>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Click="BoardSymbolIconDeleteInkAndHistories_MouseUp"
|
|
|
|
|
Foreground="White" HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,4,0,0">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<SolidColorBrush
|
|
|
|
|
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundKey}"
|
|
|
|
|
Color="#b91c1c" />
|
|
|
|
|
<SolidColorBrush
|
|
|
|
|
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPointerOverKey}"
|
|
|
|
|
Color="#b91c1c" />
|
|
|
|
|
<SolidColorBrush
|
|
|
|
|
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPressedKey}"
|
|
|
|
|
Color="#991b1b" />
|
|
|
|
|
</Button.Resources>
|
|
|
|
|
<Button.Content>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="4"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="-4,-1">
|
|
|
|
|
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="12">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup
|
|
|
|
|
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-13 00:51:17 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.ClearInkIconGeometry}, Converter={StaticResource StringToGeometryConverter}}"/>
|
2025-05-25 09:29:48 +08:00
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<TextBlock FontSize="9" VerticalAlignment="Center"
|
2026-03-03 14:08:01 +08:00
|
|
|
Foreground="White"
|
|
|
|
|
Text="{i18n:I18n Key=Board_ClearInkAndHistory}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Button.Content>
|
|
|
|
|
</Button>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border x:Name="BoardEraserByStrokes" Width="60" Height="55"
|
|
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
Visibility="Collapsed"
|
2025-09-21 01:15:01 +08:00
|
|
|
MouseUp="BoardEraserIconByStrokes_Click" Background="{DynamicResource BoardFloatBarBackground}"
|
2026-01-18 04:05:55 +08:00
|
|
|
Opacity="1">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Grid Margin="6,6,6,4">
|
|
|
|
|
<Image VerticalAlignment="Top"
|
|
|
|
|
Source="/Resources/Icons-png/eraser-line.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="28" Width="28" />
|
2026-03-03 14:08:01 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=Board_StrokeEraser}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Center" FontSize="12" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-04-15 14:15:05 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BoardGeometry"
|
|
|
|
|
Label="{i18n:I18n Key=Board_Shape}"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M17.8604,10.7597L12.0068,1.17001 6.13961,10.7597 17.8604,10.7597z M10.9345,13.2403L1.34476,13.2403 1.34476,22.83 10.9345,22.83 10.9345,13.2403z M17.8604,13.2403C15.2122,13.2403 13.0655,15.387 13.0655,18.0352 13.0655,20.6833 15.2122,22.83 17.8604,22.83 20.5085,22.83 22.6552,20.6833 22.6552,18.0352 22.6552,15.387 20.5085,13.2403 17.8604,13.2403z"
|
|
|
|
|
ButtonMouseUp="ImageDrawShape_MouseUp" />
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Width="0">
|
|
|
|
|
<Border x:Name="BoardBorderDrawShape" Visibility="Visible"
|
2025-09-21 01:35:13 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
2026-01-18 04:05:55 +08:00
|
|
|
Opacity="1" BorderBrush="{DynamicResource FloatBarBorderBrush}" BorderThickness="1" CornerRadius="5"
|
2025-07-31 20:38:30 +08:00
|
|
|
Margin="-147,-286,-89,55">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Viewbox>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Spacing="-8" Orientation="Vertical">
|
2025-05-25 09:29:48 +08:00
|
|
|
<TextBlock FontSize="16"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
HorizontalAlignment="Left" Margin="10,8">
|
2026-03-03 14:08:01 +08:00
|
|
|
<Run Text="{i18n:I18n Key=Board_Shape}" />
|
|
|
|
|
<Run Text="{i18n:I18n Key=Board_ShapeHintLongPress}" FontSize="10" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</TextBlock>
|
2026-03-21 22:15:36 +08:00
|
|
|
<ui:FontIcon Margin="0,-20,8,15" Icon="{x:Static ui:SegoeFluentIcons.Pin}"
|
2025-05-25 09:29:48 +08:00
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="SymbolIconPinBorderDrawShape_MouseUp"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
HorizontalAlignment="Right" />
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="20,0,0,0" Orientation="Horizontal">
|
|
|
|
|
<ikw:SimpleStackPanel Visibility="Collapsed" Margin="58,6,5,6"
|
2025-05-25 09:29:48 +08:00
|
|
|
Width="54">
|
2026-03-03 14:08:01 +08:00
|
|
|
<Label Margin="0,0,0,-2" Content="{i18n:I18n Key=Board_AutoHide}"
|
2025-05-25 09:29:48 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="13"
|
|
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
<Viewbox Height="25">
|
|
|
|
|
<ui:ToggleSwitch
|
|
|
|
|
Name="ToggleSwitchDrawShapeBorderAutoHide"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2026-04-10 20:22:09 +08:00
|
|
|
Width="70"
|
2025-05-25 09:29:48 +08:00
|
|
|
IsOn="True" />
|
|
|
|
|
</Viewbox>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Height="50" Spacing="14"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<Image Name="ImageDrawLine" Margin="16,12,0,12"
|
|
|
|
|
MouseDown="Image_MouseDown"
|
|
|
|
|
MouseUp="BtnDrawLine_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Line}" />
|
|
|
|
|
<Image Name="ImageDrawDashedLine" Margin="0,12,0,12"
|
|
|
|
|
MouseDown="Image_MouseDown"
|
|
|
|
|
MouseUp="BtnDrawDashedLine_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.DashedLine}" />
|
|
|
|
|
<Image Name="ImageDrawDotLine" Margin="0,12,0,12"
|
|
|
|
|
MouseDown="Image_MouseDown"
|
|
|
|
|
MouseUp="BtnDrawDotLine_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.DotLine}" />
|
|
|
|
|
<Image Name="ImageDrawArrow" Margin="0,12,0,12"
|
|
|
|
|
MouseDown="Image_MouseDown"
|
|
|
|
|
MouseUp="BtnDrawArrow_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.ArrowLine}" />
|
|
|
|
|
<Image Name="ImageDrawParallelLine" Margin="0,11.5,16,11.5"
|
|
|
|
|
MouseDown="Image_MouseDown"
|
|
|
|
|
MouseUp="BtnDrawParallelLine_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.ParallelLine}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Height="50" Spacing="15"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<Image Margin="16,12,0,12" MouseUp="BtnDrawCoordinate1_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Coordinate1}" />
|
|
|
|
|
<Image Margin="0,12" MouseUp="BtnDrawCoordinate2_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Coordinate2}" />
|
|
|
|
|
<Image Margin="0,12" MouseUp="BtnDrawCoordinate3_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Coordinate3}" />
|
|
|
|
|
<Image Margin="0,12" MouseUp="BtnDrawCoordinate4_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Coordinate4}" />
|
|
|
|
|
<Image Margin="-1,11.5" MouseUp="BtnDrawCoordinate5_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Coordinate5}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Height="50" Spacing="10"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<Image Margin="16,11,2,11"
|
|
|
|
|
MouseUp="BtnDrawRectangleCenter_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.RectangleCenter}" />
|
|
|
|
|
<Image Visibility="Collapsed" Margin="0,10"
|
|
|
|
|
MouseUp="BtnDrawEllipse_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Ellipse}" />
|
|
|
|
|
<Image Margin="0,10" MouseUp="BtnDrawCircle_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Circle}" />
|
|
|
|
|
<Image Margin="0,10" MouseUp="BtnDrawDashedCircle_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.DashedCircle}" />
|
|
|
|
|
<Image Margin="0,10" MouseUp="BtnDrawCenterEllipse_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.EllipseCenter}"
|
|
|
|
|
Width="30" />
|
|
|
|
|
<Image Margin="0,10"
|
|
|
|
|
MouseUp="BtnDrawCenterEllipseWithFocalPoint_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.EllipseCenterWithFocalPoint}"
|
|
|
|
|
Width="30" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Height="50" Spacing="10"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<Image Margin="16,10,2,10" MouseUp="BtnDrawHyperbola_Click"
|
|
|
|
|
Width="26"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Hyperbola}" />
|
|
|
|
|
<Image Margin="4,10,2,10"
|
|
|
|
|
MouseUp="BtnDrawHyperbolaWithFocalPoint_Click"
|
|
|
|
|
Width="26"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.HyperbolaWithFocalPoint}" />
|
|
|
|
|
<Image Margin="2.5,10,2,10" MouseUp="BtnDrawParabola1_Click"
|
|
|
|
|
Width="26"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Parabola}" />
|
|
|
|
|
<Image Margin="1,10,2,10"
|
|
|
|
|
MouseUp="BtnDrawParabolaWithFocalPoint_Click"
|
|
|
|
|
Width="26"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.ParabolaWithFocalPoint}"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform Angle="90" />
|
|
|
|
|
<TranslateTransform />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
</Image>
|
|
|
|
|
<Image Margin="2,10,2,10" MouseUp="BtnDrawParabola2_Click"
|
|
|
|
|
Width="26"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Parabola}"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
2025-08-03 15:23:46 +08:00
|
|
|
<RotateTransform Angle="90"/>
|
2025-05-25 09:29:48 +08:00
|
|
|
<TranslateTransform />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
</Image>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Height="50" Spacing="10"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<Image Margin="15,11,2,11" MouseUp="BtnDrawRectangle_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Rectangle}" />
|
|
|
|
|
<Image Margin="6,10,2,10" MouseUp="BtnDrawCylinder_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Cylinder}" />
|
|
|
|
|
<Image Margin="8,12.5,0,10" MouseUp="BtnDrawCone_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Cone}" />
|
|
|
|
|
<Image Margin="5.5,12.5,2.5,10" MouseUp="BtnDrawCuboid_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Cuboid}" />
|
|
|
|
|
<Image Visibility="Collapsed" Margin="0,11.5,2.5,9.5"
|
|
|
|
|
MouseUp="BtnDrawCuboid_Click"
|
|
|
|
|
Source="{DynamicResource DrawShapeImageSource.Tetrahedron}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Viewbox>
|
|
|
|
|
</Border>
|
|
|
|
|
</Border>
|
2026-04-15 14:15:05 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BoardInsertImage"
|
|
|
|
|
Label="{i18n:I18n Key=Board_InsertImage}"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M19,3H5C3.9,3 3,3.9 3,5v14c0,1.1 0.9,2 2,2h14c1.1,0 2-0.9 2-2V5C21,3.9 20.1,3 19,3zM19,19H5V5h14V19z M17,7c-1.1,0-2,0.9-2,2s0.9,2 2,2 2-0.9 2-2S18.1,7 17,7zM7,17l2.5-3.01 1.96,2.36 2.54-3.21L17,17H7z"
|
|
|
|
|
ButtonMouseUp="InsertImageOptions_MouseUp" />
|
2025-07-31 20:38:30 +08:00
|
|
|
<Border>
|
|
|
|
|
<!-- Image Insertion Options Panel -->
|
2026-01-18 04:05:55 +08:00
|
|
|
<Grid RenderTransformOrigin="0,1" Margin="-110,-92,13,55">
|
2025-07-31 20:38:30 +08:00
|
|
|
<Grid.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Grid.RenderTransform>
|
2026-01-18 04:05:55 +08:00
|
|
|
<Border Name="BoardImageOptionsPanel" Visibility="Visible" ClipToBounds="True" CornerRadius="5" Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderThickness="1" BorderBrush="#2563eb">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0">
|
2025-07-31 20:38:30 +08:00
|
|
|
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1" Margin="-1,-1,-1,1" CornerRadius="6,6,0,0" Background="#2563eb">
|
|
|
|
|
<Canvas Height="24" ClipToBounds="True">
|
2026-03-03 14:08:01 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=Board_SelectImage}" Foreground="White" Padding="0,5" FontSize="11" FontWeight="Bold" Canvas.Left="8" TextAlignment="Center" />
|
2026-01-18 04:05:55 +08:00
|
|
|
<Image Margin="77,4,0,0" Source="/Resources/new-icons/close-white.png" RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" MouseDown="Border_MouseDown" MouseUp="CloseImageOptionsPanel_MouseUp" />
|
2025-07-31 20:38:30 +08:00
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="6,4,6,4" Spacing="2">
|
2025-07-31 20:38:30 +08:00
|
|
|
<!-- Screenshot Option -->
|
|
|
|
|
<Border MouseDown="Border_MouseDown" MouseUp="ImageOptionScreenshot_MouseUp"
|
|
|
|
|
Background="Transparent" CornerRadius="3" Padding="6,4">
|
|
|
|
|
<Border.Style>
|
|
|
|
|
<Style TargetType="Border">
|
|
|
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
<Setter Property="Background" Value="#f0f9ff"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</Border.Style>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="6">
|
2025-07-31 20:38:30 +08:00
|
|
|
<Image Height="16" Width="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#2563eb"
|
2026-04-13 00:51:17 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.ScreenshotIconGeometry}, Converter={StaticResource StringToGeometryConverter}}"/>
|
2025-07-31 20:38:30 +08:00
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
2026-03-03 14:08:01 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=Board_Screenshot}" FontSize="10"
|
2025-10-05 00:18:58 +08:00
|
|
|
Foreground="{DynamicResource TextForeground}" VerticalAlignment="Center"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-07-31 20:38:30 +08:00
|
|
|
</Border>
|
|
|
|
|
<!-- Select Image Option -->
|
|
|
|
|
<Border MouseDown="Border_MouseDown" MouseUp="ImageOptionSelectFile_MouseUp"
|
|
|
|
|
Background="Transparent" CornerRadius="3" Padding="6,4">
|
|
|
|
|
<Border.Style>
|
|
|
|
|
<Style TargetType="Border">
|
|
|
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
|
|
|
<Setter Property="Background" Value="#f0f9ff"/>
|
|
|
|
|
</Trigger>
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
</Style>
|
|
|
|
|
</Border.Style>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="6">
|
2025-07-31 20:38:30 +08:00
|
|
|
<Image Height="16" Width="16">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#2563eb"
|
|
|
|
|
Geometry="F1 M24,24z M0,0z M19,3H5C3.9,3 3,3.9 3,5v14c0,1.1 0.9,2 2,2h14c1.1,0 2-0.9 2-2V5C21,3.9 20.1,3 19,3zM19,19H5V5h14V19z M17,7c-1.1,0-2,0.9-2,2s0.9,2 2,2 2-0.9 2-2S18.1,7 17,7zM7,17l2.5-3.01 1.96,2.36 2.54-3.21L17,17H7z"/>
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
2026-03-03 14:08:01 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=Board_SelectImage}" FontSize="10"
|
2025-10-05 00:18:58 +08:00
|
|
|
Foreground="{DynamicResource TextForeground}" VerticalAlignment="Center"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-07-31 20:38:30 +08:00
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-07-31 14:52:44 +08:00
|
|
|
</Border>
|
2025-07-31 20:38:30 +08:00
|
|
|
</Grid>
|
2025-07-31 14:52:44 +08:00
|
|
|
</Border>
|
2026-04-17 01:20:06 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BoardUndo"
|
|
|
|
|
Label="{i18n:I18n Key=Board_Undo}"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M8.71408,16.8493L0.874451,9.00964 8.71408,1.17001 8.71408,7.42358 15.7239,7.42358C16.7074,7.42358 17.6791,7.62744 18.583,8.02124 19.4866,8.41493 20.3023,8.98966 20.9857,9.70849 21.6689,10.4271 22.2069,11.276 22.5726,12.2047 22.9383,13.1333 23.1256,14.126 23.1256,15.1268 23.1256,16.1276 22.9383,17.1203 22.5726,18.0489 22.2069,18.9776 21.6689,19.8264 20.9857,20.5451 20.3023,21.2639 19.4866,21.8387 18.583,22.2324 17.6791,22.6262 16.7074,22.83 15.7239,22.83L10.437,22.83 10.437,19.6579 15.7239,19.6579C16.2679,19.6579 16.8086,19.5453 17.3159,19.3243 17.8235,19.1031 18.29,18.7767 18.6867,18.3594 19.0835,17.942 19.4023,17.4422 19.6211,16.8866 19.8399,16.3308 19.9534,15.7326 19.9534,15.1268 19.9534,14.5209 19.8399,13.9227 19.6211,13.367 19.4023,12.8114 19.0835,12.3115 18.6867,11.8941 18.29,11.4769 17.8235,11.1505 17.3159,10.9293 16.8086,10.7083 16.2679,10.5957 15.7239,10.5957L8.71408,10.5957 8.71408,16.8493z"
|
|
|
|
|
IsEnabledBinding="{Binding ElementName=BtnUndo, Path=IsEnabled}"
|
|
|
|
|
ButtonMouseUp="SymbolIconUndo_MouseUp" />
|
|
|
|
|
<controls:BoardToolbarButton x:Name="BoardRedo"
|
|
|
|
|
Position="Last"
|
|
|
|
|
Label="{i18n:I18n Key=Board_Redo}"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M15.2859,16.8493L23.1255,9.00964 15.2859,1.17001 15.2859,7.42358 8.27607,7.42358C7.29262,7.42358 6.32086,7.62744 5.41703,8.02124 4.51341,8.41493 3.69773,8.98966 3.01434,9.70849 2.33111,10.4271 1.79312,11.276 1.42741,12.2047 1.06174,13.1333 0.874422,14.126 0.874422,15.1268 0.874422,16.1276 1.06174,17.1203 1.42741,18.0489 1.79312,18.9776 2.33111,19.8264 3.01434,20.5451 3.69773,21.2639 4.51341,21.8387 5.41703,22.2324 6.32086,22.6262 7.29262,22.83 8.27607,22.83L13.563,22.83 13.563,19.6579 8.27607,19.6579C7.7321,19.6579 7.19139,19.5453 6.68406,19.3243 6.17652,19.1031 5.70999,18.7767 5.31333,18.3594 4.91651,17.942 4.59775,17.4422 4.37894,16.8866 4.1601,16.3308 4.04656,15.7326 4.04656,15.1268 4.04656,14.5209 4.1601,13.9227 4.37894,13.367 4.59775,12.8114 4.91651,12.3115 5.31333,11.8941 5.70999,11.4769 6.17652,11.1505 6.68406,10.9293 7.19139,10.7083 7.7321,10.5957 8.27607,10.5957L15.2859,10.5957 15.2859,16.8493z"
|
|
|
|
|
IsEnabledBinding="{Binding ElementName=BtnRedo, Path=IsEnabled}"
|
|
|
|
|
ButtonMouseUp="SymbolIconRedo_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
|
2025-09-21 01:15:01 +08:00
|
|
|
<Border CornerRadius="5,5,5,5" Background="{DynamicResource BoardFloatBarBackground}">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2026-04-17 06:23:49 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BoardTools"
|
|
|
|
|
Position="First"
|
|
|
|
|
Label="{i18n:I18n Key=Board_Tools}"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M3.336,1.17001C2.13975,1.17001,1.17,2.13976,1.17,3.33601L1.17,8.75101C1.17,9.94726,2.13975,10.917,3.336,10.917L8.751,10.917C9.94725,10.917,10.917,9.94726,10.917,8.75101L10.917,3.33601C10.917,2.13976,9.94725,1.17001,8.751,1.17001L3.336,1.17001z M15.249,1.17001C14.0527,1.17001,13.083,2.13976,13.083,3.33601L13.083,8.75101C13.083,9.94726,14.0527,10.917,15.249,10.917L20.664,10.917C21.8602,10.917,22.83,9.94726,22.83,8.75101L22.83,3.33601C22.83,2.13976,21.8602,1.17001,20.664,1.17001L15.249,1.17001z M3.336,13.083C2.13975,13.083,1.17,14.0528,1.17,15.249L1.17,20.664C1.17,21.8603,2.13975,22.83,3.336,22.83L8.751,22.83C9.94725,22.83,10.917,21.8603,10.917,20.664L10.917,15.249C10.917,14.0528,9.94725,13.083,8.751,13.083L3.336,13.083z M15.249,13.083C14.0527,13.083,13.083,14.0528,13.083,15.249L13.083,20.664C13.083,21.8603,14.0527,22.83,15.249,22.83L20.664,22.83C21.8602,22.83,22.83,21.8603,22.83,20.664L22.83,15.249C22.83,14.0528,21.8602,13.083,20.664,13.083L15.249,13.083z"
|
|
|
|
|
ButtonMouseUp="SymbolIconTools_MouseUp" />
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border>
|
|
|
|
|
<Grid Width="0" Margin="0,0,0,5" RenderTransformOrigin="0,1">
|
|
|
|
|
<Grid.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Grid.RenderTransform>
|
|
|
|
|
<Border ClipToBounds="True" Name="BoardBorderTools"
|
2025-07-31 14:52:44 +08:00
|
|
|
Margin="-80,-138.5,-39,33.5"
|
2025-09-21 00:25:09 +08:00
|
|
|
CornerRadius="5" Background="{DynamicResource SettingsPageBackground}" Opacity="1"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1"
|
|
|
|
|
BorderBrush="#2563eb">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="-1,0,0,0">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
|
|
|
|
CornerRadius="6,6,0,0" Background="#2563eb"
|
|
|
|
|
Margin="-1,-1,-1,0"
|
|
|
|
|
Padding="1,1,1,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Stretch">
|
2026-03-03 14:08:01 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=Tools_MoreFeaturesTitle}" Foreground="White"
|
2025-05-25 09:29:48 +08:00
|
|
|
Padding="8,5,44,5"
|
|
|
|
|
FontSize="11" FontWeight="Bold"
|
|
|
|
|
TextAlignment="Center" />
|
|
|
|
|
<Image Margin="0,0,0,0"
|
|
|
|
|
Source="/Resources/new-icons/close-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="CloseBordertools_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
<!---->
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="10,3,10,2" Spacing="-2">
|
|
|
|
|
<ikw:SimpleStackPanel.Resources>
|
2026-03-04 10:25:25 +08:00
|
|
|
<Style TargetType="Label" BasedOn="{StaticResource AutoFitToolPopupLabel8}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel.Resources>
|
2026-04-10 21:02:17 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
2026-04-13 23:53:59 +08:00
|
|
|
<controls:ToolMenuButton x:Name="BoardTimerToolBtn" ButtonMouseUp="ImageCountdownTimer_MouseUp" Label="{i18n:I18n Key=Tools_Timer}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="BoardRandomDrawToolBtn" Visibility="Collapsed" ButtonMouseUp="SymbolIconRand_MouseUp" Label="{i18n:I18n Key=Tools_RandomDraw}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="BoardSingleDrawToolBtn" Visibility="Collapsed" ButtonMouseUp="SymbolIconRandOne_MouseUp" Label="{i18n:I18n Key=Tools_SingleDraw}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-10 21:02:17 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
2026-04-13 23:53:59 +08:00
|
|
|
<controls:ToolMenuButton x:Name="BoardSaveToolBtn" ButtonMouseUp="SymbolIconSaveStrokes_MouseUp" Label="{i18n:I18n Key=Tools_Save}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="BoardOpenToolBtn" ButtonMouseUp="SymbolIconOpenStrokes_MouseUp" Label="{i18n:I18n Key=Tools_Open}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="BoardReplayToolBtn" ButtonMouseUp="GridInkReplayButton_MouseUp" Label="{i18n:I18n Key=Tools_Replay}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-10 21:02:17 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
2026-04-13 23:53:59 +08:00
|
|
|
<controls:ToolMenuButton x:Name="BoardScreenshotToolBtn" ButtonMouseUp="SymbolIconScreenshot_MouseUp" Label="{i18n:I18n Key=Tools_Screenshot}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="BoardManualToolBtn" ButtonMouseUp="OperatingGuideWindowIcon_MouseUp" Label="{i18n:I18n Key=Tools_Manual}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="BoardSettingsToolBtn" ButtonMouseUp="SymbolIconSettings_Click" Label="{i18n:I18n Key=Tools_Settings}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-04-17 06:23:49 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BoardExit"
|
|
|
|
|
Position="Last"
|
|
|
|
|
Label="{i18n:I18n Key=Board_Exit}"
|
|
|
|
|
IconGeometry="F0 M24,24z M0,0z M12,23.4102C18.3017,23.4102 23.4102,18.3017 23.4102,12 23.4102,5.69834 18.3017,0.589813 12,0.589813 5.69834,0.589813 0.589813,5.69834 0.589813,12 0.589813,18.3017 5.69834,23.4102 12,23.4102z M8.25212,6.38964C7.73781,5.87533 6.90395,5.87533 6.38964,6.38964 5.87533,6.90395 5.87533,7.73781 6.38964,8.25212L10.1375,12 6.38964,15.7479C5.87533,16.2622 5.87533,17.0961 6.38964,17.6104 6.90395,18.1247 7.73781,18.1247 8.25212,17.6104L12,13.8625 15.7479,17.6104C16.2622,18.1247 17.0961,18.1247 17.6104,17.6104 18.1247,17.0961 18.1247,16.2622 17.6104,15.7479L13.8625,12 17.6104,8.25212C18.1247,7.73781 18.1247,6.90395 17.6104,6.38964 17.0961,5.87533 16.2622,5.87533 15.7479,6.38964L12,10.1375 8.25212,6.38964z"
|
|
|
|
|
ButtonMouseUp="ImageBlackboard_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<!-- 右下角 -->
|
|
|
|
|
<Viewbox x:Name="ViewboxBlackboardRightSide" Margin="3,0,0,0" Height="55" HorizontalAlignment="Right"
|
|
|
|
|
VerticalAlignment="Bottom">
|
|
|
|
|
<Grid Name="BlackboardRightSide" Visibility="Visible" Margin="0,0,0,3" Height="50"
|
|
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Bottom">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="5">
|
2026-04-17 06:39:27 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BtnWhiteBoardAddBoard"
|
|
|
|
|
Position="Single"
|
|
|
|
|
Label="{i18n:I18n Key=Board_NewPage}"
|
|
|
|
|
IconGeometry="F0 M24,24z M0,0z M7.39778,13.723L10.7693,13.723 10.7693,10.3514 13.2307,10.3514 13.2307,13.723 16.6022,13.723 16.6022,16.1843 13.2307,16.1843 13.2307,19.5559 10.7693,19.5559 10.7693,16.1843 7.39778,16.1843 7.39778,13.723z M3.1391,1.17001L3.1391,22.83 20.8609,22.83 20.8609,6.66948 15.3614,1.17002 3.1391,1.17001z M12.9846,3.13911L5.10819,3.1391 5.10819,20.8609 18.8918,20.8609 18.8918,9.04638 12.9846,9.04638 12.9846,3.13911z M18.484,7.07729L14.9536,3.54692 14.9536,7.07729 18.484,7.07729z"
|
2026-04-17 09:26:29 +08:00
|
|
|
ButtonMouseUp="BoardBtnWhiteBoardAdd_MouseUp" />
|
2025-09-21 01:06:42 +08:00
|
|
|
<Border CornerRadius="5,5,5,5" Background="{DynamicResource BoardFloatBarBackground}" Margin="0,0,0,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2026-04-17 06:39:27 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BtnRightWhiteBoardSwitchPrevious"
|
|
|
|
|
Position="First"
|
|
|
|
|
Label="{i18n:I18n Key=Board_PreviousPage}"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M7.40091,10.456L14.5033,3.35357 12.3198,1.17001 1.48978,12 12.3198,22.83 14.5033,20.6465 7.40089,13.544 22.5102,13.544 22.5102,10.456 7.40091,10.456z"
|
|
|
|
|
IsEnabledBinding="{Binding ElementName=BtnWhiteBoardSwitchPrevious, Path=IsEnabled}"
|
2026-04-17 09:26:29 +08:00
|
|
|
ButtonMouseUp="BoardBtnWhiteBoardSwitchPrevious_MouseUp" />
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Width="75" Height="50" MouseUp="BtnWhiteBoardPageIndex_Click"
|
|
|
|
|
Name="BtnRightPageListWB"
|
2025-09-21 01:06:42 +08:00
|
|
|
BorderThickness="1,1,1,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}" Background="{DynamicResource BoardFloatBarBackground}"
|
2026-01-18 04:05:55 +08:00
|
|
|
Opacity="1">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Grid Margin="6,6,6,4">
|
|
|
|
|
<TextBlock HorizontalAlignment="Center"
|
|
|
|
|
Text="{Binding ElementName=TextBlockWhiteBoardIndexInfo, Path=Text}"
|
|
|
|
|
Margin="0,-1,0,0" FontSize="17" FontWeight="Bold"
|
|
|
|
|
TextAlignment="Center" />
|
2026-03-03 14:08:01 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=Board_Page}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
|
2026-03-03 17:22:48 +08:00
|
|
|
HorizontalAlignment="Center" FontSize="12" Style="{StaticResource AutoFitFloatBarLabel12}" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Grid Width="0" Margin="0,0,0,5">
|
|
|
|
|
<Border ClipToBounds="True" Name="BoardBorderRightPageListView"
|
|
|
|
|
Margin="-138,-465,-56,50"
|
|
|
|
|
CornerRadius="8"
|
2025-09-21 02:05:49 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1">
|
|
|
|
|
<ui:ScrollViewerEx Name="BlackBoardRightSidePageListScrollViewer"
|
|
|
|
|
Height="460"
|
|
|
|
|
VerticalScrollBarVisibility="Hidden"
|
2025-07-21 10:14:21 +08:00
|
|
|
ForceUseSmoothScroll="True"
|
|
|
|
|
PanningMode="VerticalOnly"
|
|
|
|
|
IsManipulationEnabled="True">
|
2025-05-25 09:29:48 +08:00
|
|
|
<ListView ScrollViewer.CanContentScroll="False" SelectionMode="Single"
|
|
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
|
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Disabled"
|
|
|
|
|
Name="BlackBoardRightSidePageListView">
|
|
|
|
|
<ListView.ItemTemplate>
|
|
|
|
|
<DataTemplate>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
MouseUp="BlackBoardRightSidePageListView_OnMouseUp">
|
2025-09-21 01:06:42 +08:00
|
|
|
<Border Margin="0,4" Width="160" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1">
|
|
|
|
|
<Grid>
|
2026-02-23 13:20:52 +08:00
|
|
|
<Viewbox Width="160" Height="120" Stretch="Uniform">
|
2025-05-25 09:29:48 +08:00
|
|
|
<InkCanvas EditingMode="None"
|
|
|
|
|
Background="{Binding ElementName=GridBackgroundCover, Path=Background}"
|
|
|
|
|
Strokes="{Binding Strokes}"
|
|
|
|
|
Width="{Binding ElementName=inkCanvas, Path=ActualWidth}"
|
|
|
|
|
Height="{Binding ElementName=inkCanvas, Path=ActualHeight}">
|
|
|
|
|
</InkCanvas>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<Border Margin="4" Width="36" Height="20"
|
|
|
|
|
CornerRadius="3" HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
Background="#cc09090b">
|
|
|
|
|
<TextBlock FontSize="14"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
FontFamily="Consolas"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
Text="{Binding Index}">
|
|
|
|
|
</TextBlock>
|
|
|
|
|
</Border>
|
2026-02-22 12:23:13 +08:00
|
|
|
<Button Width="24" Height="24" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="4"
|
2026-03-03 14:08:01 +08:00
|
|
|
ToolTip="{i18n:I18n Key=Board_DeleteThisPage}"
|
2026-02-22 12:23:13 +08:00
|
|
|
Click="WhiteBoardPageListItem_DeleteClick"
|
|
|
|
|
Background="#CC000000" Foreground="White"
|
|
|
|
|
BorderThickness="0" Padding="0" Cursor="Hand">
|
2026-03-21 22:15:36 +08:00
|
|
|
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Delete}" />
|
2026-02-22 12:23:13 +08:00
|
|
|
</Button>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</DataTemplate>
|
|
|
|
|
</ListView.ItemTemplate>
|
|
|
|
|
</ListView>
|
|
|
|
|
</ui:ScrollViewerEx>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
2026-04-17 06:39:27 +08:00
|
|
|
<controls:BoardToolbarButton x:Name="BtnRightWhiteBoardSwitchNext"
|
|
|
|
|
Position="Last"
|
|
|
|
|
Label="{i18n:I18n Key=Board_NextPage}"
|
|
|
|
|
IconGeometry="F1 M24,24z M0,0z M16.5991,10.456L9.49667,3.35357 11.6802,1.17001 22.5102,12 11.6802,22.83 9.49667,20.6465 16.5991,13.544 1.48978,13.544 1.48978,10.456 16.5991,10.456z"
|
|
|
|
|
IsEnabledBinding="{Binding ElementName=BtnWhiteBoardSwitchNext, Path=IsEnabled}"
|
2026-04-17 09:26:29 +08:00
|
|
|
ButtonMouseUp="BoardBtnWhiteBoardSwitchNext_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Spacing="10" Orientation="Horizontal"
|
2025-05-25 09:29:48 +08:00
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
Height="50" Margin="10"
|
|
|
|
|
Visibility="Collapsed">
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="BtnWhiteBoardAdd"
|
2025-05-25 09:29:48 +08:00
|
|
|
Width="50" Height="48" FontSize="26" Click="BtnWhiteBoardAdd_Click"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}">
|
2026-03-21 22:15:36 +08:00
|
|
|
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Add}" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Button>
|
|
|
|
|
<Button Name="BtnWhiteBoardSwitchPrevious" FontFamily="Symbol"
|
|
|
|
|
Width="50" Height="48" FontSize="25" Click="BtnWhiteBoardSwitchPrevious_Click"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
IsEnabled="False" IsEnabledChanged="Btn_IsEnabledChanged">
|
|
|
|
|
<Image RenderTransformOrigin="0.5,0.5" Opacity="0.25">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform Angle="-90" />
|
|
|
|
|
<TranslateTransform />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V64 H64 V0 H0 Z">
|
|
|
|
|
<DrawingGroup Opacity="1">
|
|
|
|
|
<GeometryDrawing Brush="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Geometry="F1 M64,64z M0,0z M32,26.41L16.566,41.844 14.439,39.717 32,22.156 49.561,39.717 47.434,41.844 32,26.41z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Border Height="48" CornerRadius="2" Margin="3,0">
|
|
|
|
|
<TextBlock Name="TextBlockWhiteBoardIndexInfo"
|
|
|
|
|
Text="1/1"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
VerticalAlignment="Center" HorizontalAlignment="Center"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
FontSize="18" />
|
|
|
|
|
</Border>
|
|
|
|
|
<Button Name="BtnWhiteBoardSwitchNext" FontFamily="Symbol"
|
|
|
|
|
Width="50" Height="48" FontSize="25" Click="BtnWhiteBoardSwitchNext_Click"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
IsEnabled="True" IsEnabledChanged="Btn_IsEnabledChanged">
|
|
|
|
|
<Image RenderTransformOrigin="0.5,0.5" Opacity="0.25">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform Angle="90" />
|
|
|
|
|
<TranslateTransform />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V64 H64 V0 H0 Z">
|
|
|
|
|
<DrawingGroup Opacity="1">
|
|
|
|
|
<GeometryDrawing Brush="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Geometry="F1 M64,64z M0,0z M32,26.41L16.566,41.844 14.439,39.717 32,22.156 49.561,39.717 47.434,41.844 32,26.41z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Name="BtnWhiteBoardDelete" Click="BtnWhiteBoardDelete_Click"
|
2026-04-10 20:22:09 +08:00
|
|
|
Width="50" Height="48" FontSize="26"
|
2025-05-25 09:29:48 +08:00
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}"
|
|
|
|
|
IsEnabled="False">
|
2026-03-21 22:15:36 +08:00
|
|
|
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Delete}" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Button>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 通知弹窗 -->
|
|
|
|
|
<Grid Name="GridNotifications" Margin="0,110" Visibility="Collapsed" HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Bottom">
|
2025-09-21 00:25:09 +08:00
|
|
|
<Border CornerRadius="6" MaxHeight="200" Padding="20 10" Background="{DynamicResource SettingsPageBackground}" Opacity="0.95"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderBrush="#b91c1c" BorderThickness="1.5">
|
2026-03-03 14:08:01 +08:00
|
|
|
<TextBlock Name="TextBlockNotice" Text="{i18n:I18n Key=Notification_TestText}" VerticalAlignment="Center" HorizontalAlignment="Center"
|
2025-09-21 00:25:09 +08:00
|
|
|
FontSize="16" Foreground="{DynamicResource SettingsPageForeground}" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
<!--// Old UI //-->
|
|
|
|
|
<Viewbox Name="ViewBoxStackPanelMain" Visibility="Collapsed" Margin="10,10,10,55" HorizontalAlignment="Right"
|
|
|
|
|
VerticalAlignment="Bottom" Width="46">
|
|
|
|
|
<StackPanel Name="StackPanelMain" Width="46">
|
|
|
|
|
<StackPanel Name="StackPanelControl">
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="BtnExit" Content="{i18n:I18n Key=OldUI_Exit}"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnExit_Click" Background="#7F909090" />
|
|
|
|
|
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="BtnThickness" Content="{i18n:I18n Key=OldUI_Thickness}" Visibility="Collapsed"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnThickness_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
|
|
|
|
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="BtnSwitchTheme" Content="{i18n:I18n Key=OldUI_Dark}"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
|
|
|
|
<!-- Click="BtnSwitchTheme_Click" -->
|
|
|
|
|
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Name="BtnSwitch" Content="{i18n:I18n Key=OldUI_Background}"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnSwitch_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button x:Name="BtnHideInkCanvas" Content="{i18n:I18n Key=OldUI_HideCanvas}"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnHideInkCanvas_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button x:Name="BtnCheckPPT" Visibility="Collapsed" Content="{i18n:I18n Key=OldUI_Check}"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnCheckPPT_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
|
|
|
|
<StackPanel Name="StackPanelPPTButtons">
|
2026-03-03 14:08:01 +08:00
|
|
|
<Button x:Name="BtnPPTSlideShow" Visibility="Collapsed" Content="{i18n:I18n Key=OldUI_SlideshowFromStart}"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnPPTSlideShow_Click"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
2026-03-03 14:08:01 +08:00
|
|
|
<Button x:Name="BtnPPTSlideShowEnd" Visibility="Collapsed" Content="{i18n:I18n Key=OldUI_SlideshowEnd}"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnPPTSlideShowEnd_Click"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
|
|
|
|
<StackPanel Name="StackPanelPPTControls" Visibility="Collapsed">
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button x:Name="BtnPPTSlidesUp" Content="↑"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnPPTSlidesUp_Click"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button x:Name="BtnPPTSlidesDown" Content="↓"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnPPTSlidesDown_Click"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button x:Name="BtnSwitchSide" Content="⇆"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnSwitchSide_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
|
|
|
|
</StackPanel>
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button x:Name="BtnHideControl" Content="⇅"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnHideControl_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox Name="ViewBoxStackPanelShapes" Margin="{Binding ElementName=ViewBoxStackPanelMain, Path=Margin}"
|
|
|
|
|
Width="46" HorizontalAlignment="Left" VerticalAlignment="Bottom" Visibility="Collapsed">
|
|
|
|
|
<StackPanel Name="StackPanelShapes" Width="46">
|
2026-03-03 14:08:01 +08:00
|
|
|
<Button Name="BtnFingerDragMode" Content="{i18n:I18n Key=OldUI_SingleFingerDrag}" Visibility="Visible"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,25,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnFingerDragMode_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
|
|
|
|
<StackPanel IsVisibleChanged="StackPanel_IsVisibleChanged"
|
|
|
|
|
Visibility="{Binding ElementName=StackPanelPPTButtons, Path=Visibility}">
|
|
|
|
|
<StackPanel Visibility="{Binding ElementName=StackPanelPPTControls, Path=Visibility}">
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Content="↑"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnPPTSlidesUp_Click"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button Content="↓"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,15" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnPPTSlidesDown_Click"
|
|
|
|
|
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button x:Name="BtnUndo"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnUndo_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}"
|
|
|
|
|
IsEnabled="False" Visibility="Collapsed" IsEnabledChanged="Btn_IsEnabledChanged">
|
|
|
|
|
<StackPanel Opacity="0.2">
|
2026-03-21 22:15:36 +08:00
|
|
|
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Undo}" />
|
2026-03-03 14:08:01 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=Board_Undo}" Margin="0,4,0,0" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</StackPanel>
|
|
|
|
|
</Button>
|
2026-04-10 20:22:09 +08:00
|
|
|
<Button x:Name="BtnRedo"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Click="BtnRedo_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}"
|
|
|
|
|
IsEnabled="False" Visibility="Collapsed" IsEnabledChanged="Btn_IsEnabledChanged">
|
|
|
|
|
<StackPanel Opacity="0.2">
|
2026-03-21 22:15:36 +08:00
|
|
|
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Redo}" />
|
2026-03-03 14:08:01 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=OldUI_Restore}" Margin="0,4,0,0" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</StackPanel>
|
|
|
|
|
</Button>
|
2026-03-03 14:08:01 +08:00
|
|
|
<Button Name="BtnClearAndHideCanvas" Content="{i18n:I18n Key=OldUI_ClearAndHide}" Visibility="Collapsed"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
|
|
|
|
|
Block.TextAlignment="Center"
|
|
|
|
|
Click="BtnSelect_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
|
|
|
|
|
Background="{Binding ElementName=BtnExit, Path=Background}" />
|
|
|
|
|
<Grid Name="GridForLeftSideReservedSpace"
|
|
|
|
|
Height="{Binding ElementName=StackPanelInfo, Path=ActualHeight}" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
|
|
|
|
|
<!--// PPT 工具栏 //-->
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid Visibility="Visible">
|
|
|
|
|
<Viewbox x:Name="LeftBottomPanelForPPTNavigation" Visibility="Collapsed" Margin="6,0,0,6" Height="50"
|
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Bottom">
|
|
|
|
|
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnLBBorder"
|
|
|
|
|
Background="#f4f4f5" Opacity="1" CornerRadius="6">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
|
|
|
|
|
Name="PPTLBPreviousButtonBorder"
|
|
|
|
|
MouseDown="GridPPTControlPrevious_MouseDown"
|
|
|
|
|
MouseLeave="GridPPTControlPrevious_MouseLeave"
|
|
|
|
|
CornerRadius="5 5 0 0" Background="Transparent">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="3" CornerRadius="5" Name="PPTLBPreviousButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
|
|
|
|
<Image Height="28" Width="28">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#27272a"
|
|
|
|
|
x:Name="PPTLBPreviousButtonGeometry"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M3.3994,12.9642C2.86687,12.4317,2.86687,11.5683,3.3994,11.0358L9.94485,4.49031C10.4774,3.95777 11.3408,3.95777 11.8733,4.49031 12.4059,5.02284 12.4059,5.88625 11.8733,6.41878L7.65575,10.6364 19.6364,10.6364C20.3895,10.6364 21,11.2469 21,12 21,12.7531 20.3895,13.3636 19.6364,13.3636L7.65575,13.3636 11.8733,17.5812C12.4059,18.1137 12.4059,18.9772 11.8733,19.5097 11.3408,20.0422 10.4774,20.0422 9.94485,19.5097L3.3994,12.9642z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Visibility="Visible" Name="PPTLBPageButton" TextBlock.Foreground="#171717"
|
|
|
|
|
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
|
|
|
|
|
MouseLeave="PPTNavigationBtn_MouseLeave" Width="auto" MinWidth="50" Height="50"
|
|
|
|
|
Background="Transparent">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="0,3" CornerRadius="5" Name="PPTLBPageButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
Spacing="0.5" Margin="12,0">
|
|
|
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
|
|
|
FontSize="17" FontWeight="Bold"
|
|
|
|
|
Text="{Binding ElementName=PPTBtnPageNow, Path=Text}" />
|
|
|
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
|
|
|
FontSize="10"
|
|
|
|
|
Text="{Binding ElementName=PPTBtnPageTotal, Path=Text}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
|
|
|
|
|
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
|
|
|
|
|
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTLBNextButtonBorder">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="3" CornerRadius="5" Name="PPTLBNextButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
|
|
|
|
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28"
|
|
|
|
|
Width="28">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#27272a"
|
|
|
|
|
x:Name="PPTLBNextButtonGeometry"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M20.6006,12.9642C21.1331,12.4317,21.1331,11.5683,20.6006,11.0358L14.0551,4.49031C13.5226,3.95777 12.6592,3.95777 12.1267,4.49031 11.5941,5.02284 11.5941,5.88625 12.1267,6.41878L16.3443,10.6364 4.36364,10.6364C3.61052,10.6364 3,11.2469 3,12 3,12.7531 3.61052,13.3636 4.36364,13.3636L16.3443,13.3636 12.1267,17.5812C11.5941,18.1137 11.5941,18.9772 12.1267,19.5097 12.6592,20.0422 13.5226,20.0422 14.0551,19.5097L20.6006,12.9642z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox x:Name="RightBottomPanelForPPTNavigation" Visibility="Collapsed" Margin="0,0,6,6" Height="50"
|
|
|
|
|
HorizontalAlignment="Right" VerticalAlignment="Bottom">
|
|
|
|
|
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnRBBorder"
|
|
|
|
|
Background="#f4f4f5" Opacity="1" CornerRadius="6">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
|
|
|
|
|
Name="PPTRBPreviousButtonBorder"
|
|
|
|
|
MouseDown="GridPPTControlPrevious_MouseDown"
|
|
|
|
|
MouseLeave="GridPPTControlPrevious_MouseLeave"
|
|
|
|
|
CornerRadius="5 5 0 0" Background="Transparent">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="3" CornerRadius="5" Name="PPTRBPreviousButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
|
|
|
|
<Image Height="28" Width="28">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#27272a"
|
|
|
|
|
x:Name="PPTRBPreviousButtonGeometry"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M3.3994,12.9642C2.86687,12.4317,2.86687,11.5683,3.3994,11.0358L9.94485,4.49031C10.4774,3.95777 11.3408,3.95777 11.8733,4.49031 12.4059,5.02284 12.4059,5.88625 11.8733,6.41878L7.65575,10.6364 19.6364,10.6364C20.3895,10.6364 21,11.2469 21,12 21,12.7531 20.3895,13.3636 19.6364,13.3636L7.65575,13.3636 11.8733,17.5812C12.4059,18.1137 12.4059,18.9772 11.8733,19.5097 11.3408,20.0422 10.4774,20.0422 9.94485,19.5097L3.3994,12.9642z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Visibility="Visible" Name="PPTRBPageButton" TextBlock.Foreground="#171717"
|
|
|
|
|
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
|
|
|
|
|
MouseLeave="PPTNavigationBtn_MouseLeave" Width="auto" MinWidth="50" Height="50"
|
|
|
|
|
Background="Transparent">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="0,3" CornerRadius="5" Name="PPTRBPageButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
Spacing="0.5" Margin="12,0">
|
|
|
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
|
|
|
FontSize="17" FontWeight="Bold"
|
|
|
|
|
Text="{Binding ElementName=PPTBtnPageNow, Path=Text}" />
|
|
|
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
|
|
|
FontSize="10"
|
|
|
|
|
Text="{Binding ElementName=PPTBtnPageTotal, Path=Text}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
|
|
|
|
|
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
|
|
|
|
|
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTRBNextButtonBorder">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="3" CornerRadius="5" Name="PPTRBNextButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
|
|
|
|
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28"
|
|
|
|
|
Width="28">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#27272a"
|
|
|
|
|
x:Name="PPTRBNextButtonGeometry"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M20.6006,12.9642C21.1331,12.4317,21.1331,11.5683,20.6006,11.0358L14.0551,4.49031C13.5226,3.95777 12.6592,3.95777 12.1267,4.49031 11.5941,5.02284 11.5941,5.88625 12.1267,6.41878L16.3443,10.6364 4.36364,10.6364C3.61052,10.6364 3,11.2469 3,12 3,12.7531 3.61052,13.3636 4.36364,13.3636L16.3443,13.3636 12.1267,17.5812C11.5941,18.1137 11.5941,18.9772 12.1267,19.5097 12.6592,20.0422 13.5226,20.0422 14.0551,19.5097L20.6006,12.9642z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<!--// PPT 侧边翻页按钮 //-->
|
|
|
|
|
<Viewbox x:Name="LeftSidePanelForPPTNavigation" Visibility="Visible" Width="56"
|
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Center">
|
|
|
|
|
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnLSBorder"
|
|
|
|
|
Background="#f4f4f5" Opacity="1" CornerRadius="6" Margin="6,0,0,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
|
|
|
|
|
Name="PPTLSPreviousButtonBorder"
|
|
|
|
|
MouseDown="GridPPTControlPrevious_MouseDown" MouseLeave="GridPPTControlPrevious_MouseLeave"
|
|
|
|
|
CornerRadius="5 5 0 0" Background="Transparent">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="3" CornerRadius="5" Name="PPTLSPreviousButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
|
|
|
|
<Image Height="28" Width="28">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#27272a" x:Name="PPTLSPreviousButtonGeometry"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M11.0357,3.3994C11.5682,2.86687,12.4316,2.86687,12.9641,3.3994L19.5096,9.94485C20.0421,10.4774 20.0421,11.3408 19.5096,11.8733 18.9771,12.4059 18.1137,12.4059 17.5811,11.8733L13.3635,7.65575 13.3635,19.6364C13.3635,20.3895 12.753,21 11.9999,21 11.2468,21 10.6363,20.3895 10.6363,19.6364L10.6363,7.65575 6.41869,11.8733C5.88616,12.4059 5.02275,12.4059 4.49022,11.8733 3.95769,11.3408 3.95769,10.4774 4.49022,9.94485L11.0357,3.3994z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Visibility="Visible" Name="PPTLSPageButton" TextBlock.Foreground="#171717"
|
|
|
|
|
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
|
|
|
|
|
MouseLeave="PPTNavigationBtn_MouseLeave" Width="50" Height="50"
|
|
|
|
|
Background="Transparent">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="3,0" CornerRadius="5" Name="PPTLSPageButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical" Spacing="0.5">
|
2025-05-25 09:29:48 +08:00
|
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
|
|
|
FontSize="17" FontWeight="Bold"
|
|
|
|
|
Text="999" Name="PPTBtnPageNow" />
|
|
|
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
|
|
|
FontSize="10" Text="/ 999" Name="PPTBtnPageTotal" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
|
|
|
|
|
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
|
|
|
|
|
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTLSNextButtonBorder">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="3" CornerRadius="5" Name="PPTLSNextButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
|
|
|
|
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28" Width="28">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#27272a" x:Name="PPTLSNextButtonGeometry"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M11.0357,20.6006C11.5682,21.1331,12.4316,21.1331,12.9641,20.6006L19.5096,14.0551C20.0421,13.5226 20.0421,12.6592 19.5096,12.1267 18.9771,11.5941 18.1137,11.5941 17.5811,12.1267L13.3635,16.3443 13.3635,4.36364C13.3635,3.61052 12.753,3 11.9999,3 11.2468,3 10.6363,3.61052 10.6363,4.36364L10.6363,16.3443 6.41869,12.1267C5.88616,11.5941 5.02275,11.5941 4.49022,12.1267 3.95769,12.6592 3.95769,13.5226 4.49022,14.0551L11.0357,20.6006z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox x:Name="RightSidePanelForPPTNavigation" Visibility="Visible" Width="56"
|
|
|
|
|
HorizontalAlignment="Right" VerticalAlignment="Center">
|
|
|
|
|
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnRSBorder"
|
|
|
|
|
Background="#f4f4f5" Opacity="1" CornerRadius="6" Margin="0,0,6,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
|
|
|
|
|
Name="PPTRSPreviousButtonBorder"
|
|
|
|
|
MouseDown="GridPPTControlPrevious_MouseDown" MouseLeave="GridPPTControlPrevious_MouseLeave"
|
|
|
|
|
CornerRadius="5 5 0 0" Background="Transparent">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="3" CornerRadius="5" Name="PPTRSPreviousButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
|
|
|
|
<Image Height="28" Width="28">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#27272a" x:Name="PPTRSPreviousButtonGeometry"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M11.0357,3.3994C11.5682,2.86687,12.4316,2.86687,12.9641,3.3994L19.5096,9.94485C20.0421,10.4774 20.0421,11.3408 19.5096,11.8733 18.9771,12.4059 18.1137,12.4059 17.5811,11.8733L13.3635,7.65575 13.3635,19.6364C13.3635,20.3895 12.753,21 11.9999,21 11.2468,21 10.6363,20.3895 10.6363,19.6364L10.6363,7.65575 6.41869,11.8733C5.88616,12.4059 5.02275,12.4059 4.49022,11.8733 3.95769,11.3408 3.95769,10.4774 4.49022,9.94485L11.0357,3.3994z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Visibility="Visible" Name="PPTRSPageButton"
|
|
|
|
|
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
|
|
|
|
|
MouseLeave="PPTNavigationBtn_MouseLeave" Width="50" Height="50"
|
|
|
|
|
Background="Transparent" TextBlock.Foreground="#171717">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="3,0" CornerRadius="5" Name="PPTRSPageButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical" Spacing="0.5">
|
2025-05-25 09:29:48 +08:00
|
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
|
|
|
FontSize="17" FontWeight="Bold"
|
|
|
|
|
Text="{Binding ElementName=PPTBtnPageNow, Path=Text}" />
|
|
|
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
|
|
|
FontSize="10"
|
|
|
|
|
Text="{Binding ElementName=PPTBtnPageTotal, Path=Text}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
|
|
|
|
|
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
|
|
|
|
|
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTRSNextButtonBorder">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border Margin="3" CornerRadius="5" Name="PPTRSNextButtonFeedbackBorder"
|
|
|
|
|
Background="#18181b" Opacity="0" />
|
|
|
|
|
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28" Width="28">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#27272a" x:Name="PPTRSNextButtonGeometry"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M11.0357,20.6006C11.5682,21.1331,12.4316,21.1331,12.9641,20.6006L19.5096,14.0551C20.0421,13.5226 20.0421,12.6592 19.5096,12.1267 18.9771,11.5941 18.1137,11.5941 17.5811,12.1267L13.3635,16.3443 13.3635,4.36364C13.3635,3.61052 12.753,3 11.9999,3 11.2468,3 10.6363,3.61052 10.6363,4.36364L10.6363,16.3443 6.41869,12.1267C5.88616,11.5941 5.02275,11.5941 4.49022,12.1267 3.95769,12.6592 3.95769,13.5226 4.49022,14.0551L11.0357,20.6006z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
|
|
|
|
|
<Grid Name="FloatingbarUIForInkReplay">
|
2025-07-19 10:18:16 +08:00
|
|
|
<Viewbox Name="ViewboxFloatingBar" Margin="100,5,0,0" Cursor="Arrow"
|
2026-01-17 22:11:20 +08:00
|
|
|
HorizontalAlignment="Left" Height="58" VerticalAlignment="Top" Width="1200"
|
2026-03-03 16:07:58 +08:00
|
|
|
UseLayoutRounding="True" SnapsToDevicePixels="True"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<Viewbox.LayoutTransform>
|
|
|
|
|
<ScaleTransform x:Name="ViewboxFloatingBarScaleTransform" ScaleX="1" ScaleY="1" />
|
|
|
|
|
</Viewbox.LayoutTransform>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border x:Name="BorderFloatingBarMoveControls" Width="36" Height="36" CornerRadius="5"
|
2025-09-21 00:25:09 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}" BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
2025-05-25 09:29:48 +08:00
|
|
|
MouseDown="SymbolIconEmoji_MouseDown" MouseUp="SymbolIconEmoji_MouseUp">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0,2,0,2" Orientation="Horizontal"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Center">
|
2026-03-03 16:07:58 +08:00
|
|
|
<Image Margin="0"
|
|
|
|
|
Name="FloatingbarHeadIconImg"
|
|
|
|
|
SnapsToDevicePixels="True"
|
|
|
|
|
RenderOptions.BitmapScalingMode="Fant"
|
|
|
|
|
Source="/Resources/Icons-png/icc.png" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
<Border Margin="2,0,0,0" Padding="2" Visibility="Visible" Height="36"
|
2025-09-21 00:25:09 +08:00
|
|
|
Name="BorderFloatingBarMainControls" Background="{DynamicResource FloatBarBackground}" CornerRadius="5"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1"
|
2025-09-21 00:25:09 +08:00
|
|
|
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
2025-08-12 12:30:48 +08:00
|
|
|
HorizontalAlignment="Left">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Grid>
|
|
|
|
|
<Canvas Name="FloatingbarSelectionBGCanvas" Margin="2,0,2,0">
|
|
|
|
|
<Border Name="FloatingbarSelectionBG" Visibility="Hidden" Width="28" Height="34"
|
|
|
|
|
Canvas.Left="28" Margin="0,-2,0,-2" Background="#153b82f6">
|
|
|
|
|
<Canvas>
|
|
|
|
|
<Border Canvas.Bottom="0" Canvas.Left="8" Width="12" Height="2"
|
|
|
|
|
CornerRadius="1,1,0,0" Background="#2563eb" />
|
|
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
|
|
|
|
</Canvas>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="2,0" Name="StackPanelFloatingBar" Orientation="Horizontal" Cursor="Arrow" HorizontalAlignment="Left">
|
|
|
|
|
<!--<ikw:SimpleStackPanel Name="Cursor_Icon" MouseDown="Border_MouseDown" MouseUp="CursorIcon_Click"-->
|
2026-04-11 22:46:38 +08:00
|
|
|
<controls:ToolbarImageButton x:Name="Cursor_Icon" ButtonMouseUp="CursorIcon_Click" Label="{i18n:I18n Key=FloatingBar_Mouse}" />
|
|
|
|
|
<controls:ToolbarImageButton x:Name="Pen_Icon" ButtonMouseUp="PenIcon_Click" Label="{i18n:I18n Key=FloatingBar_Annotate}" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<ikw:SimpleStackPanel Width="0"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="{Binding ElementName=StackPanelFloatingBar, Path=Orientation}">
|
2026-04-17 00:14:08 +08:00
|
|
|
<Grid Margin="-14,5,14,5" Width="0" RenderTransformOrigin=" 1,0">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Border x:Name="PenPalette" Visibility="Visible" Background="{DynamicResource FloatBarBackground}"
|
2025-05-25 09:29:48 +08:00
|
|
|
Opacity="1" BorderBrush="#2563eb"
|
2026-04-17 00:14:08 +08:00
|
|
|
BorderThickness="1" CornerRadius="8" Margin="-96.5,-84">
|
2026-04-17 00:03:41 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0,-20,0,0">
|
|
|
|
|
<Border BorderBrush="#1e3a8a" Height="32" BorderThickness="0,0,0,1"
|
2025-05-25 09:29:48 +08:00
|
|
|
CornerRadius="8,8,0,0" Background="#2563eb"
|
|
|
|
|
Margin="-1,-1,-1,0"
|
|
|
|
|
Padding="1,1,1,0">
|
2026-04-17 00:03:41 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
VerticalAlignment="Center">
|
2026-04-17 00:03:41 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
|
Margin="8,0,0,0" Spacing="2">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Border x:Name="DefaultPenTabButton"
|
2025-05-25 09:29:48 +08:00
|
|
|
MouseDown="SwitchToDefaultPen"
|
|
|
|
|
Background="#48dbeafe" Height="20" Width="36"
|
|
|
|
|
CornerRadius="3">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Canvas>
|
|
|
|
|
<ikw:SimpleStackPanel
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="DefaultPenTabButtonIndicator"
|
|
|
|
|
Visibility="Visible"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Canvas.Left="9" Canvas.Right="9"
|
|
|
|
|
Canvas.Bottom="0">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Border Width="18" Height="2"
|
2025-09-21 00:25:09 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}" CornerRadius="1" />
|
2026-04-17 00:03:41 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
Height="20" Width="36">
|
2026-04-17 00:03:41 +08:00
|
|
|
<ikw:SimpleStackPanel
|
2025-05-25 09:29:48 +08:00
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,3">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Image
|
2025-05-25 09:29:48 +08:00
|
|
|
Source="/Resources/new-icons/pen-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="13" Width="13" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<TextBlock
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="DefaultPenTabButtonText"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
FontWeight="Medium"
|
|
|
|
|
FontSize="9" TextAlignment="Center"
|
2026-03-03 14:08:01 +08:00
|
|
|
Text="{i18n:I18n Key=Board_Pen}" Margin="2,1,0,0" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-17 00:03:41 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border x:Name="HighlightPenTabButton"
|
2025-05-25 09:29:48 +08:00
|
|
|
MouseDown="SwitchToHighlighterPen"
|
|
|
|
|
Background="Transparent" Height="20" Width="52"
|
|
|
|
|
CornerRadius="3">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Canvas>
|
|
|
|
|
<ikw:SimpleStackPanel Visibility="Collapsed"
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="HighlightPenTabButtonIndicator"
|
|
|
|
|
Orientation="Horizontal" Canvas.Left="14"
|
|
|
|
|
Canvas.Right="14" Canvas.Bottom="0">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Border Width="24" Height="2"
|
2025-09-21 00:25:09 +08:00
|
|
|
Background="{DynamicResource FloatBarBackground}" CornerRadius="1" />
|
2026-04-17 00:03:41 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
Height="20" Width="52">
|
2026-04-17 00:03:41 +08:00
|
|
|
<ikw:SimpleStackPanel
|
2025-05-25 09:29:48 +08:00
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="0,3">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Image
|
2025-05-25 09:29:48 +08:00
|
|
|
Source="/Resources/new-icons/highlighter-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="13" Width="13" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<TextBlock
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="HighlightPenTabButtonText"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
FontWeight="Medium"
|
|
|
|
|
FontSize="9" TextAlignment="Center"
|
2026-03-04 11:42:22 +08:00
|
|
|
Text="{i18n:I18n Key=Board_Highlighter}" Margin="2,1,0,0"
|
|
|
|
|
Width="35"
|
|
|
|
|
Style="{StaticResource AutoFitPenTabLabel9}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-17 00:03:41 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
|
|
|
|
<Image Margin="66,0,0,0"
|
2025-05-25 09:29:48 +08:00
|
|
|
Source="/Resources/new-icons/close-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16" Width="16"
|
|
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="CloseBordertools_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-17 00:03:41 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
|
2026-04-17 00:03:41 +08:00
|
|
|
</Border>
|
|
|
|
|
<Viewbox Name="DefaultPenPropsPanel" Visibility="Collapsed"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="12,8,12,0" HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center" Stretch="Fill">
|
2026-04-17 00:03:41 +08:00
|
|
|
<ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-08-24 09:17:58 +08:00
|
|
|
Height="35" Margin="0,0,0,8">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Label Content="笔锋" Margin="0,0,6,0"
|
2025-08-24 09:17:58 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="16" FontWeight="Bold"
|
|
|
|
|
VerticalAlignment="Center" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<ComboBox Height="30" VerticalAlignment="Center"
|
2025-08-24 09:17:58 +08:00
|
|
|
Name="ComboBoxPenStyle"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2026-03-28 17:11:30 +08:00
|
|
|
SelectedIndex="1"
|
2025-08-24 09:17:58 +08:00
|
|
|
SelectionChanged="ComboBoxPenStyle_SelectionChanged">
|
2026-04-17 00:03:41 +08:00
|
|
|
<ComboBoxItem Content="实时笔锋"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2026-04-17 00:03:41 +08:00
|
|
|
<ComboBoxItem Content="基于点集"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2026-04-17 00:03:41 +08:00
|
|
|
<ComboBoxItem Content="基于速率"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2026-04-17 00:03:41 +08:00
|
|
|
<ComboBoxItem Content="关闭笔锋"
|
2026-04-10 20:22:09 +08:00
|
|
|
/>
|
2026-04-17 00:03:41 +08:00
|
|
|
</ComboBox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<Controls:UniformGrid Columns="3" Width="300" Height="55">
|
|
|
|
|
<ikw:SimpleStackPanel
|
2025-08-24 09:17:58 +08:00
|
|
|
x:Name="NibModeSimpleStackPanel"
|
|
|
|
|
Orientation="Horizontal" Width="100">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Label Content="笔尖模式" FontSize="12"
|
2025-08-24 09:17:58 +08:00
|
|
|
VerticalAlignment="Center" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<ui:ToggleSwitch
|
2025-08-24 09:17:58 +08:00
|
|
|
x:Name="ToggleSwitchEnableNibMode"
|
|
|
|
|
MinWidth="0"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2025-08-24 09:17:58 +08:00
|
|
|
Width="80" Margin="10,0,0,0"
|
|
|
|
|
Toggled="ToggleSwitchEnableNibMode_Toggled"
|
|
|
|
|
IsOn="True" />
|
2026-04-17 00:03:41 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-08-24 09:17:58 +08:00
|
|
|
Width="100">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Label Margin="0,0,10,0" Content="墨迹纠正"
|
2025-05-25 09:29:48 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2025-08-24 09:33:27 +08:00
|
|
|
FontSize="12" VerticalAlignment="Center" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<ui:ToggleSwitch
|
2025-08-24 09:17:58 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2026-04-10 20:22:09 +08:00
|
|
|
Width="80"
|
2025-08-24 09:17:58 +08:00
|
|
|
Toggled="ToggleSwitchEnableInkToShape_Toggled"
|
|
|
|
|
MinWidth="0"
|
|
|
|
|
IsOn="{Binding ElementName=ToggleSwitchEnableInkToShape, Path=IsOn}" />
|
2026-04-17 00:03:41 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2026-01-23 12:21:28 +08:00
|
|
|
Width="100" x:Name="InkFadeControlPanel2">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Label Margin="0,0,10,0" Content="墨迹渐隐"
|
2025-08-24 09:17:58 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2025-08-24 09:33:27 +08:00
|
|
|
FontSize="12" VerticalAlignment="Center" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<ui:ToggleSwitch
|
2025-08-24 09:17:58 +08:00
|
|
|
x:Name="ToggleSwitchInkFadeInPanel2"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
2026-04-10 20:22:09 +08:00
|
|
|
Width="90"
|
2025-08-24 09:17:58 +08:00
|
|
|
Toggled="ToggleSwitchInkFadeInPanel_Toggled"
|
|
|
|
|
MinWidth="0"
|
|
|
|
|
IsOn="{Binding ElementName=ToggleSwitchInkFadeInPanel, Path=IsOn}" />
|
2026-04-17 00:03:41 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Controls:UniformGrid>
|
2025-05-25 09:29:48 +08:00
|
|
|
|
2026-04-17 00:03:41 +08:00
|
|
|
<StackPanel Orientation="Horizontal" Height="30">
|
|
|
|
|
<Label Margin="0,0,10,0" Content="粗细" FontWeight="Bold"
|
2025-05-25 09:29:48 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="17" VerticalAlignment="Center" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<Slider x:Name="InkWidthSlider" Minimum="1"
|
2025-05-25 09:29:48 +08:00
|
|
|
Maximum="20"
|
2026-04-10 20:22:09 +08:00
|
|
|
Width="200"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontSize="20" IsSnapToTickEnabled="True"
|
|
|
|
|
Value="5"
|
|
|
|
|
TickFrequency="0.1" TickPlacement="None"
|
|
|
|
|
ValueChanged="InkWidthSlider_ValueChanged" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<TextBlock Width="36" TextAlignment="Right"
|
2025-05-25 09:29:48 +08:00
|
|
|
Text="{Binding Value, ElementName=InkWidthSlider, Mode=OneWay}"
|
2026-02-14 15:33:21 +08:00
|
|
|
FontFamily="Consolas" VerticalAlignment="Center"
|
|
|
|
|
Margin="10,0,0,0" FontSize="15" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<Button x:Name="BoardBrushModeButton" Width="24" Height="24" Margin="8,0,0,0"
|
2026-02-14 13:47:44 +08:00
|
|
|
Style="{StaticResource NavButton}"
|
2026-02-14 13:12:39 +08:00
|
|
|
VerticalAlignment="Center"
|
2026-02-14 13:47:44 +08:00
|
|
|
Click="BoardBrushModeButton_Click"
|
2026-02-14 13:12:39 +08:00
|
|
|
ToolTip="板刷模式">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Viewbox Margin="4" Stretch="Uniform">
|
|
|
|
|
<Path x:Name="BoardBrushModeIcon" Fill="{DynamicResource FloatBarForeground}" Stretch="Fill">
|
|
|
|
|
<Path.Data>
|
|
|
|
|
<PathGeometry Figures="M6.7812 6.9375C6.81411 7.06468 6.87172 7.18413 6.95081 7.28903C7.0299 7.39392 7.12891 7.4822 7.24213 7.54882C7.47058 7.68347 7.74313 7.72187 7.99989 7.65557C8.25664 7.58928 8.47657 7.42372 8.61128 7.19531L11.9238 1.57031C12.0584 1.34186 12.0968 1.06928 12.0305 0.812526C11.9642 0.555772 11.7987 0.335869 11.5703 0.201167C11.3418 0.0665197 11.0693 0.028121 10.8125 0.0944166C10.5558 0.160712 10.3358 0.326268 10.2011 0.554683L6.88862 6.17968C6.82183 6.29276 6.77796 6.41788 6.75953 6.54791C6.7411 6.67793 6.74847 6.81031 6.7812 6.9375Z M5.21875 5.09375L10.1662 8.14759C10.7697 8.46231 10.9861 9.26072 10.3308 9.74464L9.70892 9.96117L3.6897 6.43971L3.7074 5.53239C3.99623 4.94715 4.46209 4.71653 5.21875 5.09375Z M3.05377 7.48846L9.04364 10.9631L7.99908 12.5052C7.77811 12.7482 7.86648 13.0797 8.08746 13.2123L9.03766 14.0298H3.66809C1.47755 14.0298 0.471255 11.9653 1.52466 10.1408L3.05377 7.48846Z" />
|
|
|
|
|
</Path.Data>
|
|
|
|
|
</Path>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
</Button>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Orientation="Horizontal" Height="30">
|
|
|
|
|
<Label Margin="0,0,10,0" Content="透明" FontWeight="Bold"
|
2025-05-25 09:29:48 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="17" VerticalAlignment="Center" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<Slider x:Name="InkAlphaSlider" Margin="0,0,0,0"
|
2026-02-14 13:47:44 +08:00
|
|
|
Minimum="1" Maximum="255" Width="200"
|
2026-04-10 20:22:09 +08:00
|
|
|
FontSize="20"
|
2025-05-25 09:29:48 +08:00
|
|
|
IsSnapToTickEnabled="True" Value="255"
|
|
|
|
|
TickFrequency="1"
|
|
|
|
|
TickPlacement="None"
|
|
|
|
|
ValueChanged="InkAlphaSlider_ValueChanged" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<TextBlock Width="36" TextAlignment="Right"
|
2025-05-25 09:29:48 +08:00
|
|
|
Text="{Binding Value, ElementName=InkAlphaSlider, Mode=OneWay}"
|
2026-02-14 15:33:21 +08:00
|
|
|
FontFamily="Consolas" VerticalAlignment="Center"
|
|
|
|
|
Margin="10,0,0,0" FontSize="15" />
|
2026-04-17 00:03:41 +08:00
|
|
|
</StackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox Name="HighlighterPenPropsPanel" Margin="12,8,12,0"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
|
|
|
Stretch="Fill">
|
2026-04-17 00:03:41 +08:00
|
|
|
<ikw:SimpleStackPanel>
|
|
|
|
|
<StackPanel Orientation="Horizontal" Height="30">
|
|
|
|
|
<Label Margin="0,0,10,0" Content="粗细" FontWeight="Bold"
|
2025-05-25 09:29:48 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="17" VerticalAlignment="Center" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<Slider x:Name="HighlighterWidthSlider" Minimum="15"
|
2025-05-25 09:29:48 +08:00
|
|
|
Maximum="45" Width="208"
|
2026-04-10 20:22:09 +08:00
|
|
|
FontSize="20"
|
2025-05-25 09:29:48 +08:00
|
|
|
IsSnapToTickEnabled="True" Value="20"
|
|
|
|
|
TickFrequency="1" TickPlacement="None"
|
|
|
|
|
ValueChanged="HighlighterWidthSlider_ValueChanged" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<TextBlock
|
2025-05-25 09:29:48 +08:00
|
|
|
Text="{Binding Value, ElementName=HighlighterWidthSlider, Mode=OneWay}"
|
|
|
|
|
FontFamily="Consolas" VerticalAlignment="Bottom"
|
|
|
|
|
Margin="10,0,0,4.5" FontSize="15" />
|
2026-04-17 00:03:41 +08:00
|
|
|
</StackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox x:Name="DefaultPenColorsPanel" Visibility="Collapsed"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,8,0,0" Stretch="Fill">
|
2026-04-17 00:03:41 +08:00
|
|
|
<ikw:SimpleStackPanel Width="300" Margin="0,0,0,0">
|
|
|
|
|
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
|
|
|
|
|
<Border Width="300" Height="100" BorderBrush="Black"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="0" CornerRadius="5">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Controls:UniformGrid Rows="2" Height="100">
|
|
|
|
|
<ikw:SimpleStackPanel Height="45"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal" Width="270">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Controls:UniformGrid Columns="5" Width="270"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Border BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1"
|
|
|
|
|
CornerRadius="100" Width="45"
|
|
|
|
|
MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="ColorThemeSwitch_MouseUp">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Grid Margin="3">
|
|
|
|
|
<Image
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="ColorThemeSwitchIcon"
|
|
|
|
|
Source="/Resources/Icons-Fluent/ic_fluent_weather_sunny_24_regular.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
Width="23"
|
|
|
|
|
Height="23" Margin="0,0,0,0" />
|
2026-04-17 00:03:41 +08:00
|
|
|
<TextBlock Margin="0,0,0,2"
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="ColorThemeSwitchTextBlock"
|
2025-09-21 00:25:09 +08:00
|
|
|
Text="亮系" Foreground="{DynamicResource FloatBarForeground}"
|
2025-05-25 09:29:48 +08:00
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
FontSize="11" />
|
2026-04-17 00:03:41 +08:00
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<controls:PenColorButton x:Name="BorderPenColorBlack" Color="Black" BorderBrushColor="#D3D3D3" CheckIconSource="/Resources/new-icons/checked-white.png" ButtonMouseUp="BtnColorBlack_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BorderPenColorWhite" Color="White" BorderBrushColor="#71717a" CheckIconSource="/Resources/new-icons/checked-black.png" ButtonMouseUp="BtnColorWhite_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BorderPenColorRed" Color="#dc2626" BorderBrushColor="#7f1d1d" ButtonMouseUp="BtnColorRed_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BorderPenColorYellow" Color="#eab308" BorderBrushColor="#713f12" ButtonMouseUp="BtnColorYellow_Click" />
|
|
|
|
|
</Controls:UniformGrid>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Height="45"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal" Width="270">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Controls:UniformGrid Columns="5" Width="270"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0">
|
2026-04-17 00:03:41 +08:00
|
|
|
<controls:PenColorButton x:Name="BorderPenColorGreen" Color="#16a34a" BorderBrushColor="#14532d" ButtonMouseUp="BtnColorGreen_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BorderPenColorBlue" Color="#2563eb" BorderBrushColor="#1e3a8a" ButtonMouseUp="BtnColorBlue_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BorderPenColorPink" Color="#db2777" BorderBrushColor="#831843" ButtonMouseUp="BtnColorPink_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BorderPenColorTeal" Color="#0d9488" BorderBrushColor="#134e4a" ButtonMouseUp="BtnColorTeal_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="BorderPenColorOrange" Color="#ea580c" BorderBrushColor="#7c2d12" ButtonMouseUp="BtnColorOrange_Click" />
|
|
|
|
|
</Controls:UniformGrid>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Controls:UniformGrid>
|
|
|
|
|
</Border>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox x:Name="HighlighterPenColorsPanel" Visibility="Visible"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,8,0,0" Stretch="Fill">
|
2026-04-17 00:03:41 +08:00
|
|
|
<ikw:SimpleStackPanel Width="300" Margin="0,0,0,0">
|
|
|
|
|
<Border Width="300" Height="110" BorderBrush="Black"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="0" CornerRadius="5">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Controls:UniformGrid Rows="2" Height="110">
|
|
|
|
|
<ikw:SimpleStackPanel Height="45"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal" Width="270">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Controls:UniformGrid Columns="5" Width="270"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0">
|
2026-04-17 00:03:41 +08:00
|
|
|
<controls:PenColorButton x:Name="HighlighterPenColorBlack" Color="Black" BorderBrushColor="#e4e4e7" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorBlack_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="HighlighterPenColorWhite" Color="White" BorderBrushColor="#dddddd" IsHighlighter="True" CheckIconSource="/Resources/new-icons/checked-black.png" ButtonMouseUp="BtnHighlighterColorWhite_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="HighlighterPenColorRed" Color="#ef4444" BorderBrushColor="#fecaca" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorRed_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="HighlighterPenColorYellow" Color="#eab308" BorderBrushColor="#fef08a" IsHighlighter="True" CheckIconSource="/Resources/new-icons/checked-black.png" ButtonMouseUp="BtnHighlighterColorYellow_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="HighlighterPenColorGreen" Color="#22c55e" BorderBrushColor="#bbf7d0" IsHighlighter="True" CheckIconSource="/Resources/new-icons/checked-black.png" ButtonMouseUp="BtnHighlighterColorGreen_Click" />
|
|
|
|
|
</Controls:UniformGrid>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Height="45"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal" Width="270">
|
2026-04-17 00:03:41 +08:00
|
|
|
<Controls:UniformGrid Columns="5" Width="270"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0">
|
2026-04-17 00:03:41 +08:00
|
|
|
<controls:PenColorButton x:Name="HighlighterPenColorZinc" Color="#71717a" BorderBrushColor="#e4e4e7" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorZinc_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="HighlighterPenColorBlue" Color="#3b82f6" BorderBrushColor="#bfdbfe" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorBlue_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="HighlighterPenPenColorPurple" Color="#a855f7" BorderBrushColor="#e9d5ff" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorPurple_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="HighlighterPenColorTeal" Color="#14b8a6" BorderBrushColor="#99f6e4" IsHighlighter="True" CheckIconSource="/Resources/new-icons/checked-black.png" ButtonMouseUp="BtnHighlighterColorTeal_Click" />
|
|
|
|
|
<controls:PenColorButton x:Name="HighlighterPenColorOrange" Color="#f97316" BorderBrushColor="#fed7aa" IsHighlighter="True" ButtonMouseUp="BtnHighlighterColorOrange_Click" />
|
|
|
|
|
</Controls:UniformGrid>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Controls:UniformGrid>
|
|
|
|
|
</Border>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<!-- 快捷调色盘 - 双行显示模式 -->
|
|
|
|
|
<ikw:SimpleStackPanel Name="QuickColorPalettePanel"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
Orientation="Vertical"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="4,0,4,0"
|
|
|
|
|
Width="60"
|
|
|
|
|
Height="42"
|
|
|
|
|
MaxWidth="60"
|
|
|
|
|
MaxHeight="42"
|
|
|
|
|
MinWidth="60">
|
|
|
|
|
<!-- 第一行:黑、白、红、橙 -->
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="0,0,0,2">
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorBlack" Color="Black" CheckIconFill="White" ButtonSize="13" CheckIconSize="8"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorBlack_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Black}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorWhite" Color="White" CheckIconFill="Black" ButtonSize="13" CheckIconSize="8"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorWhite_Click" ToolTip="{i18n:I18n Key=Canvas_Color_White}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorRed" Color="#FF0000" CheckIconFill="White" ButtonSize="13" CheckIconSize="8"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorRed_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Red}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorOrange" Color="#FFA500" CheckIconFill="Black" ButtonSize="13" CheckIconSize="8"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorOrange_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Orange}"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-17 00:03:41 +08:00
|
|
|
|
|
|
|
|
<!-- 第二行:黄、绿、蓝、紫 -->
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="0,2,0,0">
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorYellow" Color="#FFFF00" CheckIconFill="Black" ButtonSize="13" CheckIconSize="8"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorYellow_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Yellow}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorGreen" Color="#16A34A" CheckIconFill="Black" ButtonSize="13" CheckIconSize="8"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorGreen_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Green}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorBlue" Color="#2563EB" CheckIconFill="White" ButtonSize="13" CheckIconSize="8"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorBlue_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Blue}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorPurple" Color="#9333EA" CheckIconFill="White" ButtonSize="13" CheckIconSize="8"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorPurple_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Purple}"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<!-- 快捷调色盘 - 单行显示模式 -->
|
|
|
|
|
<ikw:SimpleStackPanel Name="QuickColorPaletteSingleRowPanel"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Margin="4,0,4,0"
|
|
|
|
|
Height="24"
|
|
|
|
|
MaxHeight="24"
|
|
|
|
|
MinWidth="120">
|
|
|
|
|
<!-- 单行显示:黑、白、红、橙、黄、绿 -->
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorBlackSingle" Color="Black" CheckIconFill="White" ButtonSize="18" CheckIconSize="10"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorBlack_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Black}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorWhiteSingle" Color="White" CheckIconFill="Black" ButtonSize="18" CheckIconSize="10"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorWhite_Click" ToolTip="{i18n:I18n Key=Canvas_Color_White}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorRedSingle" Color="#FF0000" CheckIconFill="White" ButtonSize="18" CheckIconSize="10"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorRed_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Red}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorOrangeSingle" Color="#FFA500" CheckIconFill="Black" ButtonSize="18" CheckIconSize="10"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorOrange_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Orange}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorYellowSingle" Color="#FFFF00" CheckIconFill="Black" ButtonSize="18" CheckIconSize="10"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorYellow_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Yellow}"/>
|
|
|
|
|
<controls:ColorPickerButton x:Name="QuickColorGreenSingle" Color="#16A34A" CheckIconFill="Black" ButtonSize="18" CheckIconSize="10"
|
|
|
|
|
ButtonMouseDown="FloatingBarToolBtnMouseDownFeedback_Panel" ButtonMouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel" ButtonMouseUp="QuickColorGreen_Click" ToolTip="{i18n:I18n Key=Canvas_Color_Green}"/>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
|
|
|
|
|
<controls:ToolbarImageButton x:Name="SymbolIconDelete" ButtonMouseUp="SymbolIconDelete_MouseUp" IconBrush="{DynamicResource RedBrush}" Label="{i18n:I18n Key=FloatingBar_Clear}" />
|
|
|
|
|
<ikw:SimpleStackPanel Name="StackPanelCanvasControls" Visibility="Visible"
|
|
|
|
|
Orientation="{Binding ElementName=StackPanelFloatingBar, Path=Orientation}">
|
|
|
|
|
|
2025-05-25 09:29:48 +08:00
|
|
|
|
2026-04-11 22:46:38 +08:00
|
|
|
<controls:ToolbarImageButton x:Name="Eraser_Icon" ButtonMouseUp="EraserIcon_Click" Label="{i18n:I18n Key=FloatingBar_AreaEraser}" />
|
|
|
|
|
<controls:ToolbarImageButton x:Name="EraserByStrokes_Icon" ButtonMouseUp="EraserIconByStrokes_Click" Label="{i18n:I18n Key=FloatingBar_StrokeEraser}" />
|
|
|
|
|
<controls:ToolbarImageButton x:Name="SymbolIconSelect" ButtonMouseUp="SymbolIconSelect_MouseUp" Label="{i18n:I18n Key=FloatingBar_LassoSelect}" />
|
|
|
|
|
<controls:ToolbarImageButton x:Name="ShapeDrawFloatingBarBtn" ButtonMouseUp="ImageDrawShape_MouseUp" Label="{i18n:I18n Key=FloatingBar_Geometry}" />
|
2025-05-25 09:29:48 +08:00
|
|
|
|
|
|
|
|
<Grid Width="0">
|
2025-09-21 00:25:09 +08:00
|
|
|
<Border x:Name="BorderDrawShape" Background="{DynamicResource FloatBarBackground}" Opacity="1"
|
2025-05-25 09:29:48 +08:00
|
|
|
Visibility="Visible" BorderBrush="#2563eb"
|
|
|
|
|
BorderThickness="1"
|
2025-08-23 23:13:39 +08:00
|
|
|
CornerRadius="5" Margin="-170,-140,-147,37">
|
2026-04-10 21:02:17 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical">
|
2025-05-25 09:29:48 +08:00
|
|
|
<!--<TextBlock FontSize="16" Foreground="{DynamicResource FloatBarForeground}" HorizontalAlignment="Left" Margin="10,8">
|
|
|
|
|
<Run Text="图形"/>
|
|
|
|
|
<Run Text="(第一行支持长按保持选中)" FontSize="10"/>
|
|
|
|
|
</TextBlock>
|
2025-09-22 13:09:43 +08:00
|
|
|
<ui:SymbolIcon Margin="0,-20,8,15" Symbol="Pin" MouseDown="Border_MouseDown" MouseUp="SymbolIconPinBorderDrawShape_MouseUp" Foreground="{DynamicResource FloatBarForeground}" HorizontalAlignment="Right"/>-->
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
|
|
|
|
CornerRadius="8,8,0,0" Background="#2563eb" Margin="-1,-1,-1,0"
|
|
|
|
|
Padding="1,1,1,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Stretch">
|
|
|
|
|
<Canvas Height="24" Width="315" ClipToBounds="True">
|
2026-03-04 10:50:59 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=FloatingBar_GesturePanelTitle}" Canvas.Left="8" Foreground="White"
|
2025-05-25 09:29:48 +08:00
|
|
|
Padding="0,5" FontSize="11" FontWeight="Bold"
|
|
|
|
|
TextAlignment="Center" />
|
2025-07-31 14:12:49 +08:00
|
|
|
<Image Margin="295,3.5,0,0"
|
|
|
|
|
Source="/Resources/new-icons/close-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="CloseBordertools_MouseUp" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Canvas>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
2025-08-24 09:17:58 +08:00
|
|
|
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Height="38" Spacing="2"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="4,6,4,0">
|
2026-04-14 12:47:54 +08:00
|
|
|
<controls:GeometryButton x:Name="BoardImageDrawLine" IconSource="{DynamicResource GeoIconLine}" Label="{i18n:I18n Key=Geometry_DrawLine}" ButtonMouseDown="Image_MouseDown" ButtonMouseUp="BtnDrawLine_Click" />
|
|
|
|
|
<controls:GeometryButton x:Name="BoardImageDrawDashedLine" IconSource="{DynamicResource GeoIconDashedLine}" Label="{i18n:I18n Key=Geometry_DrawDashedLine}" ButtonMouseDown="Image_MouseDown" ButtonMouseUp="BtnDrawDashedLine_Click" />
|
|
|
|
|
<controls:GeometryButton x:Name="BoardImageDrawDotLine" IconSource="{DynamicResource GeoIconDotLine}" Label="{i18n:I18n Key=Geometry_DrawDottedLine}" ButtonMouseDown="Image_MouseDown" ButtonMouseUp="BtnDrawDotLine_Click" />
|
|
|
|
|
<controls:GeometryButton x:Name="BoardImageDrawArrow" IconSource="{DynamicResource GeoIconArrow}" Label="{i18n:I18n Key=Geometry_DrawArrow}" ButtonMouseDown="Image_MouseDown" ButtonMouseUp="BtnDrawArrow_Click" />
|
|
|
|
|
<controls:GeometryButton x:Name="BoardImageDrawParallelLine" IconSource="{DynamicResource GeoIconParallelLine}" Label="{i18n:I18n Key=Geometry_DrawParallelLines}" ButtonMouseDown="Image_MouseDown" ButtonMouseUp="BtnDrawParallelLine_Click" />
|
|
|
|
|
<controls:GeometryButton IconSource="{DynamicResource GeoIconRectangleCenter}" Label="{i18n:I18n Key=Geometry_DrawCenteredSquare}" ButtonMouseUp="BtnDrawRectangleCenter_Click" />
|
|
|
|
|
<controls:GeometryButton IconSource="{DynamicResource GeoIconCircle}" Label="{i18n:I18n Key=Geometry_DrawCenteredCircle}" ButtonMouseUp="BtnDrawCircle_Click" />
|
|
|
|
|
<controls:GeometryButton IconSource="{DynamicResource GeoIconDashedCircle}" Label="{i18n:I18n Key=Geometry_DrawCenteredDashedCircle}" ButtonMouseUp="BtnDrawDashedCircle_Click" />
|
|
|
|
|
<controls:GeometryButton IconSource="{DynamicResource GeoIconEllipseCenter}" Label="{i18n:I18n Key=Geometry_DrawCenteredEllipse}" ButtonMouseUp="BtnDrawCenterEllipse_Click" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Height="38" Spacing="2"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="4,0,4,6">
|
2026-04-14 12:47:54 +08:00
|
|
|
<controls:GeometryButton IconSource="{DynamicResource GeoIconCuboid}" Label="{i18n:I18n Key=Geometry_DrawCuboid}" ButtonMouseUp="BtnDrawCuboid_Click" />
|
|
|
|
|
<controls:GeometryButton IconSource="{DynamicResource GeoIconRectangle}" Label="{i18n:I18n Key=Geometry_DrawSquare}" ButtonMouseUp="BtnDrawRectangle_Click" />
|
|
|
|
|
<controls:GeometryButton IconSource="{DynamicResource GeoIconCylinder}" Label="{i18n:I18n Key=Geometry_DrawCylinder}" ButtonMouseUp="BtnDrawCylinder_Click" />
|
|
|
|
|
<controls:GeometryButton IconSource="{DynamicResource GeoIconCone}" Label="{i18n:I18n Key=Geometry_DrawCone}" ButtonMouseUp="BtnDrawCone_Click" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
2026-04-11 22:46:38 +08:00
|
|
|
<controls:ToolbarImageButton x:Name="SymbolIconUndo" ButtonMouseUp="SymbolIconUndo_MouseUp" Label="{i18n:I18n Key=Board_Undo}" IsEnabled="{Binding ElementName=BtnUndo, Path=IsEnabled}" />
|
|
|
|
|
<controls:ToolbarImageButton x:Name="SymbolIconRedo" ButtonMouseUp="SymbolIconRedo_MouseUp" Label="{i18n:I18n Key=Board_Redo}" IsEnabled="{Binding ElementName=BtnRedo, Path=IsEnabled}" />
|
|
|
|
|
<controls:ToolbarImageButton x:Name="CursorWithDelFloatingBarBtn" ButtonMouseUp="CursorWithDelIcon_Click" Label="{i18n:I18n Key=FloatingBar_ClearAndMouse}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<Grid Width="0">
|
2025-07-16 09:16:36 +08:00
|
|
|
<Grid x:Name="BackgroundPaletteGrid" Margin="-203,-128,83,37">
|
|
|
|
|
<!-- 背景面板将在代码中动态添加 -->
|
|
|
|
|
</Grid>
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Visibility="Visible" ClipToBounds="True" Name="EraserSizePanel"
|
2025-09-21 00:25:09 +08:00
|
|
|
Margin="-203,-148,83,40" CornerRadius="5" Background="{DynamicResource FloatBarBackground}" Opacity="1"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderBrush="#2563eb" BorderThickness="1">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
|
|
|
|
CornerRadius="6,6,0,0"
|
|
|
|
|
Background="#2563eb" Margin="-1,-1,-1,1">
|
|
|
|
|
<Canvas Height="24" ClipToBounds="True">
|
2026-03-04 10:50:59 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=FloatingBar_GesturePanelTitle}" Canvas.Left="8" Foreground="White"
|
2025-05-25 09:29:48 +08:00
|
|
|
Padding="0,5"
|
|
|
|
|
FontSize="11" FontWeight="Bold" TextAlignment="Center" />
|
2025-07-31 14:12:49 +08:00
|
|
|
<Image Margin="100,4,0,0"
|
|
|
|
|
Source="/Resources/new-icons/close-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="CloseBordertools_MouseUp" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="0,8,0,0" Spacing="-2"
|
2025-05-25 09:29:48 +08:00
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center">
|
2026-03-03 15:18:31 +08:00
|
|
|
<Label Margin="0,0,0,0" Content="{i18n:I18n Key=Board_Size}" FontWeight="Bold"
|
2025-05-25 09:29:48 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}" FontSize="10"
|
|
|
|
|
VerticalAlignment="Center" />
|
|
|
|
|
<Viewbox Margin="8,0,0,0" Height="20" Width="52">
|
|
|
|
|
<ComboBox Name="ComboBoxEraserSizeFloatingBar"
|
2026-04-10 20:22:09 +08:00
|
|
|
SelectedIndex="2"
|
2025-05-25 09:29:48 +08:00
|
|
|
SelectionChanged="ComboBoxEraserSizeFloatingBar_SelectionChanged">
|
2026-04-10 20:22:09 +08:00
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_VerySmall}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Small}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Medium}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Large}" />
|
|
|
|
|
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_VeryLarge}" />
|
2025-05-25 09:29:48 +08:00
|
|
|
</ComboBox>
|
|
|
|
|
</Viewbox>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-03-03 15:18:31 +08:00
|
|
|
<TextBlock HorizontalAlignment="Center" Margin="0,12,0,6" Text="{i18n:I18n Key=Board_EraserShape}"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontWeight="Bold"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
FontSize="10" VerticalAlignment="Center" />
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Center"
|
2025-05-25 09:29:48 +08:00
|
|
|
Margin="0,0,0,0" Spacing="4">
|
|
|
|
|
<Border x:Name="CircleEraserTabButton" MouseDown="SwitchToCircleEraser"
|
2025-10-04 17:47:52 +08:00
|
|
|
Background="{DynamicResource FloatBarButtonBackgroundPointerOverKey}" Height="20" Width="40" CornerRadius="3">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Canvas>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel x:Name="CircleEraserTabButtonIndicator"
|
2025-05-25 09:29:48 +08:00
|
|
|
Visibility="Visible"
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Canvas.Left="11" Canvas.Right="11"
|
|
|
|
|
Canvas.Bottom="0">
|
2025-10-04 17:47:52 +08:00
|
|
|
<Border Width="18" Height="2" Background="{DynamicResource FloatBarButtonButtonBackgroundPressedKey}"
|
2025-05-25 09:29:48 +08:00
|
|
|
CornerRadius="1" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" Height="20"
|
2025-05-25 09:29:48 +08:00
|
|
|
Width="40">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Center" Margin="0,3">
|
|
|
|
|
<TextBlock x:Name="CircleEraserTabButtonText"
|
2025-10-04 17:47:52 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}" FontWeight="Medium"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontSize="9" TextAlignment="Center"
|
2026-03-03 17:22:48 +08:00
|
|
|
Text="{i18n:I18n Key=Board_EraserShape_Circle}"
|
|
|
|
|
Style="{StaticResource AutoFitFloatBarLabel9}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border x:Name="RectangleEraserTabButton"
|
|
|
|
|
MouseDown="SwitchToRectangleEraser" Background="Transparent"
|
|
|
|
|
Height="20" Width="40" CornerRadius="3">
|
|
|
|
|
<Canvas>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Visibility="Collapsed"
|
2025-05-25 09:29:48 +08:00
|
|
|
x:Name="RectangleEraserTabButtonIndicator"
|
|
|
|
|
Orientation="Horizontal" Canvas.Left="11"
|
|
|
|
|
Canvas.Right="11" Canvas.Bottom="0">
|
2025-10-04 17:47:52 +08:00
|
|
|
<Border Width="18" Height="2" Background="{DynamicResource FloatBarButtonButtonBackgroundPressedKey}"
|
2025-05-25 09:29:48 +08:00
|
|
|
CornerRadius="1" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" Height="20"
|
2025-05-25 09:29:48 +08:00
|
|
|
Width="40">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Center"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal"
|
|
|
|
|
HorizontalAlignment="Center" Margin="0,3">
|
|
|
|
|
<TextBlock x:Name="RectangleEraserTabButtonText"
|
2025-10-04 17:47:52 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}" FontWeight="Medium"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontSize="9" TextAlignment="Center"
|
2026-03-03 17:22:48 +08:00
|
|
|
Text="{i18n:I18n Key=Board_EraserShape_Blackboard}"
|
|
|
|
|
Style="{StaticResource AutoFitFloatBarLabel9}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-13 12:11:44 +08:00
|
|
|
<Button Click="EraserPanelSymbolIconDelete_MouseUp" Foreground="White"
|
|
|
|
|
HorizontalAlignment="Center" Margin="0,6,0,8">
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<SolidColorBrush
|
|
|
|
|
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundKey}"
|
|
|
|
|
Color="#b91c1c" />
|
|
|
|
|
<SolidColorBrush
|
|
|
|
|
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPointerOverKey}"
|
|
|
|
|
Color="#b91c1c" />
|
|
|
|
|
<SolidColorBrush
|
|
|
|
|
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPressedKey}"
|
|
|
|
|
Color="#991b1b" />
|
|
|
|
|
</Button.Resources>
|
|
|
|
|
<Button.Content>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="3">
|
2025-08-13 12:11:44 +08:00
|
|
|
<Image RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="12">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup
|
|
|
|
|
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="White"
|
2026-04-13 00:51:17 +08:00
|
|
|
Geometry="{Binding Source={x:Static icons:XamlGraphicsIconGeometries.ClearInkIconGeometry}, Converter={StaticResource StringToGeometryConverter}}"/>
|
2025-08-13 12:11:44 +08:00
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<TextBlock FontSize="10" VerticalAlignment="Center"
|
2026-03-03 15:18:31 +08:00
|
|
|
Foreground="White" FontWeight="Bold"
|
|
|
|
|
Text="{i18n:I18n Key=Board_ClearInk}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-08-13 12:11:44 +08:00
|
|
|
</Button.Content>
|
|
|
|
|
</Button>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="{Binding ElementName=StackPanelFloatingBar, Path=Orientation}">
|
|
|
|
|
<Border Margin="2,0,2,0" BorderBrush="#71717a" BorderThickness="1,0,0,0" />
|
2026-04-11 22:46:38 +08:00
|
|
|
<controls:ToolbarImageButton x:Name="WhiteboardFloatingBarBtn" ButtonMouseUp="ImageBlackboard_MouseUp" Label="{i18n:I18n Key=FloatingBar_Whiteboard}" />
|
|
|
|
|
<controls:ToolbarImageButton x:Name="ToolsFloatingBarBtn" ButtonMouseUp="SymbolIconTools_MouseUp" Label="{i18n:I18n Key=Board_Tools}" />
|
|
|
|
|
<controls:ToolbarImageButton x:Name="Fold_Icon" ButtonMouseUp="FoldFloatingBar_MouseUp" Label="{i18n:I18n Key=FloatingBar_Hide}" />
|
2025-05-25 09:29:48 +08:00
|
|
|
<Grid Width="0">
|
2025-07-31 14:52:44 +08:00
|
|
|
<Border ClipToBounds="True" Name="BorderTools" Margin="-103,-156,-16,37"
|
2025-09-21 00:25:09 +08:00
|
|
|
CornerRadius="5" Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderThickness="1"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderBrush="#2563eb">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="-1,0,0,0">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
|
|
|
|
CornerRadius="6,6,0,0" Background="#2563eb" Margin="-1,-1,-1,0"
|
|
|
|
|
Padding="1,1,1,0">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Stretch">
|
2026-03-03 14:08:01 +08:00
|
|
|
<TextBlock Text="{i18n:I18n Key=Tools_MoreFeaturesTitle}" Foreground="White" Padding="8,5,44,5"
|
2025-05-25 09:29:48 +08:00
|
|
|
FontSize="11" FontWeight="Bold"
|
|
|
|
|
TextAlignment="Center" />
|
|
|
|
|
<Image Margin="0,0,0,0"
|
|
|
|
|
Source="/Resources/new-icons/close-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="CloseBordertools_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
<!---->
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="10,3,10,2" Spacing="-2">
|
|
|
|
|
<ikw:SimpleStackPanel.Resources>
|
2026-03-04 10:25:25 +08:00
|
|
|
<Style TargetType="Label" BasedOn="{StaticResource AutoFitToolPopupLabel8}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel.Resources>
|
2026-04-10 21:02:17 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
2026-04-13 23:53:59 +08:00
|
|
|
<controls:ToolMenuButton x:Name="TimerToolBtn" ButtonMouseUp="ImageCountdownTimer_MouseUp" Label="{i18n:I18n Key=Tools_Timer}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="RandomDrawToolBtn" ButtonMouseUp="SymbolIconRand_MouseUp" Label="{i18n:I18n Key=Tools_RandomDraw}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="SingleDrawToolBtn" ButtonMouseUp="SymbolIconRandOne_MouseUp" Label="{i18n:I18n Key=Tools_SingleDraw}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-10 21:02:17 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
2026-04-13 23:53:59 +08:00
|
|
|
<controls:ToolMenuButton x:Name="SaveToolBtn" ButtonMouseUp="SymbolIconSaveStrokes_MouseUp" Label="{i18n:I18n Key=Tools_Save}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="OpenToolBtn" ButtonMouseUp="SymbolIconOpenStrokes_MouseUp" Label="{i18n:I18n Key=Tools_Open}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="ReplayToolBtn" ButtonMouseUp="GridInkReplayButton_MouseUp" Label="{i18n:I18n Key=Tools_Replay}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-10 21:02:17 +08:00
|
|
|
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40"
|
2025-05-25 09:29:48 +08:00
|
|
|
Orientation="Horizontal">
|
2026-04-13 23:53:59 +08:00
|
|
|
<controls:ToolMenuButton x:Name="ScreenshotToolBtn" ButtonMouseUp="SymbolIconScreenshot_MouseUp" Label="{i18n:I18n Key=Tools_Screenshot}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="ManualToolBtn" ButtonMouseUp="OperatingGuideWindowIcon_MouseUp" Label="{i18n:I18n Key=Tools_Manual}" />
|
|
|
|
|
<controls:ToolMenuButton x:Name="SettingsToolBtn" ButtonMouseUp="SymbolIconSettings_Click" Label="{i18n:I18n Key=Tools_Settings}" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
2026-04-11 22:46:38 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="{Binding ElementName=StackPanelFloatingBar, Path=Orientation}">
|
2026-04-17 00:30:45 +08:00
|
|
|
<Border Margin=" 4,0,0,0" x:Name="EnableTwoFingerGestureBorder" Visibility="Visible" Width="36"
|
2025-09-21 00:25:09 +08:00
|
|
|
Height="36" CornerRadius="5" Background="{DynamicResource FloatBarBackground}" BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1">
|
2026-04-17 00:30:45 +08:00
|
|
|
<ikw:SimpleStackPanel
|
|
|
|
|
MouseUp="TwoFingerGestureBorder_MouseUp" Background="Transparent"
|
|
|
|
|
Orientation="Vertical" HorizontalAlignment="Center" Width="36" Margin="0">
|
|
|
|
|
<Image x:Name="EnableTwoFingerGestureBtn" Source="{DynamicResource GestureIcon}"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="18"
|
|
|
|
|
Margin="0,3,0,0" />
|
|
|
|
|
<TextBlock x:Name="gestureiconText" Text="{i18n:I18n Key=FloatingBar_GestureButton}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8"
|
|
|
|
|
Margin="0,0,0,0"
|
|
|
|
|
TextAlignment="Center" />
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</Border>
|
|
|
|
|
<Canvas Width="0">
|
|
|
|
|
<Border ClipToBounds="True" Name="TwoFingerGestureBorder" Visibility="Collapsed"
|
|
|
|
|
Canvas.Left="-86" Canvas.Top="-111"
|
|
|
|
|
CornerRadius="5"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderBrush="#2563eb"
|
|
|
|
|
BorderThickness="1">
|
|
|
|
|
<ikw:SimpleStackPanel Margin="0">
|
|
|
|
|
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1" CornerRadius="6,6,0,0"
|
|
|
|
|
Background="#2563eb" Margin="-1,-1,-1,1">
|
|
|
|
|
<Canvas Height="24" ClipToBounds="True">
|
|
|
|
|
<TextBlock Text="{i18n:I18n Key=FloatingBar_GesturePanelTitle}" Canvas.Left="8" Foreground="White" Padding="0,5"
|
|
|
|
|
FontSize="11" FontWeight="Bold" TextAlignment="Center" />
|
|
|
|
|
<Image Margin="98,5,0,0"
|
|
|
|
|
Source="/Resources/new-icons/close-white.png"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
|
Height="16"
|
|
|
|
|
Width="16" MouseDown="Border_MouseDown"
|
|
|
|
|
MouseUp="CloseBordertools_MouseUp" />
|
|
|
|
|
</Canvas>
|
|
|
|
|
</Border>
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="2" VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center" Margin="0,3,0,0">
|
|
|
|
|
<Image Source="{DynamicResource MultiTouchIcon}"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
|
|
|
|
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_MultiTouchWriting}" FontSize="8"
|
|
|
|
|
VerticalAlignment="Center" Width="56"
|
|
|
|
|
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
|
|
|
|
<Viewbox Width="36" Height="20" Margin="2,0,0,0">
|
|
|
|
|
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
|
|
|
|
Name="ToggleSwitchEnableMultiTouchMode"
|
|
|
|
|
IsOn="False" OnContent=""
|
|
|
|
|
OffContent=""
|
|
|
|
|
Toggled="ToggleSwitchEnableMultiTouchMode_Toggled"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform X="8" />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
</ui:ToggleSwitch>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel Opacity="1" x:Name="TwoFingerGestureSimpleStackPanel"
|
|
|
|
|
Orientation="Horizontal" Spacing="2" VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center">
|
|
|
|
|
<Image Source="{DynamicResource HandMoveIcon}"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
|
|
|
|
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerMove}" FontSize="8"
|
|
|
|
|
VerticalAlignment="Center" Width="56"
|
|
|
|
|
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
|
|
|
|
<Viewbox Width="36" Height="20" Margin="2,0,0,0">
|
|
|
|
|
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
|
|
|
|
Name="ToggleSwitchEnableTwoFingerTranslate"
|
|
|
|
|
IsOn="False" OnContent=""
|
|
|
|
|
OffContent=""
|
|
|
|
|
Toggled="ToggleSwitchEnableTwoFingerTranslate_Toggled"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform X="8" />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
</ui:ToggleSwitch>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel
|
|
|
|
|
Opacity="{Binding ElementName=TwoFingerGestureSimpleStackPanel, Path=Opacity}"
|
|
|
|
|
Orientation="Horizontal" Spacing="2" VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center">
|
|
|
|
|
<Image Source="{DynamicResource ZoomIcon}"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
|
|
|
|
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerZoom}" FontSize="8"
|
|
|
|
|
VerticalAlignment="Center" Width="56"
|
|
|
|
|
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
|
|
|
|
<Viewbox Width="36" Height="20" Margin="2,0,0,0">
|
|
|
|
|
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2026-04-17 00:30:45 +08:00
|
|
|
IsOn="False" OnContent="" OffContent=""
|
|
|
|
|
Name="ToggleSwitchEnableTwoFingerZoom"
|
|
|
|
|
Toggled="ToggleSwitchEnableTwoFingerZoom_Toggled"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform X="8" />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
</ui:ToggleSwitch>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
<ikw:SimpleStackPanel
|
|
|
|
|
Opacity="{Binding ElementName=TwoFingerGestureSimpleStackPanel, Path=Opacity}"
|
|
|
|
|
Orientation="Horizontal" Spacing="2" VerticalAlignment="Center"
|
|
|
|
|
HorizontalAlignment="Center">
|
|
|
|
|
<Image Source="{DynamicResource RotateIcon}"
|
|
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
|
|
|
|
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerRotate}" FontSize="8"
|
|
|
|
|
VerticalAlignment="Center" Width="56"
|
|
|
|
|
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
|
|
|
|
<Viewbox Width="36" Height="20" Margin="2,0,0,0">
|
|
|
|
|
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
2026-04-10 20:22:09 +08:00
|
|
|
|
2026-04-17 00:30:45 +08:00
|
|
|
IsOn="False" OnContent="" OffContent=""
|
|
|
|
|
Name="ToggleSwitchEnableTwoFingerRotation"
|
|
|
|
|
Toggled="ToggleSwitchEnableTwoFingerRotation_Toggled"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<ScaleTransform />
|
|
|
|
|
<SkewTransform />
|
|
|
|
|
<RotateTransform />
|
|
|
|
|
<TranslateTransform X="8" />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</ui:ToggleSwitch.RenderTransform>
|
|
|
|
|
</ui:ToggleSwitch>
|
|
|
|
|
</Viewbox>
|
2025-05-25 09:29:48 +08:00
|
|
|
|
2026-04-17 00:30:45 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2026-04-17 00:30:45 +08:00
|
|
|
</Border>
|
|
|
|
|
</Canvas>
|
2026-04-11 22:46:38 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<!--Visibility="{Binding ElementName=BtnPPTSlideShowEnd, Path=Visibility}">-->
|
|
|
|
|
<Border x:Name="BorderFloatingBarExitPPTBtn" Margin="2,0,0,0" Width="34" Height="36"
|
|
|
|
|
MouseDown="Border_MouseDown" MouseUp="ImagePPTControlEnd_MouseUp"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}" CornerRadius="4" BorderThickness="1"
|
|
|
|
|
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
|
|
|
|
Visibility="{Binding ElementName=BtnPPTSlideShowEnd, Path=Visibility}">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Background="Transparent" Orientation="Vertical"
|
2025-05-25 09:29:48 +08:00
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Width="28" Margin="0,0">
|
2025-10-02 17:39:56 +08:00
|
|
|
<Image Source="{DynamicResource QuickPanelEndSlideshowIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
|
|
|
|
|
Margin="0,3,0,0" />
|
2025-09-21 00:25:09 +08:00
|
|
|
<TextBlock Text="退出" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,1,0,0"
|
2025-05-25 09:29:48 +08:00
|
|
|
TextAlignment="Center" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Viewbox>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Grid Name="GridForFloatingBarDraging" Background="#01000000" Visibility="Collapsed"
|
|
|
|
|
MouseMove="SymbolIconEmoji_MouseMove" MouseUp="SymbolIconEmoji_MouseUp" />
|
|
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
<InkCanvas Name="InkCanvasForInkReplay" MouseDown="InkCanvasForInkReplay_MouseDown" Visibility="Collapsed"
|
|
|
|
|
EditingMode="None" Background="Transparent" />
|
|
|
|
|
<Border Name="BorderInkReplayToolBox" Width="386" Height="48" HorizontalAlignment="Center"
|
|
|
|
|
Visibility="Collapsed"
|
2025-09-21 00:25:09 +08:00
|
|
|
VerticalAlignment="Bottom" Margin="0,0,0,16" Background="{DynamicResource FloatBarBackground}" CornerRadius="5"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderBrush="#a1a1aa" BorderThickness="1">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border CornerRadius="5,0,0,5" Margin="-1" Padding="12" Background="#b91c1c">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Image Width="24" Height="24">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="White"
|
|
|
|
|
Geometry="F0 M24,24z M0,0z M10.4679,3.29578C12.1914,3.08179 13.9385,3.41707 15.4604,4.25385 16.9822,5.09064 18.2013,6.38627 18.9439,7.95624 19.6865,9.5262 19.9148,11.2905 19.5963,12.9977 19.4919,13.5577 19.8611,14.0964 20.4211,14.2009 20.9811,14.3053 21.5198,13.936 21.6243,13.376 22.0224,11.2419 21.737,9.03662 20.8087,7.07416 19.8804,5.1117 18.3566,3.49216 16.4543,2.44618 14.552,1.4002 12.3681,0.981105 10.2138,1.24858 8.05937,1.51606 6.0443,2.45648 4.45553,3.9359 2.86675,5.41533 1.78526,7.35833 1.36509,9.4882 0.944914,11.6181 1.20747,13.8262 2.11537,15.7982 3.02327,17.7701 4.53022,19.4054 6.42161,20.471 8.31301,21.5366 10.4924,21.9783 12.6494,21.7331 13.2155,21.6688 13.6221,21.1578 13.5578,20.5918 13.4935,20.0258 12.9825,19.6191 12.4165,19.6834 10.6908,19.8795 8.94733,19.5262 7.43421,18.6737 5.9211,17.8212 4.71554,16.513 3.98922,14.9355 3.2629,13.3579 3.05285,11.5914 3.38899,9.88747 3.72513,8.18357 4.59032,6.62917 5.86134,5.44563 7.13237,4.26209 8.74442,3.50976 10.4679,3.29578z M11.484,5.29524C12.0536,5.29524,12.5154,5.75704,12.5154,6.32669L12.5154,11.0567 14.2762,12.8175C14.679,13.2203 14.679,13.8734 14.2762,14.2762 13.8734,14.679 13.2203,14.679 12.8175,14.2762L10.7546,12.2133C10.5612,12.0199,10.4525,11.7575,10.4525,11.484L10.4525,6.32669C10.4525,5.75704,10.9143,5.29524,11.484,5.29524z M17.1719,14.7253C16.8533,14.5341 16.4564,14.5291 16.133,14.7122 15.8097,14.8953 15.6098,15.2382 15.6098,15.6098L15.6098,21.7985C15.6098,22.1701 15.8097,22.513 16.133,22.6961 16.4564,22.8792 16.8533,22.8742 17.1719,22.683L22.3292,19.5886C22.6399,19.4022 22.83,19.0665 22.83,18.7042 22.83,18.3418 22.6399,18.0061 22.3292,17.8197L17.1719,14.7253z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
<StackPanel Width="128" Orientation="Vertical" VerticalAlignment="Center" Margin="8,0,0,0">
|
|
|
|
|
<TextBlock Name="InkReplayPanelStatusText" FontSize="17" FontWeight="Bold" Foreground="#b91c1c"
|
|
|
|
|
Text="正在重播墨迹..." VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock FontSize="12" Foreground="#b91c1c" Text="双击屏幕退出播放" VerticalAlignment="Center" />
|
|
|
|
|
</StackPanel>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="9,0,0,0" Spacing="6">
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Name="InkReplayPlayPauseBorder" MouseDown="InkReplayPlayPauseBorder_OnMouseDown"
|
|
|
|
|
MouseUp="InkReplayPlayPauseBorder_OnMouseUp" CornerRadius="16" Height="32" Width="32">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Image Name="InkReplayPlayButtonImage" Visibility="Collapsed" Width="18" Height="18"
|
|
|
|
|
Margin="2,0,0,0">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#FFF2FCF3"
|
|
|
|
|
Geometry="F1 M16,16z M0,0z M13.5,7.13397C14.1667,7.51888,14.1667,8.48112,13.5,8.86602L4.5,14.0622C3.83333,14.4471,3,13.966,3,13.1962L3,2.80385C3,2.03405,3.83333,1.55292,4.5,1.93782L13.5,7.13397z">
|
|
|
|
|
<GeometryDrawing.Pen>
|
|
|
|
|
<Pen Brush="#FF208A3C" Thickness="1" StartLineCap="Flat"
|
|
|
|
|
EndLineCap="Flat" LineJoin="Miter" />
|
|
|
|
|
</GeometryDrawing.Pen>
|
|
|
|
|
</GeometryDrawing>
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
<Image Name="InkReplayPauseButtonImage" Width="18" Height="18">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#FFEBECF0">
|
|
|
|
|
<GeometryDrawing.Pen>
|
|
|
|
|
<Pen Brush="#FF6C707E" Thickness="1" StartLineCap="Flat"
|
|
|
|
|
EndLineCap="Flat" LineJoin="Miter" />
|
|
|
|
|
</GeometryDrawing.Pen>
|
|
|
|
|
<GeometryDrawing.Geometry>
|
|
|
|
|
<RectangleGeometry RadiusX="0.5" RadiusY="0.5"
|
|
|
|
|
Rect="3.5,2.5,3,11" />
|
|
|
|
|
</GeometryDrawing.Geometry>
|
|
|
|
|
</GeometryDrawing>
|
|
|
|
|
<GeometryDrawing Brush="#FFEBECF0">
|
|
|
|
|
<GeometryDrawing.Pen>
|
|
|
|
|
<Pen Brush="#FF6C707E" Thickness="1" StartLineCap="Flat"
|
|
|
|
|
EndLineCap="Flat" LineJoin="Miter" />
|
|
|
|
|
</GeometryDrawing.Pen>
|
|
|
|
|
<GeometryDrawing.Geometry>
|
|
|
|
|
<RectangleGeometry RadiusX="0.5" RadiusY="0.5"
|
|
|
|
|
Rect="9.5,2.5,3,11" />
|
|
|
|
|
</GeometryDrawing.Geometry>
|
|
|
|
|
</GeometryDrawing>
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Name="InkReplayStopButtonBorder" MouseDown="InkReplayStopButtonBorder_OnMouseDown"
|
|
|
|
|
MouseUp="InkReplayStopButtonBorder_OnMouseUp" CornerRadius="16" Height="32" Width="32">
|
|
|
|
|
<Image Width="18" Height="18">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#FFFFF7F7">
|
|
|
|
|
<GeometryDrawing.Pen>
|
|
|
|
|
<Pen Brush="#FFDB3B4B" Thickness="1" StartLineCap="Flat"
|
|
|
|
|
EndLineCap="Flat" LineJoin="Miter" />
|
|
|
|
|
</GeometryDrawing.Pen>
|
|
|
|
|
<GeometryDrawing.Geometry>
|
|
|
|
|
<RectangleGeometry RadiusX="1.5" RadiusY="1.5"
|
|
|
|
|
Rect="2.5,2.5,11,11" />
|
|
|
|
|
</GeometryDrawing.Geometry>
|
|
|
|
|
</GeometryDrawing>
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Name="InkReplayReplayButtonBorder" MouseDown="InkReplayReplayButtonBorder_OnMouseDown"
|
|
|
|
|
MouseUp="InkReplayReplayButtonBorder_OnMouseUp" CornerRadius="16" Height="32"
|
|
|
|
|
Width="32">
|
|
|
|
|
<Image Width="22" Height="22" Margin="-1,-1,0,0">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#FF208A3C"
|
|
|
|
|
Geometry="F0 M16,16z M0,0z M9,9.50215C9,8.32441,10.2951,7.60608,11.2942,8.22967L15.2962,10.7275C16.2372,11.3149,16.2372,12.6851,15.2962,13.2725L11.2942,15.7703C10.2951,16.3939,9,15.6756,9,14.4978L9,9.50215z M10.7647,9.07799C10.4317,8.87013,10,9.10957,10,9.50215L10,14.4978C10,14.8904,10.4317,15.1298,10.7647,14.922L14.7667,12.4241C15.0804,12.2284,15.0804,11.7716,14.7667,11.5758L10.7647,9.07799z" />
|
|
|
|
|
<GeometryDrawing Brush="#FFF2FCF3"
|
|
|
|
|
Geometry="F1 M16,16z M0,0z M10,9.50217C10,9.10959,10.4317,8.87015,10.7647,9.07801L14.7667,11.5758C15.0804,11.7716,15.0804,12.2284,14.7667,12.4242L10.7647,14.922C10.4317,15.1299,10,14.8904,10,14.4978L10,9.50217z" />
|
|
|
|
|
<GeometryDrawing Brush="#FF6C707E"
|
|
|
|
|
Geometry="F1 M16,16z M0,0z M14,1.5C14,1.22386 13.7761,1 13.5,1 13.2239,1 13,1.22386 13,1.5L13,4.68235C11.9256,3.06631 10.0877,2 8,2 4.68629,2 2,4.68629 2,8 2,11.3137 4.68629,14 8,14L8,13C5.23858,13 3,10.7614 3,8 3,5.23858 5.23858,3 8,3 9.63527,3 11.0878,3.78495 12.0005,5L9.5,5C9.22386,5 9,5.22386 9,5.5 9,5.77614 9.22386,6 9.5,6L14,6 14,1.5z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Border>
|
|
|
|
|
<Border Name="InkReplaySpeedButtonBorder" MouseDown="InkReplaySpeedButtonBorder_OnMouseDown"
|
|
|
|
|
MouseUp="InkReplaySpeedButtonBorder_OnMouseUp" CornerRadius="16" Height="32" Width="32">
|
|
|
|
|
<Image Width="22" Height="22" Margin="-1,-1,-1,0">
|
|
|
|
|
<Image.Source>
|
|
|
|
|
<DrawingImage>
|
|
|
|
|
<DrawingImage.Drawing>
|
|
|
|
|
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
|
|
|
|
|
<GeometryDrawing Brush="#FF208A3C"
|
|
|
|
|
Geometry="F0 M16,16z M0,0z M9,9.50215C9,8.32441,10.2951,7.60608,11.2942,8.22967L15.2962,10.7275C16.2372,11.3149,16.2372,12.6851,15.2962,13.2725L11.2942,15.7703C10.2951,16.3939,9,15.6756,9,14.4978L9,9.50215z M10.7647,9.07799C10.4317,8.87013,10,9.10957,10,9.50215L10,14.4978C10,14.8904,10.4317,15.1298,10.7647,14.922L14.7667,12.4241C15.0804,12.2284,15.0804,11.7716,14.7667,11.5758L10.7647,9.07799z" />
|
|
|
|
|
<GeometryDrawing Brush="#FFF2FCF3"
|
|
|
|
|
Geometry="F1 M16,16z M0,0z M10,9.50217C10,9.10959,10.4317,8.87015,10.7647,9.07801L14.7667,11.5758C15.0804,11.7716,15.0804,12.2284,14.7667,12.4242L10.7647,14.922C10.4317,15.1299,10,14.8904,10,14.4978L10,9.50217z" />
|
|
|
|
|
<GeometryDrawing Brush="#FF6C707E"
|
|
|
|
|
Geometry="F1 M16,16z M0,0z M1.5,9C1.5,5.41015 4.41015,2.5 8,2.5 11.5899,2.5 14.5,5.41015 14.5,9 14.5,9.01716 14.4999,9.03444 14.4997,9.05183L15.4651,9.65439C15.4879,9.42788 15.5,9.20815 15.5,9 15.5,4.85786 12.1421,1.5 8,1.5 3.85786,1.5 0.5,4.85786 0.5,9 0.5,10.1604 0.877241,11.6805 1.36637,12.7304 1.44463,12.8984 1.61594,13 1.80126,13L8,13 8,12 2.13917,12C1.76974,11.0874,1.5,9.89088,1.5,9z" />
|
|
|
|
|
<GeometryDrawing Brush="#FF6C707E"
|
|
|
|
|
Geometry="F1 M16,16z M0,0z M8,10.6L8,9.6C7.55826,9.59989 7.2002,9.24176 7.2002,8.8 7.2002,8.35817 7.55837,8 8.0002,8 8.15213,8 8.29417,8.04235 8.41515,8.11589 8.60651,7.82993 8.85445,7.58935 9.13847,7.40554 8.97934,7.27549 8.79754,7.17214 8.5999,7.10232L8.5999,3.99999C8.5999,3.66862 8.33127,3.39999 7.9999,3.39999 7.66853,3.39999 7.3999,3.66862 7.3999,3.99999L7.3999,7.10253C6.70094,7.34971 6.2002,8.01638 6.2002,8.8 6.2002,9.79405 7.00598,10.5999 8,10.6z" />
|
|
|
|
|
</DrawingGroup>
|
|
|
|
|
</DrawingImage.Drawing>
|
|
|
|
|
</DrawingImage>
|
|
|
|
|
</Image.Source>
|
|
|
|
|
</Image>
|
|
|
|
|
</Border>
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
|
|
|
|
<TextBlock Name="InkReplaySpeedTextBlock" Margin="4,0,0,0" FontSize="13"
|
2025-09-21 00:25:09 +08:00
|
|
|
Foreground="{DynamicResource FloatBarForeground}" Text="1.0x" VerticalAlignment="Center">
|
2025-05-25 09:29:48 +08:00
|
|
|
</TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<!--// 侧边栏 //-->
|
|
|
|
|
<Viewbox x:Name="LeftSidePanel" MouseUp="LeftUnFoldButtonDisplayQuickPanel_MouseUp" Visibility="Visible"
|
|
|
|
|
Height="50" Width="32" Margin="-60,0,0,-150" HorizontalAlignment="Left" VerticalAlignment="Center">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Background="#9918181b" Opacity="1" CornerRadius="0,25,25,0" Height="50" Width="32">
|
|
|
|
|
<Image x:Name="LeftUnFoldBtnImgChevron" Margin="10,0,0,0"
|
2025-10-01 09:13:48 +08:00
|
|
|
Source="{DynamicResource QuickPanelUnfoldChevronIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="14" Width="14" />
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox Width="50" Visibility="Collapsed" Name="LeftUnFoldButtonQuickPanel" Margin="-1,0,0,-150"
|
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Center">
|
2025-09-21 00:25:09 +08:00
|
|
|
<Border ClipToBounds="True" Visibility="Visible" CornerRadius="0,6,6,0" Background="{DynamicResource FloatBarBackground}" Opacity="1"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}" Width="32">
|
2026-04-10 21:02:17 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" Margin="0,5">
|
2026-04-14 12:19:36 +08:00
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelPersonMoneyIcon}" Label="{i18n:I18n Key=QuickPanel_SingleDraw}" ButtonMouseUp="SymbolIconRandOne_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelPeopleMoneyIcon}" Label="{i18n:I18n Key=QuickPanel_RandomDraw}" ButtonMouseUp="SymbolIconRand_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelTimerIcon}" Label="{i18n:I18n Key=QuickPanel_Timer}" ButtonMouseUp="ImageCountdownTimer_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelBlackboardIcon}" Label="{i18n:I18n Key=QuickPanel_Whiteboard}" ButtonMouseUp="ImageBlackboard_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton x:Name="BtnExitPptFromSidebarLeft" IconSource="{DynamicResource QuickPanelEndSlideshowIcon}" Label="{i18n:I18n Key=QuickPanel_ExitShow}" LabelFontSize="7" Visibility="Collapsed" ButtonMouseUp="ExitPPTSlideShow_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelEyeIcon}" Label="{i18n:I18n Key=QuickPanel_Show}" ButtonMouseUp="UnFoldFloatingBar_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelChevronLeftIcon}" ButtonMouseUp="HideQuickPanel_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox x:Name="RightSidePanel" MouseUp="RightUnFoldButtonDisplayQuickPanel_MouseUp"
|
|
|
|
|
Visibility="{Binding ElementName=LeftSidePanel, Path=Visibility}" Height="50" Width="32"
|
|
|
|
|
Margin="0,0,-60,-150" HorizontalAlignment="Right" VerticalAlignment="Center">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
<Border Background="#9918181b" Opacity="1" CornerRadius="25,0,0,25" Height="50" Width="32">
|
|
|
|
|
<Image Margin="0,0,10,0" x:Name="RightUnFoldBtnImgChevron"
|
2025-10-01 09:13:48 +08:00
|
|
|
Source="{DynamicResource QuickPanelUnfoldChevronIcon}"
|
2025-05-25 09:29:48 +08:00
|
|
|
RenderOptions.BitmapScalingMode="HighQuality" Height="14" Width="14"
|
|
|
|
|
RenderTransformOrigin="0.5,0.5">
|
|
|
|
|
<Image.RenderTransform>
|
|
|
|
|
<TransformGroup>
|
|
|
|
|
<RotateTransform Angle="180" />
|
|
|
|
|
</TransformGroup>
|
|
|
|
|
</Image.RenderTransform>
|
|
|
|
|
</Image>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Viewbox>
|
|
|
|
|
<Viewbox Width="50" Visibility="Collapsed" Name="RightUnFoldButtonQuickPanel" Margin="0,0,-1,-150"
|
|
|
|
|
HorizontalAlignment="Right" VerticalAlignment="Center">
|
2025-09-21 00:25:09 +08:00
|
|
|
<Border ClipToBounds="True" Visibility="Visible" CornerRadius="6,0,0,6" Background="{DynamicResource FloatBarBackground}" Opacity="1"
|
2025-05-25 09:29:48 +08:00
|
|
|
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}" Width="32">
|
2026-04-10 21:02:17 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" Margin="0,5">
|
2026-04-14 12:19:36 +08:00
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelPersonMoneyIcon}" Label="{i18n:I18n Key=QuickPanel_SingleDraw}" ButtonMouseUp="SymbolIconRandOne_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelPeopleMoneyIcon}" Label="{i18n:I18n Key=QuickPanel_RandomDraw}" ButtonMouseUp="SymbolIconRand_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelTimerIcon}" Label="{i18n:I18n Key=QuickPanel_Timer}" ButtonMouseUp="ImageCountdownTimer_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelBlackboardIcon}" Label="{i18n:I18n Key=QuickPanel_Whiteboard}" ButtonMouseUp="ImageBlackboard_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton x:Name="BtnExitPptFromSidebarRight" IconSource="{DynamicResource QuickPanelEndSlideshowIcon}" Label="{i18n:I18n Key=QuickPanel_ExitShow}" LabelFontSize="7" Visibility="Collapsed" ButtonMouseUp="ExitPPTSlideShow_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelEyeIcon}" Label="{i18n:I18n Key=QuickPanel_Show}" ButtonMouseUp="UnFoldFloatingBar_MouseUp" />
|
|
|
|
|
<controls:QuickPanelButton IconSource="{DynamicResource QuickPanelChevronLeftIcon}" ButtonMouseUp="HideQuickPanel_MouseUp" />
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
|
|
|
|
</Viewbox>
|
2026-02-19 18:12:19 +08:00
|
|
|
|
2026-04-23 22:17:55 +08:00
|
|
|
<!-- 视频展台侧栏 -->
|
|
|
|
|
<Border
|
|
|
|
|
x:Name="VideoPresenterSidebar"
|
|
|
|
|
Width="350"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Stretch"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
|
|
|
|
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
|
|
|
|
BorderThickness="0,0,1,0"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
Panel.ZIndex="996">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="50" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="110" />
|
|
|
|
|
</Grid.RowDefinitions>
|
2026-02-19 18:12:19 +08:00
|
|
|
|
2026-04-23 22:17:55 +08:00
|
|
|
<!-- 顶部标题栏 -->
|
|
|
|
|
<Grid Grid.Row="0" Height="50">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
<ColumnDefinition Width="50" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
Margin="15,0,0,0"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
FontSize="16"
|
|
|
|
|
FontWeight="Bold"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Text="{i18n:I18n Key=Booth_Title}" />
|
|
|
|
|
<Button
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
Width="50"
|
|
|
|
|
Height="50"
|
|
|
|
|
Padding="0"
|
|
|
|
|
BorderThickness="0"
|
|
|
|
|
Background="Transparent"
|
|
|
|
|
Click="BtnCloseVideoPresenter_Click">
|
|
|
|
|
<Path
|
|
|
|
|
Stroke="{DynamicResource IconForeground}"
|
|
|
|
|
StrokeThickness="2"
|
|
|
|
|
StrokeStartLineCap="Round"
|
|
|
|
|
StrokeEndLineCap="Round"
|
|
|
|
|
Width="16"
|
|
|
|
|
Height="16"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Stretch="Uniform"
|
|
|
|
|
Data="M4.5 4.5L11.5 11.5M11.5 4.5L4.5 11.5" />
|
|
|
|
|
</Button>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<!-- 预览区域 -->
|
|
|
|
|
<Border Grid.Row="1" Margin="10,10,10,2" Padding="10" CornerRadius="6" Background="#1f2328">
|
|
|
|
|
<Image x:Name="VideoPresenterPreviewImage" Stretch="Uniform" Height="180" />
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<!-- 照片显示区域 -->
|
|
|
|
|
<Border Grid.Row="2" Margin="10,2,10,2" Padding="10" CornerRadius="6" Background="{DynamicResource FloatBarBackground}">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Margin="0,0,0,8"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
FontSize="12"
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Text="{i18n:I18n Key=Booth_CapturedPhotos}" />
|
|
|
|
|
<ScrollViewer
|
|
|
|
|
x:Name="CapturedPhotosScrollViewer"
|
|
|
|
|
MaxHeight="280"
|
|
|
|
|
VerticalScrollBarVisibility="Auto"
|
|
|
|
|
PanningMode="VerticalFirst">
|
|
|
|
|
<StackPanel x:Name="CapturedPhotosStackPanel" Margin="0,0,0,5" />
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<!-- 设备选择区域 -->
|
|
|
|
|
<Border Grid.Row="3" Margin="10,2,10,5" Padding="10" CornerRadius="6" Background="{DynamicResource FloatBarBackground}">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<TextBlock
|
|
|
|
|
Margin="0,0,0,8"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
FontSize="12"
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
Foreground="{DynamicResource FloatBarForeground}"
|
|
|
|
|
Text="{i18n:I18n Key=Booth_CameraDevices}" />
|
|
|
|
|
<ScrollViewer
|
|
|
|
|
x:Name="CameraDevicesScrollViewer"
|
|
|
|
|
MaxHeight="120"
|
|
|
|
|
VerticalScrollBarVisibility="Auto"
|
|
|
|
|
PanningMode="VerticalFirst">
|
|
|
|
|
<StackPanel x:Name="CameraDevicesStackPanel" />
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<!-- 底部按钮区域 -->
|
|
|
|
|
<Grid Grid.Row="4" Margin="0,0,0,6">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Center" Margin="10,4,10,2">
|
|
|
|
|
<ToggleButton
|
|
|
|
|
x:Name="BtnToggleVideoPresenterLiveOnCanvas"
|
|
|
|
|
Width="70"
|
|
|
|
|
Height="40"
|
|
|
|
|
Margin="2,0"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
|
|
|
|
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
|
|
|
|
BorderThickness="1"
|
|
|
|
|
Checked="BtnToggleVideoPresenterLiveOnCanvas_Checked"
|
|
|
|
|
Unchecked="BtnToggleVideoPresenterLiveOnCanvas_Unchecked">
|
|
|
|
|
<TextBlock FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Text="{i18n:I18n Key=Booth_Present}" />
|
|
|
|
|
</ToggleButton>
|
|
|
|
|
<ToggleButton
|
|
|
|
|
x:Name="ToggleBtnPhotoCorrection"
|
|
|
|
|
Width="70"
|
|
|
|
|
Height="40"
|
|
|
|
|
Margin="2,0"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
|
|
|
|
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
|
|
|
|
BorderThickness="1"
|
|
|
|
|
Checked="ToggleBtnPhotoCorrection_Checked"
|
|
|
|
|
Unchecked="ToggleBtnPhotoCorrection_Unchecked">
|
|
|
|
|
<TextBlock FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Text="{i18n:I18n Key=Booth_Correction}" />
|
|
|
|
|
</ToggleButton>
|
|
|
|
|
<Button
|
|
|
|
|
x:Name="BtnCapturePhoto"
|
|
|
|
|
Width="70"
|
|
|
|
|
Height="40"
|
|
|
|
|
Margin="2,0"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
|
|
|
|
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
|
|
|
|
BorderThickness="1"
|
|
|
|
|
Click="BtnCapturePhoto_Click">
|
|
|
|
|
<TextBlock FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Text="{i18n:I18n Key=Booth_Capture}" />
|
|
|
|
|
</Button>
|
|
|
|
|
<Button
|
|
|
|
|
x:Name="BtnRotateImage"
|
|
|
|
|
Width="70"
|
|
|
|
|
Height="40"
|
|
|
|
|
Margin="2,0"
|
|
|
|
|
Background="{DynamicResource FloatBarBackground}"
|
|
|
|
|
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
|
|
|
|
BorderThickness="1"
|
|
|
|
|
Click="BtnRotateImage_Click">
|
|
|
|
|
<TextBlock FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Text="{i18n:I18n Key=Booth_Rotate}" />
|
|
|
|
|
</Button>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<!-- 分辨率 Tab -->
|
|
|
|
|
<Grid Grid.Row="1" HorizontalAlignment="Center" Margin="10,6,10,4">
|
|
|
|
|
<Border Background="{DynamicResource FloatBarBackground}"
|
|
|
|
|
CornerRadius="8" BorderThickness="1" BorderBrush="#616161"
|
|
|
|
|
Width="282" Height="40" ToolTip="{x:Static props:Strings.Booth_Resolution_Tooltip}">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Border x:Name="BoothResolutionTabIndicator"
|
|
|
|
|
Background="#66CCFF"
|
|
|
|
|
CornerRadius="6"
|
|
|
|
|
Width="70" Height="38"
|
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Center"
|
|
|
|
|
Margin="0,0,0,0"/>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Button x:Name="BtnBoothResolution720" Width="70" Height="40" Background="Transparent" BorderThickness="0"
|
|
|
|
|
Click="BoothResolutionTab_Click" Tag="1280,720" Cursor="Hand" HorizontalAlignment="Left">
|
|
|
|
|
<TextBlock Text="720p" FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Opacity="0.7"/>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button x:Name="BtnBoothResolution1080" Width="70" Height="40" Background="Transparent" BorderThickness="0"
|
|
|
|
|
Click="BoothResolutionTab_Click" Tag="1920,1080" Cursor="Hand" HorizontalAlignment="Left" Margin="70,0,0,0">
|
|
|
|
|
<TextBlock x:Name="TbBoothResolution1080" Text="1080p" FontSize="12" FontWeight="Bold" Foreground="White"/>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button x:Name="BtnBoothResolution2K" Width="70" Height="40" Background="Transparent" BorderThickness="0"
|
|
|
|
|
Click="BoothResolutionTab_Click" Tag="2560,1440" Cursor="Hand" HorizontalAlignment="Left" Margin="140,0,0,0">
|
|
|
|
|
<TextBlock Text="2K" FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Opacity="0.7"/>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button x:Name="BtnBoothResolution4K" Width="70" Height="40" Background="Transparent" BorderThickness="0"
|
|
|
|
|
Click="BoothResolutionTab_Click" Tag="3840,2160" Cursor="Hand" HorizontalAlignment="Left" Margin="210,0,0,0">
|
|
|
|
|
<TextBlock Text="4K" FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Opacity="0.7"/>
|
|
|
|
|
</Button>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
2025-11-29 16:27:35 +08:00
|
|
|
|
|
|
|
|
<Border x:Name="TimerContainer"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
Panel.ZIndex="998"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Width="900"
|
|
|
|
|
Height="500">
|
|
|
|
|
<Windows:TimerControl x:Name="TimerControl"/>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<Border x:Name="MinimizedTimerContainer"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
Panel.ZIndex="997"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
Margin="20,20,0,0"
|
|
|
|
|
Width="600"
|
|
|
|
|
Height="200">
|
|
|
|
|
<Windows:MinimizedTimerControl x:Name="MinimizedTimerControl"/>
|
|
|
|
|
</Border>
|
2025-12-27 22:41:24 +08:00
|
|
|
|
|
|
|
|
<Border x:Name="PPTTimeCapsuleContainer"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
Panel.ZIndex="999"
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
Margin="0,20,20,0">
|
|
|
|
|
<Windows:PPTTimeCapsule x:Name="PPTTimeCapsule"/>
|
|
|
|
|
</Border>
|
2025-12-31 18:42:26 +08:00
|
|
|
|
|
|
|
|
<Border x:Name="PPTQuickPanelContainer"
|
|
|
|
|
Visibility="Collapsed"
|
|
|
|
|
Panel.ZIndex="999"
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
Margin="0,50,0,0">
|
|
|
|
|
<Windows:PPTQuickPanel x:Name="PPTQuickPanel"/>
|
|
|
|
|
</Border>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Grid>
|
2025-06-27 16:47:13 +08:00
|
|
|
</Window>
|
2025-10-03 08:52:47 +08:00
|
|
|
|