-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
43 lines (41 loc) · 1.92 KB
/
MainWindow.xaml
File metadata and controls
43 lines (41 loc) · 1.92 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
<Window x:Class="RTSPDeck.MainWindow"
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:vlc="clr-namespace:LibVLCSharp.WPF;assembly=LibVLCSharp.WPF"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
Title="RTSPDeck"
Height="600" Width="1000"
Background="{DynamicResource MaterialDesignPaper}"
Foreground="{DynamicResource MaterialDesignBody}">
<DockPanel LastChildFill="True">
<!-- Top Toolbar -->
<StackPanel Orientation="Horizontal"
DockPanel.Dock="Top"
Background="{DynamicResource MaterialDesignToolBarBackground}"
Margin="0,0,0,5">
<Button Content="Manage Cameras"
Margin="5"
Padding="6,2"
Click="OpenManageCameras_Click"/>
<Button Content="Refresh Feeds"
Margin="5"
Click="RefreshFeeds_Click"/>
<CheckBox x:Name="AutoStartCheckBox"
Content="Start with Windows"
Margin="10,0,0,0"
VerticalAlignment="Center"
Style="{StaticResource MaterialDesignCheckBox}"
IsChecked="{Binding IsAutoStartEnabled, Mode=TwoWay}" />
</StackPanel>
<!-- Camera Feed Grid -->
<ScrollViewer HorizontalScrollBarVisibility="Auto"
VerticalScrollBarVisibility="Auto"
Background="{DynamicResource MaterialDesignPaper}">
<UniformGrid x:Name="VideoGrid"
Margin="5"/>
</ScrollViewer>
</DockPanel>
</Window>