Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public enum AccentState
- {
- ACCENT_DISABLED = 0, // Black and solid background
- ACCENT_ENABLE_GRADIENT = 1, // Custom-colored solid background
- ACCENT_ENABLE_TRANSPARENTGRADIENT = 2, // Custom-colored transparent background
- ACCENT_ENABLE_BLURBEHIND = 3, // Custom-colored and blurred transparent background
- ACCENT_ENABLE_FLUENT = 4, // Custom-colored Fluent effect
- ACCENT_INVALID_STATE = 5 // Completely transparent background
- }
- [StructLayout(LayoutKind.Sequential)]
- private struct AccentPolicy
- {
- AccentState AccentState;
- int AccentFlags; // Set to 2 to have a custom color if possible. If not possible, custom color is ignored anyways
- uint GradientColor; // Custom color in format AABBGGRR
- int AnimationId; // No idea what this does
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement