-
Notifications
You must be signed in to change notification settings - Fork 9k
added mica alt#17650 #19677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
added mica alt#17650 #19677
Conversation
|
@ayush45-ui please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.Unrecognized words (4)osvi These words are not needed and should be removedcoordnewTo accept these unrecognized words as correct and remove the previously acknowledged and now absent words, you could run the following commands... in a clone of the git@github.com:ayush45-ui/terminal.git repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.25/apply.pl' |
perl - 'https://github.com/microsoft/terminal/actions/runs/20469845152/attempts/1' &&
git commit -m 'Update check-spelling metadata'Pattern suggestions ✂️ (1)You could add these patterns to Alternatively, if a pattern suggestion doesn't make sense for this project, add a Warnings and Notices
|
| Count | |
|---|---|
| ℹ️ candidate-pattern | 1 |
| 1 |
See
✏️ Contributor please read this
By default the command suggestion will generate a file named based on your commit. That's generally ok as long as you add the file to your commit. Someone can reorganize it later.
If the listed items are:
- ... misspelled, then please correct them instead of using the command.
- ... names, please add them to
.github/actions/spelling/allow/names.txt. - ... APIs, you can add them to a file in
.github/actions/spelling/allow/. - ... just things you're using, please add them to an appropriate file in
.github/actions/spelling/expect/. - ... tokens you only need in one place and shouldn't generally be used, you can add an item in an appropriate file in
.github/actions/spelling/patterns/.
See the README.md in each directory for more information.
🔬 You can test your commits without appending to a PR by creating a new branch with that extra change and pushing it to your fork. The check-spelling action will run in response to your push -- it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. 😉
If the flagged items are 🤯 false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it,
try adding it to thepatterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
I created a complete implementation of Windows 11 Mica Alt backdrop material support for native Windows applications. This enables modern, fluent design integration using the Desktop Window Manager (DWM) API.
Changes Made
Added DWM attribute constants for backdrop control (DWMWA_SYSTEMBACKDROP_TYPE = 38)
Created backdrop type enumeration with 5 options: Auto, None, Mica, Mica Alt, and Tabbed
Implemented functions to apply Mica Alt, standard Mica, and remove backdrops
Added Windows 11 version detection (Build 22000+)
Built fallback mechanism for older Windows 11 builds using legacy DWMWA_MICA_EFFECT
Provided implementations in three formats:
C# (WPF): Full class with P/Invoke declarations and UI integration
C++ (Win32): Header-only implementation with WinMain example
JSON: Configuration documentation and API specifications
Multi-backdrop support (switch between Mica, Mica Alt, Tabbed at runtime)
Automatic OS compatibility checking
Error handling and validation
Easy one-line integration: ApplyMicaAlt(window)
Material Differences
Mica (Standard):
Lighter, more transparent appearance
Subtle desktop wallpaper tinting
Best for main application windows
Mica Alt:
Darker, more opaque variant
Reduced wallpaper influence
Ideal for secondary windows, dialogs, sidebars
References
Official Microsoft Documentation
DwmSetWindowAttribute function
https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/nf-dwmapi-dwmsetwindowattribute
Core API for setting window attributes
Apply Mica or Acrylic materials in desktop apps
https://learn.microsoft.com/en-us/windows/apps/design/style/mica
Official guide for implementing Mica materials
DWM_SYSTEMBACKDROP_TYPE enumeration
https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/ne-dwmapi-dwm_systembackdrop_type
Backdrop type values documentation
Windows 11 Design Principles
https://learn.microsoft.com/en-us/windows/apps/design/signature-experiences/design-principles
Fluent Design System overview
Community Resources
Windows App SDK Samples
https://github.com/microsoft/WindowsAppSDK-Samples
Official Microsoft code samples
Technical Requirements
Minimum OS: Windows 11 Build 22000
Full Mica Alt Support: Build 22621 (22H2 update)
DWM Composition: Must be enabled
Window Type: Non-layered windows only