Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
-changed sound button
Greedeks7e602f589744
diff --git a/.Source/GTweak/Assets/DrawingImages/Other.xaml b/.Source/GTweak/Assets/DrawingImages/Other.xamlindex d53546c2..abcc0e71 100644--- a/.Source/GTweak/Assets/DrawingImages/Other.xaml+++ b/.Source/GTweak/Assets/DrawingImages/Other.xaml@@ -436,5 +436,29 @@</DrawingGroup></DrawingImage.Drawing></DrawingImage>-++ <DrawingImage x:Key="DI_BtnSoundOn">+ <DrawingImage.Drawing>+ <DrawingGroup ClipGeometry="M0,0 V32 H32 V0 H0 Z">+ <DrawingGroup Opacity="1">+ <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M32,32z M0,0z M17.921875,3.199219C18.457031,3.292969 18.988281,3.398438 19.519531,3.519531 19.675781,4.144531 19.828125,4.773438 19.980469,5.398438 20.066406,5.75 20.152344,6.097656 20.238281,6.457031 20.855469,9.578125 20.863281,12.710938 20.859375,15.878906 20.859375,16.105469 20.859375,16.335938 20.859375,16.566406 20.84375,25.210938 20.84375,25.210938 19.199219,28.800781 17.648438,28.660156 16.792969,27.902344 15.679688,26.898438 15.308594,26.582031 14.9375,26.261719 14.566406,25.945312 14.011719,25.464844 13.464844,24.980469 12.925781,24.484375 10.464844,22.230469 8.652344,21.410156 5.289062,21.554688 4.160156,21.441406 4.160156,21.441406 3.222656,20.875 2.214844,19.296875 2.328125,17.835938 2.359375,16 2.355469,15.65625 2.347656,15.308594 2.339844,14.953125 2.351562,13.429688 2.386719,12.445312 3.1875,11.128906 4.53125,10.34375 5.59375,10.371094 7.121094,10.441406 7.386719,10.445312 7.648438,10.449219 7.921875,10.453125 9.863281,10.5 9.863281,10.5 10.238281,10.878906 10.269531,11.449219 10.273438,12.019531 10.269531,12.589844 10.269531,12.9375 10.269531,13.28125 10.269531,13.636719 10.265625,14 10.261719,14.367188 10.261719,14.738281 10.257812,15.105469 10.257812,15.46875 10.253906,15.84375 10.25,16.75 10.246094,17.65625 10.238281,18.558594 9.621094,18.738281 9.621094,18.738281 8.960938,18.878906 8.640625,18.558594 8.640625,18.558594 8.605469,17.9375 8.605469,17.667969 8.605469,17.402344 8.609375,17.128906 8.609375,16.839844 8.609375,16.554688 8.613281,16.257812 8.613281,15.953125 8.617188,15.652344 8.621094,15.339844 8.621094,15.035156 8.621094,14.730469 8.625,14.417969 8.628906,13.667969 8.632812,12.914062 8.640625,12.160156 8.007812,12.203125 7.375,12.253906 6.738281,12.300781 6.386719,12.324219 6.035156,12.351562 5.671875,12.378906 4.828125,12.386719 4.828125,12.386719 4.480469,12.800781 4.449219,13.273438 4.4375,13.746094 4.4375,14.21875 4.4375,14.507812 4.4375,14.792969 4.4375,15.085938 4.4375,15.386719 4.4375,15.691406 4.441406,16 4.4375,16.300781 4.4375,16.601562 4.4375,16.914062 4.4375,17.199219 4.4375,17.484375 4.4375,17.78125 4.4375,18.042969 4.4375,18.308594 4.4375,18.582031 4.410156,19.203125 4.410156,19.203125 4.800781,19.519531 5.382812,19.507812 5.96875,19.496094 6.550781,19.484375 9.667969,19.472656 11.214844,20.25 13.410156,22.394531 13.570312,22.558594 13.730469,22.71875 13.898438,22.882812 14.730469,23.675781 15.652344,24.34375 16.578125,25.019531 17.058594,25.375 17.058594,25.375 17.546875,25.734375 17.773438,25.902344 18.003906,26.066406 18.238281,26.238281 19.164062,19.402344 19.164062,12.597656 18.238281,5.761719 17.941406,5.996094 17.644531,6.230469 17.339844,6.472656 16.9375,6.789062 16.539062,7.105469 16.140625,7.421875 15.945312,7.574219 15.75,7.730469 15.550781,7.886719 14.957031,8.355469 14.359375,8.820312 13.761719,9.28125 13.457031,9.519531 13.457031,9.519531 13.144531,9.765625 12.621094,10.164062 12.074219,10.523438 11.519531,10.878906 11.203125,10.773438 10.886719,10.667969 10.558594,10.558594 10.660156,9.554688 10.769531,9.074219 11.488281,8.34375 11.75,8.152344 12.011719,7.957031 12.28125,7.761719 12.566406,7.542969 12.851562,7.328125 13.144531,7.105469 13.609375,6.753906 13.609375,6.753906 14.078125,6.398438 14.730469,5.875 15.375,5.351562 16.019531,4.820312 16.3125,4.578125 16.609375,4.339844 16.910156,4.089844 17.257812,3.804688 17.601562,3.515625 17.921875,3.199219z M17.921875,3.199219" />+ <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M32,32z M0,0z M26.238281,7.679688C27.027344,7.796875 27.410156,7.855469 27.902344,8.5 28.050781,8.816406 28.050781,8.816406 28.199219,9.140625 28.300781,9.34375 28.398438,9.550781 28.503906,9.761719 29.265625,11.816406 29.566406,13.722656 29.558594,15.898438 29.558594,16.148438 29.558594,16.398438 29.558594,16.65625 29.503906,19.296875 29.082031,22.320312 27.199219,24.320312 26.882812,24.320312 26.566406,24.320312 26.238281,24.320312 25.820312,23.167969 26.023438,22.578125 26.519531,21.480469 28.269531,17.332031 27.589844,13.230469 26.160156,9.078125 25.921875,8.320312 25.921875,8.320312 26.238281,7.679688z M26.238281,7.679688" />+ <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M32,32z M0,0z M23.359375,10.238281C23.960938,10.441406 23.960938,10.441406 24.640625,10.878906 25.816406,13.800781 25.929688,17.164062 24.960938,20.160156 24.441406,21.160156 24.441406,21.160156 24,21.761719 23.578125,21.546875 23.15625,21.335938 22.71875,21.121094 22.824219,20.804688 22.929688,20.488281 23.039062,20.160156 23.675781,17.613281 23.714844,14.410156 23,11.878906 22.90625,11.550781 22.816406,11.21875 22.71875,10.878906 22.929688,10.667969 23.140625,10.457031 23.359375,10.238281z M23.359375,10.238281" />+ </DrawingGroup>+ </DrawingGroup>+ </DrawingImage.Drawing>+ </DrawingImage>++ <DrawingImage x:Key="DI_BtnSoundOff">+ <DrawingImage.Drawing>+ <DrawingGroup ClipGeometry="M0,0 V32 H32 V0 H0 Z">+ <DrawingGroup Opacity="1">+ <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M32,32z M0,0z M17.921875,3.199219C18.464844,3.296875 18.976562,3.390625 19.519531,3.519531 19.679688,4.160156 19.839844,4.769531 19.96875,5.40625 20.0625,5.761719 20.128906,6.113281 20.222656,6.464844 20.832031,9.601562 20.863281,12.703125 20.832031,15.871094 20.832031,16.097656 20.832031,16.320312 20.832031,16.574219 20.832031,25.214844 20.832031,25.214844 19.167969,28.800781 17.632812,28.671875 16.769531,27.902344 15.648438,26.910156 15.265625,26.59375 14.910156,26.273438 14.527344,25.953125 13.984375,25.472656 13.441406,24.992188 12.894531,24.480469 10.433594,22.207031 8.609375,21.40625 5.246094,21.535156 4.160156,21.441406 4.160156,21.441406 3.230469,20.863281 2.207031,19.296875 2.335938,17.824219 2.367188,16 2.367188,15.648438 2.367188,15.296875 2.335938,14.945312 2.335938,13.40625 2.367188,12.449219 3.167969,11.105469 4.511719,10.304688 5.566406,10.335938 7.105469,10.433594 7.359375,10.433594 7.648438,10.433594 7.902344,10.433594 9.855469,10.464844 9.855469,10.464844 10.207031,10.847656 10.238281,11.425781 10.238281,12 10.238281,12.542969 10.238281,12.894531 10.238281,13.246094 10.238281,13.601562 10.238281,13.953125 10.238281,14.335938 10.238281,14.6875 10.238281,15.039062 10.238281,15.425781 10.238281,15.808594 10.238281,16.703125 10.238281,17.632812 10.238281,18.527344 9.632812,18.71875 9.632812,18.71875 8.960938,18.847656 8.640625,18.527344 8.640625,18.527344 8.609375,17.921875 8.609375,17.664062 8.609375,17.375 8.609375,17.121094 8.609375,16.832031 8.609375,16.542969 8.609375,16.257812 8.609375,15.96875 8.609375,15.648438 8.609375,15.328125 8.609375,15.039062 8.609375,14.71875 8.609375,14.398438 8.609375,13.632812 8.609375,12.894531 8.609375,12.128906 7.96875,12.160156 7.328125,12.222656 6.71875,12.257812 6.367188,12.289062 6.015625,12.320312 5.664062,12.320312 4.832031,12.320312 4.832031,12.320312 4.480469,12.734375 4.449219,13.214844 4.449219,13.695312 4.449219,14.144531 4.449219,14.433594 4.449219,14.71875 4.449219,15.007812 4.449219,15.296875 4.449219,15.617188 4.449219,15.9375 4.449219,16.222656 4.449219,16.542969 4.449219,16.863281 4.449219,17.152344 4.449219,17.441406 4.449219,17.726562 4.449219,17.984375 4.449219,18.273438 4.449219,18.527344 4.414062,19.199219 4.414062,19.199219 4.800781,19.519531 5.375,19.519531 5.953125,19.488281 6.558594,19.488281 9.664062,19.488281 11.230469,20.257812 13.40625,22.398438 13.566406,22.558594 13.726562,22.71875 13.886719,22.878906 14.71875,23.679688 15.648438,24.351562 16.574219,25.023438 17.054688,25.375 17.054688,25.375 17.535156,25.726562 17.761719,25.886719 17.984375,26.046875 18.238281,26.238281 19.167969,19.390625 19.167969,12.609375 18.238281,5.761719 17.953125,5.984375 17.632812,6.238281 17.34375,6.464844 16.960938,6.785156 16.542969,7.105469 16.160156,7.425781 15.96875,7.585938 15.777344,7.742188 15.585938,7.902344 14.976562,8.382812 14.398438,8.832031 13.792969,9.28125 13.472656,9.503906 13.472656,9.503906 13.183594,9.761719 12.671875,10.144531 12.097656,10.527344 11.550781,10.878906 11.230469,10.785156 10.910156,10.65625 10.59375,10.558594 10.6875,9.566406 10.785156,9.089844 11.519531,8.351562 11.777344,8.160156 12.03125,7.96875 12.320312,7.777344 12.609375,7.550781 12.894531,7.328125 13.183594,7.105469 13.632812,6.753906 13.632812,6.753906 14.113281,6.398438 14.753906,5.886719 15.390625,5.34375 16.0625,4.832031 16.351562,4.574219 16.640625,4.351562 16.960938,4.097656 17.246094,3.808594 17.601562,3.519531 17.921875,3.199219z M17.921875,3.199219" />+ <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M32,32z M0,0z M31.519531,21.566406C31.105469,21.953125,30.433594,21.886719,30.046875,21.472656L21.664062,11.871094C21.28125,11.457031 21.34375,10.785156 21.761719,10.398438 22.175781,10.015625 22.847656,10.078125 23.230469,10.496094L31.617188,20.097656C32,20.542969,31.96875,21.183594,31.519531,21.566406z M31.519531,21.566406" />+ <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M32,32z M0,0z M21.761719,21.566406C22.175781,21.953125,22.847656,21.886719,23.230469,21.472656L31.617188,11.871094C32,11.457031 31.9375,10.785156 31.519531,10.398438 31.105469,10.015625 30.433594,10.078125 30.046875,10.496094L21.664062,20.097656C21.28125,20.542969,21.34375,21.183594,21.761719,21.566406z M21.761719,21.566406" />+ </DrawingGroup>+ </DrawingGroup>+ </DrawingImage.Drawing>+ </DrawingImage>+</ResourceDictionary>\ No newline at end of filediff --git a/.Source/GTweak/Languages/en/Lang.xaml b/.Source/GTweak/Languages/en/Lang.xamlindex 31383df7..4fa79018 100644--- a/.Source/GTweak/Languages/en/Lang.xaml+++ b/.Source/GTweak/Languages/en/Lang.xaml@@ -74,8 +74,7 @@<v:String x:Key="btn7_main">More</v:String><v:String x:Key="title_settings_main">Settings</v:String><v:String x:Key="btgl_notifications_main">Show notifications</v:String>- <v:String x:Key="btgl_sound_main">Notification sound</v:String>- <v:String x:Key="slider_volume_main">Notifications volume:</v:String>+ <v:String x:Key="slider_volume_main">Volume:</v:String><v:String x:Key="btgl_toast_main">Pin on top of all windows</v:String><v:String x:Key="btgl_update_main">Checking for updates</v:String><v:String x:Key="cmbox_lang_main">Interface language:</v:String>diff --git a/.Source/GTweak/Languages/ru/Lang.xaml b/.Source/GTweak/Languages/ru/Lang.xamlindex e3704333..64d1dca4 100644--- a/.Source/GTweak/Languages/ru/Lang.xaml+++ b/.Source/GTweak/Languages/ru/Lang.xaml@@ -74,8 +74,7 @@<v:String x:Key="btn7_main">Прочее</v:String><v:String x:Key="title_settings_main">Настройки</v:String><v:String x:Key="btgl_notifications_main">Показывать уведомления</v:String>- <v:String x:Key="btgl_sound_main">Звук уведомление</v:String>- <v:String x:Key="slider_volume_main">Громкость уведомлений:</v:String>+ <v:String x:Key="slider_volume_main">Громкость:</v:String><v:String x:Key="btgl_toast_main">Закрепить поверх всех окон</v:String><v:String x:Key="btgl_update_main">Проверка наличия обновлений</v:String><v:String x:Key="cmbox_lang_main">Язык интерфейса:</v:String>diff --git a/.Source/GTweak/Styles/Buttons.xaml b/.Source/GTweak/Styles/Buttons.xamlindex 5e1b2504..000e15cb 100644--- a/.Source/GTweak/Styles/Buttons.xaml+++ b/.Source/GTweak/Styles/Buttons.xaml@@ -239,4 +239,38 @@</Style.Triggers></Style>+ <ControlTemplate x:Key="Sound_Enable" TargetType="ToggleButton">+ <Image>+ <Image.Style>+ <Style TargetType="{x:Type Image}">+ <Setter Property="Source" Value="{StaticResource DI_BtnSoundOn}"/>+ </Style>+ </Image.Style>+ </Image>+ </ControlTemplate>++ <ControlTemplate x:Key="Sound_Disabled" TargetType="ToggleButton">+ <Image>+ <Image.Style>+ <Style TargetType="{x:Type Image}">+ <Setter Property="Source" Value="{StaticResource DI_BtnSoundOff}"/>+ </Style>+ </Image.Style>+ </Image>+ </ControlTemplate>++ <Style TargetType="ToggleButton" x:Key="ToggleSound">+ <Setter Property="IsTabStop" Value="False"/>+ <Setter Property="Cursor" Value="Hand"/>+ <Setter Property="FocusVisualStyle" Value="{x:Null}" />+ <Style.Triggers>+ <Trigger Property="IsChecked" Value="True">+ <Setter Property="Template" Value="{StaticResource Sound_Enable}" />+ </Trigger>+ <Trigger Property="IsChecked" Value="False">+ <Setter Property="Template" Value="{StaticResource Sound_Disabled}" />+ </Trigger>+ </Style.Triggers>+ </Style>+</ResourceDictionary>\ No newline at end of filediff --git a/.Source/GTweak/Styles/ComboBox.xaml b/.Source/GTweak/Styles/ComboBox.xamlindex a7a42f9c..bcda5e56 100644--- a/.Source/GTweak/Styles/ComboBox.xaml+++ b/.Source/GTweak/Styles/ComboBox.xaml@@ -44,6 +44,8 @@<Setter Property="FontFamily" Value="{StaticResource Jura}"/><Setter Property="Foreground" Value="{StaticResource Color_Highlighted}"/><Setter Property="FontSize" Value="14px"/>+ <Setter Property="IsTabStop" Value="False"/>+ <Setter Property="FocusVisualStyle" Value="{x:Null}" /><Setter Property="Cursor" Value="Hand"/><Setter Property="Template"><Setter.Value>diff --git a/.Source/GTweak/Styles/Slider.xaml b/.Source/GTweak/Styles/Slider.xamlindex 6ecc5f2e..39f1df53 100644--- a/.Source/GTweak/Styles/Slider.xaml+++ b/.Source/GTweak/Styles/Slider.xaml@@ -67,13 +67,43 @@<RepeatButton Style="{StaticResource SliderRepeatButton_In}" Command="Slider.IncreaseLarge" /></Track.IncreaseRepeatButton></Track>- <TextBlock FocusVisualStyle="{x:Null}" Text="{Binding Value, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Slider}}}"- FontFamily="{StaticResource Jura}" FontSize="14px" FontWeight="Medium" Grid.Row="2" Margin="0,-5,0,0" HorizontalAlignment="Center" Foreground="{StaticResource Color_Highlighted}">+ <TextBlock Grid.Row="2" FocusVisualStyle="{x:Null}" Text="{Binding Value, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Slider}}}"+ FontFamily="{StaticResource Jura}" FontSize="14px" FontWeight="Medium" Margin="0,-5,0,0" HorizontalAlignment="Center" Foreground="{StaticResource Color_Highlighted}"></TextBlock></Grid></ControlTemplate>- <Style x:Key="Horizontal_Slider" TargetType="Slider">+ <ControlTemplate x:Key="SliderPercent" TargetType="Slider">+ <Grid>+ <Grid.RowDefinitions>+ <RowDefinition Height="Auto" />+ <RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}" />+ <RowDefinition Height="Auto" />+ </Grid.RowDefinitions>+ <Grid>+ <Grid.ColumnDefinitions>+ <ColumnDefinition/>+ <ColumnDefinition Width="50"/>+ </Grid.ColumnDefinitions>+ <Track Grid.Column="0" Grid.Row="1" x:Name="PART_Track" Cursor="Hand">+ <Track.DecreaseRepeatButton>+ <RepeatButton Style="{StaticResource SliderRepeatButton}" Command="Slider.DecreaseLarge" />+ </Track.DecreaseRepeatButton>+ <Track.Thumb>+ <Thumb Style="{StaticResource SliderThumb}" />+ </Track.Thumb>+ <Track.IncreaseRepeatButton>+ <RepeatButton Style="{StaticResource SliderRepeatButton_In}" Command="Slider.IncreaseLarge" />+ </Track.IncreaseRepeatButton>+ </Track>+ <TextBlock Grid.Column="1" Margin="10,-3,0,0" FocusVisualStyle="{x:Null}" FontFamily="{StaticResource Jura}" FontSize="14px" FontWeight="Medium" HorizontalAlignment="Left" Foreground="{StaticResource Color_Highlighted}">+ <Run Text="{Binding Value, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Slider}}}"/><Run Text="%"/>+ </TextBlock>+ </Grid>+ </Grid>+ </ControlTemplate>++ <Style x:Key="VerticalText_Slider" TargetType="Slider"><Setter Property="Focusable" Value="False"/><Setter Property="SnapsToDevicePixels" Value="true" /><Setter Property="OverridesDefaultStyle" Value="true" />@@ -88,4 +118,19 @@</Style.Triggers></Style>+ <Style x:Key="HorizontalText_Slider" TargetType="Slider">+ <Setter Property="Focusable" Value="False"/>+ <Setter Property="SnapsToDevicePixels" Value="true" />+ <Setter Property="OverridesDefaultStyle" Value="true" />+ <Setter Property="IsTabStop" Value="False"/>+ <Setter Property="FocusVisualStyle" Value="{x:Null}"/>+ <Style.Triggers>+ <Trigger Property="Orientation" Value="Horizontal">+ <Setter Property="MinHeight" Value="15" />+ <Setter Property="MinWidth" Value="104" />+ <Setter Property="Template" Value="{StaticResource SliderPercent}" />+ </Trigger>+ </Style.Triggers>+ </Style>+</ResourceDictionary>\ No newline at end of filediff --git a/.Source/GTweak/View/SystemView.xaml b/.Source/GTweak/View/SystemView.xamlindex c3f3fe61..21c693c5 100644--- a/.Source/GTweak/View/SystemView.xaml+++ b/.Source/GTweak/View/SystemView.xaml@@ -25,17 +25,17 @@<StackPanel Orientation="Vertical" VerticalAlignment="Top" Width="Auto" Height="Auto"><StackPanel x:Name="TextSlider1" Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="20,0,0,0" MouseEnter="TweakSlider_MouseEnter" MouseLeave="Tweak_MouseLeave"><TextBlock Style="{StaticResource Text}" Foreground="{StaticResource Color_Highlighted}" Margin="0,2,0,0" Text="{DynamicResource slider1_system}"/>- <Slider x:Name="Slider1" Style="{StaticResource Horizontal_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="20" Margin="7,13,0,0" Width="150" ValueChanged="Sliders_ValueChanged" PreviewMouseLeftButtonUp="Sliders_PreviewMouseUp"/>+ <Slider x:Name="Slider1" Style="{StaticResource VerticalText_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="20" Margin="7,13,0,0" Width="150" ValueChanged="Sliders_ValueChanged" PreviewMouseLeftButtonUp="Sliders_PreviewMouseUp"/></StackPanel><StackPanel x:Name="TextSlider2" Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="20,4,0,0" MouseEnter="TweakSlider_MouseEnter" MouseLeave="Tweak_MouseLeave"><TextBlock Style="{StaticResource Text}" Foreground="{StaticResource Color_Highlighted}" Margin="0,2,0,0" Text="{DynamicResource slider2_system}"/>- <Slider x:Name="Slider2" Style="{StaticResource Horizontal_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="3" Margin="7,13,0,0" Width="150" ValueChanged="Sliders_ValueChanged" PreviewMouseLeftButtonUp="Sliders_PreviewMouseUp"/>+ <Slider x:Name="Slider2" Style="{StaticResource VerticalText_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="3" Margin="7,13,0,0" Width="150" ValueChanged="Sliders_ValueChanged" PreviewMouseLeftButtonUp="Sliders_PreviewMouseUp"/></StackPanel><StackPanel x:Name="TextSlider3" Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="20,4,0,0" MouseEnter="TweakSlider_MouseEnter" MouseLeave="Tweak_MouseLeave"><TextBlock Style="{StaticResource Text}" Foreground="{StaticResource Color_Highlighted}" Margin="0,2,0,0" Text="{DynamicResource slider3_system}"/>- <Slider x:Name="Slider3" Style="{StaticResource Horizontal_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="31" Margin="7,13,0,0" Width="170" ValueChanged="Sliders_ValueChanged" PreviewMouseLeftButtonUp="Sliders_PreviewMouseUp"/>+ <Slider x:Name="Slider3" Style="{StaticResource VerticalText_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="31" Margin="7,13,0,0" Width="170" ValueChanged="Sliders_ValueChanged" PreviewMouseLeftButtonUp="Sliders_PreviewMouseUp"/></StackPanel><TextBox x:Name="TestKeybSettings" Margin="-100,5,0,0" Tag="{DynamicResource text_system}" Width="400" MaxLength="50" Cursor="IBeam"/>diff --git a/.Source/GTweak/Windows/MainWindow.xaml b/.Source/GTweak/Windows/MainWindow.xamlindex 65e2b5f2..76799c59 100644--- a/.Source/GTweak/Windows/MainWindow.xaml+++ b/.Source/GTweak/Windows/MainWindow.xaml@@ -192,18 +192,17 @@<uс:ToggleButton x:Name="BtnNotification" DynamicText="{DynamicResource btgl_notifications_main}" VerticalAlignment="Top" Height="25" Margin="40,20,0,0" ChangedState="BtnNotification_ChangedState"/>- <uс:ToggleButton x:Name="BtnSoundNtn" DynamicText="{DynamicResource btgl_sound_main}" VerticalAlignment="Top" Height="25" Margin="40,15,0,0" ChangedState="BtnSoundNtn_ChangedState"/>+ <uс:ToggleButton x:Name="BtnTopMost" VerticalAlignment="Top" Height="25" DynamicText="{DynamicResource btgl_toast_main}" Margin="40,15,0,0" ChangedState="BtnTopMost_ChangedState"/>++ <uс:ToggleButton x:Name="BtnUpdate" DynamicText="{DynamicResource btgl_update_main}" VerticalAlignment="Top" Height="25" Margin="40,15,0,0" ChangedState="BtnUpdate_ChangedState"/>- <StackPanel Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="40,15,0,0">+ <StackPanel Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="40,10,0,0"><TextBlock Style="{StaticResource Text_In}" Foreground="{StaticResource Color_Highlighted}" Margin="0,4,0,0" Text="{DynamicResource slider_volume_main}"/>- <Slider x:Name="SliderVolume" Style="{StaticResource Horizontal_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="100" Margin="7,13,0,0" Width="140" ValueChanged="SliderVolume_ValueChanged"/>+ <ToggleButton x:Name="BtnSoundNtn" Width="20" Height="20" Margin="10,1,0,0" Style="{StaticResource ToggleSound}" PreviewMouseDown="BtnSoundNtn_PreviewMouseDown"/>+ <Slider x:Name="SliderVolume" Style="{StaticResource HorizontalText_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="100" Margin="10,4,0,0" Width="187" ValueChanged="SliderVolume_ValueChanged" Height="10"/></StackPanel>- <uс:ToggleButton x:Name="BtnTopMost" VerticalAlignment="Top" Height="25" DynamicText="{DynamicResource btgl_toast_main}" Margin="40,15,0,0" ChangedState="BtnTopMost_ChangedState"/>-- <uс:ToggleButton x:Name="BtnUpdate" DynamicText="{DynamicResource btgl_update_main}" VerticalAlignment="Top" Height="25" Margin="40,15,0,0" ChangedState="BtnUpdate_ChangedState"/>-- <StackPanel Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="40,15,0,0">+ <StackPanel Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="40,10,0,0"><TextBlock Style="{StaticResource Text_In}" Foreground="{StaticResource Color_Highlighted}" Text="{DynamicResource cmbox_lang_main}"/><ComboBox x:Name="LanguageSelectionMenu" Height="25" Width="155" Margin="10,-5,0,0" SelectionChanged="LanguageSelectionMenu_SelectionChanged" ><TextBlock Text="{DynamicResource cmbox_eng_main}"/>@@ -224,7 +223,7 @@<StackPanel Orientation="Horizontal" Margin="40,15,0,0"><TextBlock Style="{StaticResource Text_In}" Foreground="{StaticResource Color_Highlighted}" Margin="0,4,0,0" Text="{DynamicResource text_saveconfig}"/>- <Button x:Name="BtnExport" Style="{StaticResource BtnDefault}" Width="106" Height="26" Margin="11,0,0,0" Cursor="Hand" PreviewMouseDown="BtnExport_PreviewMouseDown">+ <Button x:Name="BtnExport" Style="{StaticResource BtnDefault}" Width="106" Height="26" Margin="10,0,0,0" Cursor="Hand" PreviewMouseDown="BtnExport_PreviewMouseDown"><StackPanel Orientation="Horizontal"><TextBlock Text="{DynamicResource btn_export}" Margin="0,2,0,0"/><Image Margin="5,0,0,0" Width="20" Height="20">@@ -250,7 +249,7 @@</Button></StackPanel>- <StackPanel Orientation="Horizontal" Margin="40,15,0,0">+ <StackPanel Orientation="Horizontal" Margin="40,20,0,0"><TextBlock Style="{StaticResource Text_In}" Foreground="{StaticResource Color_Highlighted}" Margin="0,4,0,0" Text="{DynamicResource text_selfremove}"/><Button x:Name="BtnDelete" Content="{DynamicResource btn_selfremove}" Style="{StaticResource BtnDefault}" Width="107" Height="26" Margin="10,0,0,0" Cursor="Hand" PreviewMouseDown="BtnDelete_PreviewMouseDown"/></StackPanel>diff --git a/.Source/GTweak/Windows/MainWindow.xaml.cs b/.Source/GTweak/Windows/MainWindow.xaml.csindex 72987f28..752d851c 100644--- a/.Source/GTweak/Windows/MainWindow.xaml.cs+++ b/.Source/GTweak/Windows/MainWindow.xaml.cs@@ -20,9 +20,9 @@ namespace GTweakInitializeComponent();BtnNotification.StateNA = Settings.IsViewNotification;- BtnSoundNtn.StateNA = Settings.IsSoundNotification;BtnTopMost.StateNA = Topmost = Settings.IsTopMost;BtnUpdate.StateNA = Settings.IsСheckingUpdate;+ BtnSoundNtn.IsChecked = Settings.IsSoundNotification;SliderVolume.Value = Settings.VolumeNotification;LanguageSelectionMenu.SelectedIndex = Settings.Language == "en" ? 0 : 1;ThemeSelectionMenu.SelectedIndex = Settings.Theme switch@@ -143,8 +143,6 @@ namespace GTweak#region Settings Menuprivate void BtnNotification_ChangedState(object sender, EventArgs e) => Parallel.Invoke(() => { Settings.ChangingParameters(!BtnNotification.State, "Notification"); });- private void BtnSoundNtn_ChangedState(object sender, EventArgs e) => Parallel.Invoke(() => { Settings.ChangingParameters(!BtnSoundNtn.State, "Sound"); });-private void BtnUpdate_ChangedState(object sender, EventArgs e) => Parallel.Invoke(() => { Settings.ChangingParameters(!BtnUpdate.State, "Update"); });private void BtnTopMost_ChangedState(object sender, EventArgs e)@@ -162,6 +160,12 @@ namespace GTweakParallel.Invoke(() => { Settings.ChangingParameters(SliderVolume.Value, "Volume"); });}+ private void BtnSoundNtn_PreviewMouseDown(object sender, MouseButtonEventArgs e)+ {+ if (e.LeftButton == MouseButtonState.Pressed)+ Parallel.Invoke(() => { Settings.ChangingParameters(!BtnSoundNtn.IsChecked, "Sound"); });+ }+private void LanguageSelectionMenu_SelectionChanged(object sender, SelectionChangedEventArgs e){switch (LanguageSelectionMenu.SelectedIndex)diff --git a/Assets/SVG Others/VolumeOff.svg b/Assets/SVG Others/VolumeOff.svgnew file mode 100644index 00000000..dd265cf0--- /dev/null+++ b/Assets/SVG Others/VolumeOff.svg@@ -0,0 +1,8 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32px" height="32px" viewBox="0 0 32 32" version="1.1">+<g id="surface1">+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 17.921875 3.199219 C 18.464844 3.296875 18.976562 3.390625 19.519531 3.519531 C 19.679688 4.160156 19.839844 4.769531 19.96875 5.40625 C 20.0625 5.761719 20.128906 6.113281 20.222656 6.464844 C 20.832031 9.601562 20.863281 12.703125 20.832031 15.871094 C 20.832031 16.097656 20.832031 16.320312 20.832031 16.574219 C 20.832031 25.214844 20.832031 25.214844 19.167969 28.800781 C 17.632812 28.671875 16.769531 27.902344 15.648438 26.910156 C 15.265625 26.59375 14.910156 26.273438 14.527344 25.953125 C 13.984375 25.472656 13.441406 24.992188 12.894531 24.480469 C 10.433594 22.207031 8.609375 21.40625 5.246094 21.535156 C 4.160156 21.441406 4.160156 21.441406 3.230469 20.863281 C 2.207031 19.296875 2.335938 17.824219 2.367188 16 C 2.367188 15.648438 2.367188 15.296875 2.335938 14.945312 C 2.335938 13.40625 2.367188 12.449219 3.167969 11.105469 C 4.511719 10.304688 5.566406 10.335938 7.105469 10.433594 C 7.359375 10.433594 7.648438 10.433594 7.902344 10.433594 C 9.855469 10.464844 9.855469 10.464844 10.207031 10.847656 C 10.238281 11.425781 10.238281 12 10.238281 12.542969 C 10.238281 12.894531 10.238281 13.246094 10.238281 13.601562 C 10.238281 13.953125 10.238281 14.335938 10.238281 14.6875 C 10.238281 15.039062 10.238281 15.425781 10.238281 15.808594 C 10.238281 16.703125 10.238281 17.632812 10.238281 18.527344 C 9.632812 18.71875 9.632812 18.71875 8.960938 18.847656 C 8.640625 18.527344 8.640625 18.527344 8.609375 17.921875 C 8.609375 17.664062 8.609375 17.375 8.609375 17.121094 C 8.609375 16.832031 8.609375 16.542969 8.609375 16.257812 C 8.609375 15.96875 8.609375 15.648438 8.609375 15.328125 C 8.609375 15.039062 8.609375 14.71875 8.609375 14.398438 C 8.609375 13.632812 8.609375 12.894531 8.609375 12.128906 C 7.96875 12.160156 7.328125 12.222656 6.71875 12.257812 C 6.367188 12.289062 6.015625 12.320312 5.664062 12.320312 C 4.832031 12.320312 4.832031 12.320312 4.480469 12.734375 C 4.449219 13.214844 4.449219 13.695312 4.449219 14.144531 C 4.449219 14.433594 4.449219 14.71875 4.449219 15.007812 C 4.449219 15.296875 4.449219 15.617188 4.449219 15.9375 C 4.449219 16.222656 4.449219 16.542969 4.449219 16.863281 C 4.449219 17.152344 4.449219 17.441406 4.449219 17.726562 C 4.449219 17.984375 4.449219 18.273438 4.449219 18.527344 C 4.414062 19.199219 4.414062 19.199219 4.800781 19.519531 C 5.375 19.519531 5.953125 19.488281 6.558594 19.488281 C 9.664062 19.488281 11.230469 20.257812 13.40625 22.398438 C 13.566406 22.558594 13.726562 22.71875 13.886719 22.878906 C 14.71875 23.679688 15.648438 24.351562 16.574219 25.023438 C 17.054688 25.375 17.054688 25.375 17.535156 25.726562 C 17.761719 25.886719 17.984375 26.046875 18.238281 26.238281 C 19.167969 19.390625 19.167969 12.609375 18.238281 5.761719 C 17.953125 5.984375 17.632812 6.238281 17.34375 6.464844 C 16.960938 6.785156 16.542969 7.105469 16.160156 7.425781 C 15.96875 7.585938 15.777344 7.742188 15.585938 7.902344 C 14.976562 8.382812 14.398438 8.832031 13.792969 9.28125 C 13.472656 9.503906 13.472656 9.503906 13.183594 9.761719 C 12.671875 10.144531 12.097656 10.527344 11.550781 10.878906 C 11.230469 10.785156 10.910156 10.65625 10.59375 10.558594 C 10.6875 9.566406 10.785156 9.089844 11.519531 8.351562 C 11.777344 8.160156 12.03125 7.96875 12.320312 7.777344 C 12.609375 7.550781 12.894531 7.328125 13.183594 7.105469 C 13.632812 6.753906 13.632812 6.753906 14.113281 6.398438 C 14.753906 5.886719 15.390625 5.34375 16.0625 4.832031 C 16.351562 4.574219 16.640625 4.351562 16.960938 4.097656 C 17.246094 3.808594 17.601562 3.519531 17.921875 3.199219 Z M 17.921875 3.199219 "/>+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 31.519531 21.566406 C 31.105469 21.953125 30.433594 21.886719 30.046875 21.472656 L 21.664062 11.871094 C 21.28125 11.457031 21.34375 10.785156 21.761719 10.398438 C 22.175781 10.015625 22.847656 10.078125 23.230469 10.496094 L 31.617188 20.097656 C 32 20.542969 31.96875 21.183594 31.519531 21.566406 Z M 31.519531 21.566406 "/>+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 21.761719 21.566406 C 22.175781 21.953125 22.847656 21.886719 23.230469 21.472656 L 31.617188 11.871094 C 32 11.457031 31.9375 10.785156 31.519531 10.398438 C 31.105469 10.015625 30.433594 10.078125 30.046875 10.496094 L 21.664062 20.097656 C 21.28125 20.542969 21.34375 21.183594 21.761719 21.566406 Z M 21.761719 21.566406 "/>+</g>+</svg>diff --git a/Assets/SVG Others/VolumeOn.svg b/Assets/SVG Others/VolumeOn.svgnew file mode 100644index 00000000..a872d93c--- /dev/null+++ b/Assets/SVG Others/VolumeOn.svg@@ -0,0 +1,8 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32px" height="32px" viewBox="0 0 32 32" version="1.1">+<g id="surface1">+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 17.921875 3.199219 C 18.457031 3.292969 18.988281 3.398438 19.519531 3.519531 C 19.675781 4.144531 19.828125 4.773438 19.980469 5.398438 C 20.066406 5.75 20.152344 6.097656 20.238281 6.457031 C 20.855469 9.578125 20.863281 12.710938 20.859375 15.878906 C 20.859375 16.105469 20.859375 16.335938 20.859375 16.566406 C 20.84375 25.210938 20.84375 25.210938 19.199219 28.800781 C 17.648438 28.660156 16.792969 27.902344 15.679688 26.898438 C 15.308594 26.582031 14.9375 26.261719 14.566406 25.945312 C 14.011719 25.464844 13.464844 24.980469 12.925781 24.484375 C 10.464844 22.230469 8.652344 21.410156 5.289062 21.554688 C 4.160156 21.441406 4.160156 21.441406 3.222656 20.875 C 2.214844 19.296875 2.328125 17.835938 2.359375 16 C 2.355469 15.65625 2.347656 15.308594 2.339844 14.953125 C 2.351562 13.429688 2.386719 12.445312 3.1875 11.128906 C 4.53125 10.34375 5.59375 10.371094 7.121094 10.441406 C 7.386719 10.445312 7.648438 10.449219 7.921875 10.453125 C 9.863281 10.5 9.863281 10.5 10.238281 10.878906 C 10.269531 11.449219 10.273438 12.019531 10.269531 12.589844 C 10.269531 12.9375 10.269531 13.28125 10.269531 13.636719 C 10.265625 14 10.261719 14.367188 10.261719 14.738281 C 10.257812 15.105469 10.257812 15.46875 10.253906 15.84375 C 10.25 16.75 10.246094 17.65625 10.238281 18.558594 C 9.621094 18.738281 9.621094 18.738281 8.960938 18.878906 C 8.640625 18.558594 8.640625 18.558594 8.605469 17.9375 C 8.605469 17.667969 8.605469 17.402344 8.609375 17.128906 C 8.609375 16.839844 8.609375 16.554688 8.613281 16.257812 C 8.613281 15.953125 8.617188 15.652344 8.621094 15.339844 C 8.621094 15.035156 8.621094 14.730469 8.625 14.417969 C 8.628906 13.667969 8.632812 12.914062 8.640625 12.160156 C 8.007812 12.203125 7.375 12.253906 6.738281 12.300781 C 6.386719 12.324219 6.035156 12.351562 5.671875 12.378906 C 4.828125 12.386719 4.828125 12.386719 4.480469 12.800781 C 4.449219 13.273438 4.4375 13.746094 4.4375 14.21875 C 4.4375 14.507812 4.4375 14.792969 4.4375 15.085938 C 4.4375 15.386719 4.4375 15.691406 4.441406 16 C 4.4375 16.300781 4.4375 16.601562 4.4375 16.914062 C 4.4375 17.199219 4.4375 17.484375 4.4375 17.78125 C 4.4375 18.042969 4.4375 18.308594 4.4375 18.582031 C 4.410156 19.203125 4.410156 19.203125 4.800781 19.519531 C 5.382812 19.507812 5.96875 19.496094 6.550781 19.484375 C 9.667969 19.472656 11.214844 20.25 13.410156 22.394531 C 13.570312 22.558594 13.730469 22.71875 13.898438 22.882812 C 14.730469 23.675781 15.652344 24.34375 16.578125 25.019531 C 17.058594 25.375 17.058594 25.375 17.546875 25.734375 C 17.773438 25.902344 18.003906 26.066406 18.238281 26.238281 C 19.164062 19.402344 19.164062 12.597656 18.238281 5.761719 C 17.941406 5.996094 17.644531 6.230469 17.339844 6.472656 C 16.9375 6.789062 16.539062 7.105469 16.140625 7.421875 C 15.945312 7.574219 15.75 7.730469 15.550781 7.886719 C 14.957031 8.355469 14.359375 8.820312 13.761719 9.28125 C 13.457031 9.519531 13.457031 9.519531 13.144531 9.765625 C 12.621094 10.164062 12.074219 10.523438 11.519531 10.878906 C 11.203125 10.773438 10.886719 10.667969 10.558594 10.558594 C 10.660156 9.554688 10.769531 9.074219 11.488281 8.34375 C 11.75 8.152344 12.011719 7.957031 12.28125 7.761719 C 12.566406 7.542969 12.851562 7.328125 13.144531 7.105469 C 13.609375 6.753906 13.609375 6.753906 14.078125 6.398438 C 14.730469 5.875 15.375 5.351562 16.019531 4.820312 C 16.3125 4.578125 16.609375 4.339844 16.910156 4.089844 C 17.257812 3.804688 17.601562 3.515625 17.921875 3.199219 Z M 17.921875 3.199219 "/>+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 26.238281 7.679688 C 27.027344 7.796875 27.410156 7.855469 27.902344 8.5 C 28.050781 8.816406 28.050781 8.816406 28.199219 9.140625 C 28.300781 9.34375 28.398438 9.550781 28.503906 9.761719 C 29.265625 11.816406 29.566406 13.722656 29.558594 15.898438 C 29.558594 16.148438 29.558594 16.398438 29.558594 16.65625 C 29.503906 19.296875 29.082031 22.320312 27.199219 24.320312 C 26.882812 24.320312 26.566406 24.320312 26.238281 24.320312 C 25.820312 23.167969 26.023438 22.578125 26.519531 21.480469 C 28.269531 17.332031 27.589844 13.230469 26.160156 9.078125 C 25.921875 8.320312 25.921875 8.320312 26.238281 7.679688 Z M 26.238281 7.679688 "/>+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 23.359375 10.238281 C 23.960938 10.441406 23.960938 10.441406 24.640625 10.878906 C 25.816406 13.800781 25.929688 17.164062 24.960938 20.160156 C 24.441406 21.160156 24.441406 21.160156 24 21.761719 C 23.578125 21.546875 23.15625 21.335938 22.71875 21.121094 C 22.824219 20.804688 22.929688 20.488281 23.039062 20.160156 C 23.675781 17.613281 23.714844 14.410156 23 11.878906 C 22.90625 11.550781 22.816406 11.21875 22.71875 10.878906 C 22.929688 10.667969 23.140625 10.457031 23.359375 10.238281 Z M 23.359375 10.238281 "/>+</g>+</svg>