forked from dnSpy/dnSpy
-
-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
221 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 31 additions & 33 deletions
64
dnSpy/dnSpy/Lib/EleCho.WpfSuite/Utilities/WindowAccentState.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,36 @@ | ||
namespace EleCho.WpfSuite | ||
{ | ||
/// <summary> | ||
/// Window accent state | ||
/// </summary> | ||
public enum WindowAccentState | ||
{ | ||
/// <summary> | ||
/// None | ||
/// </summary> | ||
None, | ||
namespace EleCho.WpfSuite { | ||
/// <summary> | ||
/// Window accent state | ||
/// </summary> | ||
public enum WindowAccentState { | ||
/// <summary> | ||
/// None | ||
/// </summary> | ||
None, | ||
|
||
/// <summary> | ||
/// Gradient | ||
/// </summary> | ||
Gradient = 1, | ||
/// <summary> | ||
/// Gradient | ||
/// </summary> | ||
Gradient = 1, | ||
|
||
/// <summary> | ||
/// Transparent | ||
/// </summary> | ||
Transparent = 2, | ||
|
||
/// <summary> | ||
/// Blur behind | ||
/// </summary> | ||
BlurBehind = 3, | ||
/// <summary> | ||
/// Transparent | ||
/// </summary> | ||
Transparent = 2, | ||
|
||
/// <summary> | ||
/// Acrylic blur behind | ||
/// </summary> | ||
AcrylicBlurBehind = 4, | ||
/// <summary> | ||
/// Blur behind | ||
/// </summary> | ||
BlurBehind = 3, | ||
|
||
/// <summary> | ||
/// Host backdrop | ||
/// </summary> | ||
HostBackdrop = 5, | ||
} | ||
/// <summary> | ||
/// Acrylic blur behind | ||
/// </summary> | ||
AcrylicBlurBehind = 4, | ||
|
||
/// <summary> | ||
/// Host backdrop | ||
/// </summary> | ||
HostBackdrop = 5, | ||
} | ||
} |
56 changes: 27 additions & 29 deletions
56
dnSpy/dnSpy/Lib/EleCho.WpfSuite/Utilities/WindowBackdrop.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,33 @@ | ||
using System.Windows.Media; | ||
using System.Windows.Media; | ||
|
||
namespace EleCho.WpfSuite | ||
{ | ||
/// <summary> | ||
/// Window backdrop | ||
/// </summary> | ||
public enum WindowBackdrop | ||
{ | ||
/// <summary> | ||
/// Automatic | ||
/// </summary> | ||
Auto = 0, | ||
namespace EleCho.WpfSuite { | ||
/// <summary> | ||
/// Window backdrop | ||
/// </summary> | ||
public enum WindowBackdrop { | ||
/// <summary> | ||
/// Automatic | ||
/// </summary> | ||
Auto = 0, | ||
|
||
/// <summary> | ||
/// None | ||
/// </summary> | ||
None = 1, | ||
/// <summary> | ||
/// None | ||
/// </summary> | ||
None = 1, | ||
|
||
/// <summary> | ||
/// Mica | ||
/// </summary> | ||
Mica = 2, | ||
/// <summary> | ||
/// Mica | ||
/// </summary> | ||
Mica = 2, | ||
|
||
/// <summary> | ||
/// Acrylic | ||
/// </summary> | ||
Acrylic = 3, | ||
/// <summary> | ||
/// Acrylic | ||
/// </summary> | ||
Acrylic = 3, | ||
|
||
/// <summary> | ||
/// Mica alternate | ||
/// </summary> | ||
MicaAlt = 4 | ||
} | ||
/// <summary> | ||
/// Mica alternate | ||
/// </summary> | ||
MicaAlt = 4 | ||
} | ||
} |
46 changes: 22 additions & 24 deletions
46
dnSpy/dnSpy/Lib/EleCho.WpfSuite/Utilities/WindowCorner.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
namespace EleCho.WpfSuite | ||
{ | ||
/// <summary> | ||
/// Window corner | ||
/// </summary> | ||
public enum WindowCorner | ||
{ | ||
/// <summary> | ||
/// Default | ||
/// </summary> | ||
Default = 0, | ||
namespace EleCho.WpfSuite { | ||
/// <summary> | ||
/// Window corner | ||
/// </summary> | ||
public enum WindowCorner { | ||
/// <summary> | ||
/// Default | ||
/// </summary> | ||
Default = 0, | ||
|
||
/// <summary> | ||
/// Do not round | ||
/// </summary> | ||
DoNotRound = 1, | ||
/// <summary> | ||
/// Do not round | ||
/// </summary> | ||
DoNotRound = 1, | ||
|
||
/// <summary> | ||
/// Round | ||
/// </summary> | ||
Round = 2, | ||
/// <summary> | ||
/// Round | ||
/// </summary> | ||
Round = 2, | ||
|
||
/// <summary> | ||
/// Round small | ||
/// </summary> | ||
RoundSmall = 3 | ||
} | ||
/// <summary> | ||
/// Round small | ||
/// </summary> | ||
RoundSmall = 3 | ||
} | ||
} |
Oops, something went wrong.