Digitale Uhr: toggle per Btn und Strg+U, oben rechts im Video

This commit is contained in:
dimedtec 2026-06-15 22:55:05 +02:00
parent 59ab798b74
commit 30ac4ede6c
3 changed files with 338 additions and 0 deletions

View file

@ -236,6 +236,17 @@
Background="#01000000"
PreviewMouseLeftButtonDown="VideoClickCatcher_DoubleClick">
<Grid>
<!-- Digitale Uhr (optional, Strg+U) -->
<Border x:Name="ClockOverlay" Visibility="Collapsed"
HorizontalAlignment="Right" VerticalAlignment="Top"
Background="#AA000000" CornerRadius="8"
Padding="20,10" Margin="16"
IsHitTestVisible="False">
<TextBlock x:Name="TxtClock"
Foreground="White" FontSize="48" FontWeight="Light"
FontFamily="Segoe UI"/>
</Border>
<!-- Radio-Cover bei Audio-Streams -->
<Border x:Name="RadioCover" Visibility="Collapsed" Background="#1A1A1A">
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
@ -381,6 +392,9 @@
<Slider x:Name="SldVolume" Width="100" Minimum="0" Maximum="100" Value="80"
VerticalAlignment="Center" Margin="8,0"
ValueChanged="SldVolume_ValueChanged"/>
<Button x:Name="BtnClock" Content="🕒" FontSize="14" Width="40" Height="40"
Background="Transparent" Foreground="#888" BorderThickness="0"
Click="BtnClock_Click" Cursor="Hand" ToolTip="Uhr einblenden (Strg+U)"/>
<Button x:Name="BtnAlwaysOnTop" Content="📌" FontSize="14" Width="40" Height="40"
Background="Transparent" Foreground="#888" BorderThickness="0"
Click="BtnAlwaysOnTop_Click" Cursor="Hand" ToolTip="Immer im Vordergrund (Strg+T)"/>