-
Notifications
You must be signed in to change notification settings - Fork 0
/
SettingsPopup.xaml
33 lines (29 loc) · 1.4 KB
/
SettingsPopup.xaml
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
<?xml version="1.0" encoding="utf-8"?>
<toolkit:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
xmlns:audioLoopbackTest="clr-namespace:AudioLoopbackTest"
x:Class="AudioLoopbackTest.SettingsPopup"
x:DataType="audioLoopbackTest:Settings"
Size="300,300">
<VerticalStackLayout>
<HorizontalStackLayout>
<Button x:Name="DecreaseButton" Text="- Bins" Clicked="DecreaseBins"/>
<Button x:Name="IncreaseButton" Text="+ Bins" Clicked="IncreaseBins"/>
<Label x:Name="BinLabel"/>
</HorizontalStackLayout>
<HorizontalStackLayout>
<CheckBox IsChecked="{Binding BinFft}" CheckedChanged="OnBinFFTChanged"/>
<Label Text="Bin FFT"/>
</HorizontalStackLayout>
<HorizontalStackLayout>
<CheckBox IsChecked="{Binding Normalize}"/>
<Label Text="Normalize"/>
</HorizontalStackLayout>
<HorizontalStackLayout>
<CheckBox IsChecked="{Binding NegativeFrequencies}"/>
<Label Text="Show Negative Frequencies"/>
</HorizontalStackLayout>
<Button Text="Close" Clicked="OnCloseButtonClicked"/>
</VerticalStackLayout>
</toolkit:Popup>