diff --git a/chuni-hands/MainWindow.xaml b/chuni-hands/MainWindow.xaml index 839a163..6856c89 100644 --- a/chuni-hands/MainWindow.xaml +++ b/chuni-hands/MainWindow.xaml @@ -7,19 +7,26 @@ mc:Ignorable="d" x:Name="TheWindow" Title="chuni-hands" Height="720" Width="1280" Loaded="Window_Loaded" Closing="Window_Closing"> + + + + + + + - + - - + + - Video + Video Threshold @@ -38,8 +45,8 @@ - Log diff Freeze + Log diff diff --git a/chuni-hands/MainWindow.xaml.cs b/chuni-hands/MainWindow.xaml.cs index 72834f9..59b73b2 100644 --- a/chuni-hands/MainWindow.xaml.cs +++ b/chuni-hands/MainWindow.xaml.cs @@ -152,6 +152,10 @@ namespace chuni_hands { private void SetThresholdButton_Click(object sender, RoutedEventArgs e) { if (Double.TryParse(ThresholdBox.Text, out var v)) { _config.Threshold = v; + Logger.Info($"Threshold = {v}"); + } + else { + Logger.Error("Invalid input"); } } diff --git a/chuni-hands/Styles.xaml b/chuni-hands/Styles.xaml new file mode 100644 index 0000000..9931d28 --- /dev/null +++ b/chuni-hands/Styles.xaml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/chuni-hands/chuni-hands.csproj b/chuni-hands/chuni-hands.csproj index 1f51012..bf85180 100644 --- a/chuni-hands/chuni-hands.csproj +++ b/chuni-hands/chuni-hands.csproj @@ -106,6 +106,10 @@ MainWindow.xaml Code + + Designer + MSBuild:Compile +