add:展台
This commit is contained in:
@@ -10314,6 +10314,25 @@
|
||||
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
|
||||
<TextBlock Text="白板" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
|
||||
</ui:SimpleStackPanel>
|
||||
<ui:SimpleStackPanel
|
||||
MouseUp="BtnToggleVideoPresenter_Click"
|
||||
Background="Transparent"
|
||||
Orientation="Vertical"
|
||||
HorizontalAlignment="Center"
|
||||
Width="32"
|
||||
Margin="0">
|
||||
<Image
|
||||
Source="/Resources/Icons-png/EasiCamera.png"
|
||||
RenderOptions.BitmapScalingMode="HighQuality"
|
||||
Height="17"
|
||||
Margin="0,3,0,0" />
|
||||
<TextBlock
|
||||
Text="展台"
|
||||
Foreground="{DynamicResource FloatBarForeground}"
|
||||
FontSize="8"
|
||||
Margin="0,2,0,3"
|
||||
TextAlignment="Center" />
|
||||
</ui:SimpleStackPanel>
|
||||
<ui:SimpleStackPanel
|
||||
x:Name="BtnExitPptFromSidebarLeft"
|
||||
MouseUp="ExitPPTSlideShow_MouseUp"
|
||||
@@ -10435,6 +10454,161 @@
|
||||
</ui:SimpleStackPanel>
|
||||
</Border>
|
||||
</Viewbox>
|
||||
|
||||
<!-- 视频展台侧栏 -->
|
||||
<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="60" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- 顶部标题栏 -->
|
||||
<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="视频展台" />
|
||||
<Button
|
||||
Grid.Column="1"
|
||||
Width="50"
|
||||
Height="50"
|
||||
Padding="0"
|
||||
BorderThickness="0"
|
||||
Background="Transparent"
|
||||
Click="BtnCloseVideoPresenter_Click">
|
||||
<Image
|
||||
Source="/Resources/new-icons/close-white.png"
|
||||
RenderOptions.BitmapScalingMode="HighQuality"
|
||||
Width="16"
|
||||
Height="16"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</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="拍摄照片" />
|
||||
<ScrollViewer
|
||||
x:Name="CapturedPhotosScrollViewer"
|
||||
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="摄像头设备" />
|
||||
<ScrollViewer
|
||||
x:Name="CameraDevicesScrollViewer"
|
||||
MaxHeight="120"
|
||||
VerticalScrollBarVisibility="Auto"
|
||||
PanningMode="VerticalFirst">
|
||||
<StackPanel x:Name="CameraDevicesStackPanel" />
|
||||
</ScrollViewer>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
<!-- 底部按钮区域 -->
|
||||
<Grid Grid.Row="4" Height="60">
|
||||
<StackPanel
|
||||
Margin="10,5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<ToggleButton
|
||||
x:Name="CheckBoxEnablePhotoCorrection"
|
||||
Width="110"
|
||||
Height="40"
|
||||
Margin="3,0"
|
||||
Background="{DynamicResource FloatBarBackground}"
|
||||
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
||||
BorderThickness="1"
|
||||
Checked="CheckBoxEnablePhotoCorrection_Checked"
|
||||
Unchecked="CheckBoxEnablePhotoCorrection_Unchecked">
|
||||
<TextBlock
|
||||
FontSize="12"
|
||||
FontWeight="SemiBold"
|
||||
Foreground="{DynamicResource FloatBarForeground}"
|
||||
Text="实时矫正" />
|
||||
</ToggleButton>
|
||||
<Button
|
||||
x:Name="BtnCapturePhoto"
|
||||
Width="90"
|
||||
Height="40"
|
||||
Margin="3,0"
|
||||
Background="{DynamicResource FloatBarBackground}"
|
||||
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
||||
BorderThickness="1"
|
||||
Click="BtnCapturePhoto_Click">
|
||||
<TextBlock
|
||||
FontSize="12"
|
||||
FontWeight="SemiBold"
|
||||
Foreground="{DynamicResource FloatBarForeground}"
|
||||
Text="拍照" />
|
||||
</Button>
|
||||
<Button
|
||||
x:Name="BtnRotateImage"
|
||||
Width="90"
|
||||
Height="40"
|
||||
Margin="3,0"
|
||||
Background="{DynamicResource FloatBarBackground}"
|
||||
BorderBrush="{DynamicResource FloatBarBorderBrush}"
|
||||
BorderThickness="1"
|
||||
Click="BtnRotateImage_Click">
|
||||
<TextBlock
|
||||
FontSize="12"
|
||||
FontWeight="SemiBold"
|
||||
Foreground="{DynamicResource FloatBarForeground}"
|
||||
Text="旋转" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<Border x:Name="TimerContainer"
|
||||
Visibility="Collapsed"
|
||||
|
||||
Reference in New Issue
Block a user