40 lines
1.8 KiB
XML

<Page
x:Class="CameraRenderer_cpp.DirectXPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:CameraRenderer_cpp"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
<SwapChainPanel x:Name="swapChainPanel" VerticalAlignment="Top" MinHeight="250">
</SwapChainPanel>
<Image x:Name="renderTarget" />
<StackPanel x:Name="SourceFlyout" HorizontalAlignment="Center" VerticalAlignment="Top" Padding="20,30,20,20">
<StackPanel.Background>
<AcrylicBrush TintColor="#CC000000" TintOpacity="0.75"/>
</StackPanel.Background>
<TextBlock Text="Input Audio:" TextWrapping="Wrap" Margin="0,10,0,0" Foreground="White"/>
<ComboBox x:Name="audioComboBox" Width="120" MinWidth="300"/>
<TextBlock Text="Input Stream:" TextWrapping="Wrap" Margin="0,10,0,0" Foreground="White"/>
<ComboBox x:Name="videoComboBox" Width="120" MinWidth="300"/>
<Button x:Name="startStreamButton" Content="Start Stream" HorizontalContentAlignment="Center" HorizontalAlignment="Center" Margin="0,10,0,0" Background="#54FFFFFF"/>
</StackPanel>
</Grid>
<Page.BottomAppBar>
<AppBar x:Name="bottomAppBar" Padding="10,0,10,0">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<AppBarButton AutomationProperties.Name="Sample Button"
AutomationProperties.AutomationId="SampleAppBarButton"
Click="AppBarButton_Click"/>
</StackPanel>
</AppBar>
</Page.BottomAppBar>
</Page>