Reversing MainWindow Blur call and settings window modification

Added WindowsAccentMode to Base theme
This commit is contained in:
Boris Makogonyuk
2015-11-10 03:37:34 +01:00
parent f24a6f0e3c
commit d8b806966a
4 changed files with 3 additions and 16 deletions

View File

@@ -207,7 +207,6 @@ namespace Wox
InitialTray(); InitialTray();
Closing += MainWindow_Closing; Closing += MainWindow_Closing;
} }
@@ -256,7 +255,6 @@ namespace Wox
InitProgressbarAnimation(); InitProgressbarAnimation();
WindowIntelopHelper.DisableControlBox(this); WindowIntelopHelper.DisableControlBox(this);
WindowIntelopHelper.EnableBlur(this);
CheckUpdate(); CheckUpdate();
} }

View File

@@ -199,20 +199,7 @@
</ComboBox.ItemTemplate> </ComboBox.ItemTemplate>
</ComboBox> </ComboBox>
</StackPanel> </StackPanel>
<StackPanel Orientation="Horizontal" Margin="0 2">
<TextBlock Text="{DynamicResource windowsAccents}"/>
<ComboBox Width="100">
<ComboBox.Items>
<ComboBoxItem Content="None"/>
<ComboBoxItem Content="Accent"/>
<ComboBoxItem Content="Accent Blur"/>
<ComboBoxItem Content="Blur"/>
</ComboBox.Items>
</ComboBox>
</StackPanel>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Grid> </Grid>

View File

@@ -27,6 +27,7 @@
<Setter Property="Stroke" Value="Blue" /> <Setter Property="Stroke" Value="Blue" />
</Style> </Style>
<system:Int32 x:Key="WindowsAccentMode">0</system:Int32>
<!-- Item Style --> <!-- Item Style -->
<Style x:Key="BaseItemTitleStyle" TargetType="{x:Type TextBlock}"> <Style x:Key="BaseItemTitleStyle" TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#FFFFF8" /> <Setter Property="Foreground" Value="#FFFFF8" />

View File

@@ -9,7 +9,8 @@
</Style> </Style>
<Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}"> <Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}">
<Setter Property="Background" Value="#80FFFFFF" /> <Setter Property="Background" Value="Transparent" />
<!--<Setter Property="Background" Value="#80FFFFFF" />-->
</Style> </Style>