-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOSD.xaml
More file actions
50 lines (43 loc) · 1.76 KB
/
OSD.xaml
File metadata and controls
50 lines (43 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<Window x:Class="SDRbright.OSD"
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:local="clr-namespace:SDRbright"
mc:Ignorable="d"
Title="SDRbright OSD"
WindowStyle="None"
AllowsTransparency="True"
Background="Transparent"
Topmost="True"
ShowInTaskbar="False"
ResizeMode="NoResize"
SizeToContent="WidthAndHeight"
WindowStartupLocation="CenterScreen">
<Border Background="#BF000000"
CornerRadius="8"
Padding="15">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<TextBlock Text=""
FontFamily="Segoe Fluent Icons"
FontSize="24"
Foreground="White"
VerticalAlignment="Center"/>
<ProgressBar x:Name="brightnessBar"
Width="200"
Height="12"
Minimum="0"
Maximum="100"
Margin="15,0,15,0"
VerticalAlignment="Center"/>
<TextBlock x:Name="Value"
Text="50%"
FontWeight="SemiBold"
FontSize="16"
Foreground="White"
MinWidth="40"
TextAlignment="Right"
VerticalAlignment="Center"/>
</StackPanel>
</Border>
</Window>