terminal/res
Dustin L. Howett 5a1c931f77
Update WT's icon at runtime to match high-contrast as applicable (#7971)
This commit introduces 8 more variants of the .ICO file, embeds the
right ones into WindowsTerminal.exe, and adds code that will select the
most appropriate icon at runtime.

Since we're a Centennial application, the "application" icon inside our
package isn't used by the shell for the taskbar thumbnails or the
Alt-Tab window.

To quote J. Tippet,
> I believe there are two possible fixes:
>
> 1. Fix the OS shell to prefer the MRT icon instead of preferring the
>    win32 icon
> 2. Add alternate versions of /res/terminal.ico
> The 1st fix is clearly better, since it benefits any hybrid app. But
> the 2nd fix is much easier, since it'd just take about an hour to gin up
> a new .ico file and hack the .RC file to refer to it when building the
> preview flavor.

... and to quote Michael Ratanapintha,

> Basically, if your MSIX-packaged desktop app's image resources are
> separate files or even separate MSIX packages, they may be loaded by
> MRT. If they're embedded in the .exe, they're the old-fashioned Win32
> resources Mr. Tippet is referring to.

This is the "2nd fix."

Fixes #6777

Co-authored-by: Jeffrey Tippet <jtippet@ntdev.microsoft.com>
2020-10-28 00:39:38 +00:00
..
terminal Update WT's icon at runtime to match high-contrast as applicable (#7971) 2020-10-28 00:39:38 +00:00
Cascadia.ttf Update Cascadia Code to 2009.21 (#7693) 2020-09-21 12:40:34 -07:00
CascadiaMono.ttf Update Cascadia Code to 2009.21 (#7693) 2020-09-21 12:40:34 -07:00
console.ico Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
LICENSE Integrate the new icon; license assets under CC BY-ND 4.0 (#1303) 2019-06-17 19:34:27 -07:00
README.md Prepare for the primary branch name to change to main (#7985) 2020-10-21 17:29:36 -07:00
terminal.ico Integrate the new icon; license assets under CC BY-ND 4.0 (#1303) 2019-06-17 19:34:27 -07:00
truetype.bmp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00

Windows Terminal and Console Assets

Images

The images in this directory do not fall under the same license as the rest of the Windows Terminal code.

Please consult the license in this directory for terms applicable to the image assets in this directory.

Fonts

The fonts in this directory do not fall under the same license as the rest of the Windows Terminal code.

Please consult the license in the microsoft/cascadia-code repository for terms applicable to the fonts in this directory.

Fonts Included