Advertisement
Guest User

SWCA.cs

a guest
Jan 19th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.85 KB | None | 0 0
  1. public enum AccentState
  2. {
  3.     ACCENT_DISABLED = 0,                    // Black and solid background
  4.     ACCENT_ENABLE_GRADIENT = 1,             // Custom-colored solid background
  5.     ACCENT_ENABLE_TRANSPARENTGRADIENT = 2,  // Custom-colored transparent background
  6.     ACCENT_ENABLE_BLURBEHIND = 3,           // Custom-colored and blurred transparent background
  7.     ACCENT_ENABLE_FLUENT = 4,               // Custom-colored Fluent effect
  8.     ACCENT_INVALID_STATE = 5                // Completely transparent background
  9. }
  10.  
  11. [StructLayout(LayoutKind.Sequential)]
  12. private struct AccentPolicy
  13. {
  14.     AccentState AccentState;
  15.     int AccentFlags;              // Set to 2 to have a custom color if possible. If not possible, custom color is ignored anyways
  16.     uint GradientColor;           // Custom color in format AABBGGRR
  17.     int AnimationId;              // No idea what this does
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement