-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Update WT's icon at runtime to match high-contrast as applicable #7971
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
91706a5
Update IslandWindow's icon to match dev/pre and hc/not-hc
DHowett db57695
Make better
DHowett eb3a134
Generate .ico files
DHowett ff72200
Regenerate dev, generate dev+pre+default .ico files
DHowett 01ffc19
Don't do runtime detection of the package type.
DHowett ef5403d
Improve interoperability of the .ICO files' encoding
aa4b7a4
Merge remote-tracking branch 'origin/main' into dev/duhowett/hax/icons
DHowett 62dc3dc
Update icons from Square44x44 (i feel bad abt this)
DHowett 5b89c5a
Update the icon when HC turns on/off
DHowett b501768
FOR THE LOVE OF
DHowett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+520 Bytes
(140%)
res/terminal/images-Dev/LargeTile.scale-100_contrast-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+542 Bytes
(150%)
res/terminal/images-Dev/LargeTile.scale-100_contrast-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+658 Bytes
(140%)
res/terminal/images-Dev/LargeTile.scale-125_contrast-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+659 Bytes
(140%)
res/terminal/images-Dev/LargeTile.scale-125_contrast-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+709 Bytes
(140%)
res/terminal/images-Dev/LargeTile.scale-150_contrast-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+679 Bytes
(140%)
res/terminal/images-Dev/LargeTile.scale-150_contrast-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+905 Bytes
(140%)
res/terminal/images-Dev/LargeTile.scale-200_contrast-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+914 Bytes
(140%)
res/terminal/images-Dev/LargeTile.scale-200_contrast-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.51 KB
(130%)
res/terminal/images-Dev/LargeTile.scale-400_contrast-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.49 KB
(120%)
res/terminal/images-Dev/LargeTile.scale-400_contrast-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+231 Bytes
(160%)
res/terminal/images-Dev/LockScreenLogo.scale-100_contrast-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+150 Bytes
(130%)
res/terminal/images-Dev/LockScreenLogo.scale-100_contrast-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+284 Bytes
(160%)
res/terminal/images-Dev/LockScreenLogo.scale-125_contrast-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+167 Bytes
(130%)
res/terminal/images-Dev/LockScreenLogo.scale-125_contrast-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+367 Bytes
(180%)
res/terminal/images-Dev/LockScreenLogo.scale-150_contrast-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+227 Bytes
(150%)
res/terminal/images-Dev/LockScreenLogo.scale-150_contrast-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+402 Bytes
(170%)
res/terminal/images-Dev/LockScreenLogo.scale-200_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+240 Bytes
(140%)
res/terminal/images-Dev/LockScreenLogo.scale-200_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+829 Bytes
(190%)
res/terminal/images-Dev/LockScreenLogo.scale-400_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+469 Bytes
(150%)
res/terminal/images-Dev/LockScreenLogo.scale-400_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+243 Bytes
(140%)
res/terminal/images-Dev/SmallTile.scale-100_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+251 Bytes
(150%)
res/terminal/images-Dev/SmallTile.scale-100_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+299 Bytes
(150%)
res/terminal/images-Dev/SmallTile.scale-125_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+303 Bytes
(150%)
res/terminal/images-Dev/SmallTile.scale-125_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+375 Bytes
(160%)
res/terminal/images-Dev/SmallTile.scale-150_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+381 Bytes
(160%)
res/terminal/images-Dev/SmallTile.scale-150_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+387 Bytes
(140%)
res/terminal/images-Dev/SmallTile.scale-200_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+377 Bytes
(150%)
res/terminal/images-Dev/SmallTile.scale-200_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+680 Bytes
(140%)
res/terminal/images-Dev/SmallTile.scale-400_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+641 Bytes
(140%)
res/terminal/images-Dev/SmallTile.scale-400_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+499 Bytes
(130%)
res/terminal/images-Dev/SplashScreen.scale-100_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+524 Bytes
(140%)
res/terminal/images-Dev/SplashScreen.scale-100_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+669 Bytes
(140%)
res/terminal/images-Dev/SplashScreen.scale-125_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+670 Bytes
(140%)
res/terminal/images-Dev/SplashScreen.scale-125_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+705 Bytes
(130%)
res/terminal/images-Dev/SplashScreen.scale-150_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+680 Bytes
(130%)
res/terminal/images-Dev/SplashScreen.scale-150_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+908 Bytes
(130%)
res/terminal/images-Dev/SplashScreen.scale-200_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+906 Bytes
(130%)
res/terminal/images-Dev/SplashScreen.scale-200_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+1.53 KB
(120%)
res/terminal/images-Dev/SplashScreen.scale-400_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+1.51 KB
(120%)
res/terminal/images-Dev/SplashScreen.scale-400_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+240 Bytes
(130%)
res/terminal/images-Dev/Square150x150Logo.scale-100_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+254 Bytes
(140%)
res/terminal/images-Dev/Square150x150Logo.scale-100_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+418 Bytes
(150%)
res/terminal/images-Dev/Square150x150Logo.scale-125_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+413 Bytes
(150%)
res/terminal/images-Dev/Square150x150Logo.scale-125_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+430 Bytes
(140%)
res/terminal/images-Dev/Square150x150Logo.scale-150_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+409 Bytes
(140%)
res/terminal/images-Dev/Square150x150Logo.scale-150_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+521 Bytes
(140%)
res/terminal/images-Dev/Square150x150Logo.scale-200_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+539 Bytes
(150%)
res/terminal/images-Dev/Square150x150Logo.scale-200_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+893 Bytes
(140%)
res/terminal/images-Dev/Square150x150Logo.scale-400_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+909 Bytes
(140%)
res/terminal/images-Dev/Square150x150Logo.scale-400_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+146 Bytes
(130%)
res/terminal/images-Dev/Square44x44Logo.scale-100_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+152 Bytes
(130%)
res/terminal/images-Dev/Square44x44Logo.scale-100_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+229 Bytes
(140%)
res/terminal/images-Dev/Square44x44Logo.scale-125_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+228 Bytes
(140%)
res/terminal/images-Dev/Square44x44Logo.scale-125_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+233 Bytes
(140%)
res/terminal/images-Dev/Square44x44Logo.scale-150_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+237 Bytes
(140%)
res/terminal/images-Dev/Square44x44Logo.scale-150_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+373 Bytes
(150%)
res/terminal/images-Dev/Square44x44Logo.scale-200_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+373 Bytes
(160%)
res/terminal/images-Dev/Square44x44Logo.scale-200_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+625 Bytes
(150%)
res/terminal/images-Dev/Square44x44Logo.scale-400_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+633 Bytes
(150%)
res/terminal/images-Dev/Square44x44Logo.scale-400_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+100 Bytes
(120%)
res/terminal/images-Dev/Square44x44Logo.targetsize-16.png
Oops, something went wrong.
Binary file modified
BIN
+100 Bytes
(120%)
res/terminal/images-Dev/Square44x44Logo.targetsize-16_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+111 Bytes
(140%)
...al/images-Dev/Square44x44Logo.targetsize-16_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+87 Bytes
(120%)
...al/images-Dev/Square44x44Logo.targetsize-16_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+111 Bytes
(140%)
res/terminal/images-Dev/Square44x44Logo.targetsize-16_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+87 Bytes
(120%)
res/terminal/images-Dev/Square44x44Logo.targetsize-16_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+124 Bytes
(120%)
res/terminal/images-Dev/Square44x44Logo.targetsize-20.png
Oops, something went wrong.
Binary file modified
BIN
+124 Bytes
(120%)
res/terminal/images-Dev/Square44x44Logo.targetsize-20_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+160 Bytes
(150%)
...al/images-Dev/Square44x44Logo.targetsize-20_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+113 Bytes
(130%)
...al/images-Dev/Square44x44Logo.targetsize-20_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+160 Bytes
(150%)
res/terminal/images-Dev/Square44x44Logo.targetsize-20_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+113 Bytes
(130%)
res/terminal/images-Dev/Square44x44Logo.targetsize-20_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+227 Bytes
(140%)
res/terminal/images-Dev/Square44x44Logo.targetsize-24.png
Oops, something went wrong.
Binary file modified
BIN
+227 Bytes
(140%)
res/terminal/images-Dev/Square44x44Logo.targetsize-24_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+231 Bytes
(160%)
...al/images-Dev/Square44x44Logo.targetsize-24_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+150 Bytes
(130%)
...al/images-Dev/Square44x44Logo.targetsize-24_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+231 Bytes
(160%)
res/terminal/images-Dev/Square44x44Logo.targetsize-24_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+150 Bytes
(130%)
res/terminal/images-Dev/Square44x44Logo.targetsize-24_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
-28 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-256.png
Oops, something went wrong.
Binary file modified
BIN
-28 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-256_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+1.74 KB
(170%)
...l/images-Dev/Square44x44Logo.targetsize-256_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+1.2 KB
(160%)
...l/images-Dev/Square44x44Logo.targetsize-256_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+1.74 KB
(170%)
res/terminal/images-Dev/Square44x44Logo.targetsize-256_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+1.2 KB
(160%)
res/terminal/images-Dev/Square44x44Logo.targetsize-256_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+238 Bytes
(130%)
res/terminal/images-Dev/Square44x44Logo.targetsize-30.png
Oops, something went wrong.
Binary file modified
BIN
+238 Bytes
(130%)
res/terminal/images-Dev/Square44x44Logo.targetsize-30_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+284 Bytes
(160%)
...al/images-Dev/Square44x44Logo.targetsize-30_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+167 Bytes
(130%)
...al/images-Dev/Square44x44Logo.targetsize-30_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+284 Bytes
(160%)
res/terminal/images-Dev/Square44x44Logo.targetsize-30_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+167 Bytes
(130%)
res/terminal/images-Dev/Square44x44Logo.targetsize-30_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-32_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+249 Bytes
(160%)
...al/images-Dev/Square44x44Logo.targetsize-32_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+146 Bytes
(130%)
...al/images-Dev/Square44x44Logo.targetsize-32_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+249 Bytes
(160%)
res/terminal/images-Dev/Square44x44Logo.targetsize-32_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+146 Bytes
(130%)
res/terminal/images-Dev/Square44x44Logo.targetsize-32_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-36_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+367 Bytes
(180%)
...al/images-Dev/Square44x44Logo.targetsize-36_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+227 Bytes
(150%)
...al/images-Dev/Square44x44Logo.targetsize-36_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+367 Bytes
(180%)
res/terminal/images-Dev/Square44x44Logo.targetsize-36_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+227 Bytes
(150%)
res/terminal/images-Dev/Square44x44Logo.targetsize-36_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-2 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-40_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+395 Bytes
(180%)
...al/images-Dev/Square44x44Logo.targetsize-40_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+223 Bytes
(140%)
...al/images-Dev/Square44x44Logo.targetsize-40_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+395 Bytes
(180%)
res/terminal/images-Dev/Square44x44Logo.targetsize-40_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+223 Bytes
(140%)
res/terminal/images-Dev/Square44x44Logo.targetsize-40_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+38 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-48_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+402 Bytes
(170%)
...al/images-Dev/Square44x44Logo.targetsize-48_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+240 Bytes
(140%)
...al/images-Dev/Square44x44Logo.targetsize-48_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+402 Bytes
(170%)
res/terminal/images-Dev/Square44x44Logo.targetsize-48_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+240 Bytes
(140%)
res/terminal/images-Dev/Square44x44Logo.targetsize-48_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+12 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-60_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+693 Bytes
(200%)
...al/images-Dev/Square44x44Logo.targetsize-60_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+363 Bytes
(160%)
...al/images-Dev/Square44x44Logo.targetsize-60_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+693 Bytes
(200%)
res/terminal/images-Dev/Square44x44Logo.targetsize-60_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+363 Bytes
(160%)
res/terminal/images-Dev/Square44x44Logo.targetsize-60_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+33 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-64_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+626 Bytes
(190%)
...al/images-Dev/Square44x44Logo.targetsize-64_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+356 Bytes
(160%)
...al/images-Dev/Square44x44Logo.targetsize-64_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+626 Bytes
(190%)
res/terminal/images-Dev/Square44x44Logo.targetsize-64_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+356 Bytes
(160%)
res/terminal/images-Dev/Square44x44Logo.targetsize-64_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+13 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-72_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+551 Bytes
(170%)
...al/images-Dev/Square44x44Logo.targetsize-72_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+343 Bytes
(150%)
...al/images-Dev/Square44x44Logo.targetsize-72_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+551 Bytes
(170%)
res/terminal/images-Dev/Square44x44Logo.targetsize-72_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+343 Bytes
(150%)
res/terminal/images-Dev/Square44x44Logo.targetsize-72_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+11 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-80_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+751 Bytes
(190%)
...al/images-Dev/Square44x44Logo.targetsize-80_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+439 Bytes
(160%)
...al/images-Dev/Square44x44Logo.targetsize-80_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+751 Bytes
(190%)
res/terminal/images-Dev/Square44x44Logo.targetsize-80_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+439 Bytes
(160%)
res/terminal/images-Dev/Square44x44Logo.targetsize-80_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+50 Bytes
(100%)
res/terminal/images-Dev/Square44x44Logo.targetsize-96_altform-unplated.png
Oops, something went wrong.
Binary file modified
BIN
+829 Bytes
(190%)
...al/images-Dev/Square44x44Logo.targetsize-96_altform-unplated_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+469 Bytes
(150%)
...al/images-Dev/Square44x44Logo.targetsize-96_altform-unplated_contrast-white.png
Oops, something went wrong.
Binary file modified
BIN
+829 Bytes
(190%)
res/terminal/images-Dev/Square44x44Logo.targetsize-96_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+469 Bytes
(150%)
res/terminal/images-Dev/Square44x44Logo.targetsize-96_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+239 Bytes
(140%)
res/terminal/images-Dev/StoreLogo.scale-100_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+254 Bytes
(150%)
res/terminal/images-Dev/StoreLogo.scale-100_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+294 Bytes
(150%)
res/terminal/images-Dev/StoreLogo.scale-125_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+298 Bytes
(150%)
res/terminal/images-Dev/StoreLogo.scale-125_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+363 Bytes
(160%)
res/terminal/images-Dev/StoreLogo.scale-150_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+367 Bytes
(160%)
res/terminal/images-Dev/StoreLogo.scale-150_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+380 Bytes
(150%)
res/terminal/images-Dev/StoreLogo.scale-200_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+367 Bytes
(150%)
res/terminal/images-Dev/StoreLogo.scale-200_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+646 Bytes
(150%)
res/terminal/images-Dev/StoreLogo.scale-400_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+627 Bytes
(150%)
res/terminal/images-Dev/StoreLogo.scale-400_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+256 Bytes
(130%)
res/terminal/images-Dev/Wide310x150Logo.scale-100_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+270 Bytes
(140%)
res/terminal/images-Dev/Wide310x150Logo.scale-100_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+424 Bytes
(140%)
res/terminal/images-Dev/Wide310x150Logo.scale-125_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+430 Bytes
(150%)
res/terminal/images-Dev/Wide310x150Logo.scale-125_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+444 Bytes
(140%)
res/terminal/images-Dev/Wide310x150Logo.scale-150_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+401 Bytes
(140%)
res/terminal/images-Dev/Wide310x150Logo.scale-150_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+499 Bytes
(130%)
res/terminal/images-Dev/Wide310x150Logo.scale-200_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+524 Bytes
(140%)
res/terminal/images-Dev/Wide310x150Logo.scale-200_contrast-white.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+908 Bytes
(130%)
res/terminal/images-Dev/Wide310x150Logo.scale-400_contrast-black.png
Oops, something went wrong.
Binary file modified
BIN
+906 Bytes
(130%)
res/terminal/images-Dev/Wide310x150Logo.scale-400_contrast-white.png
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
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
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
#include "pch.h" | ||
#include "resource.h" | ||
|
||
static int _GetActiveAppIconResource() | ||
{ | ||
auto iconResource{ IDI_APPICON }; | ||
|
||
HIGHCONTRASTW hcInfo{}; | ||
hcInfo.cbSize = sizeof(hcInfo); | ||
|
||
if (SystemParametersInfoW(SPI_GETHIGHCONTRAST, sizeof(hcInfo), &hcInfo, 0)) | ||
{ | ||
if (WI_IsFlagSet(hcInfo.dwFlags, HCF_HIGHCONTRASTON)) | ||
{ | ||
iconResource = IDI_APPICON_HC_BLACK; | ||
|
||
if (0x00FFFFFF == GetSysColor(COLOR_WINDOW)) // white window color == white high contrast | ||
{ | ||
iconResource = IDI_APPICON_HC_WHITE; | ||
} | ||
} | ||
} | ||
|
||
return iconResource; | ||
} | ||
|
||
void UpdateWindowIconForActiveMetrics(HWND window) | ||
{ | ||
auto iconResource{ MAKEINTRESOURCEW(_GetActiveAppIconResource()) }; | ||
|
||
// These handles are loaded with LR_SHARED, so they are safe to "leak". | ||
HANDLE smallIcon{ LoadImageW(wil::GetModuleInstanceHandle(), iconResource, IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), LR_SHARED) }; | ||
LOG_LAST_ERROR_IF_NULL(smallIcon); | ||
|
||
HANDLE largeIcon{ LoadImageW(wil::GetModuleInstanceHandle(), iconResource, IMAGE_ICON, GetSystemMetrics(SM_CXICON), GetSystemMetrics(SM_CYICON), LR_SHARED) }; | ||
LOG_LAST_ERROR_IF_NULL(largeIcon); | ||
|
||
if (smallIcon) | ||
{ | ||
SendMessageW(window, WM_SETICON, ICON_SMALL, reinterpret_cast<LPARAM>(smallIcon)); | ||
} | ||
if (largeIcon) | ||
{ | ||
SendMessageW(window, WM_SETICON, ICON_BIG, reinterpret_cast<LPARAM>(largeIcon)); | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
#pragma once | ||
|
||
void UpdateWindowIconForActiveMetrics(HWND window); |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you also mean to call this from WM_THEMECHANGED ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did, but I chose to defer that until we also get WM_SETTINGSCHANGED.