terminal/src/renderer/dx
Leon Liang a404778271 Add Selection Background Color as a setting to Profiles and Col… (#3471)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? -->
## Summary of the Pull Request
This introduces a setting to both Profiles and ColorSchemes called <code>selectionBackground</code> that allows you to change the selection background color to what's specified. If <code>selectionBackground</code> isn't set in either the profile or color scheme, it'll default to what it was before - white.

<!-- Please review the items on the PR checklist before submitting-->
## PR Checklist
* [x] Closes #3326
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [x] Tests added/passed
* [x] Requires documentation to be updated

<!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well -->
## Validation Steps Performed
- Added selectionBackground to existing profile and colorscheme tests.
- Verified that the color does change to what I expect it to be when I add "selectionBackground" to either/both a profile and a color scheme.


<hr>

* adding selectionBackground to ColorScheme and TerminalSettings

* Changing PaintSelection inside the renderers to take a SelectionBackground COLORREF

* changes to conhost and terminal renderdata, and to terminal settings and core

* IT WORKS

* modification of unit tests, json schemas, reordering of functions

* more movement

* changed a couple of unit tests to add selectionBackground, added the setting to schemas, also added the optional setting to profiles

* default selection background should be slightly offwhite like the default foreground is

* reverting changes to .sln

* cleaning up

* adding comment

* oops

* added clangformat to my vs hehe

* moving selectionBackground to IControlSettings and removing from ICoreSettings

* trying to figure out why the WHOLE FILE LOOKS LIKE ITS CHANGED

* here it goes again

* pls

* adding default foreground as the default for selection background in dx
2019-11-13 12:17:39 -06:00
..
lib Unify and clean up the common build properties (#3429) 2019-11-05 14:29:11 -08:00
CustomTextLayout.cpp Reduce text layout CPU usage when DWrite analysis is not needed (#2959) 2019-10-17 11:06:14 -07:00
CustomTextLayout.h C26429, mark as not_null if not testing for nullness. 2019-09-03 15:23:44 -07:00
CustomTextRenderer.cpp dx: don't check the OS version multiple times (#3480) 2019-11-08 14:14:46 -08:00
CustomTextRenderer.h remove null check from glyph run drawing as it's truly optional (#2791) 2019-09-17 10:25:22 -07:00
dirs Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
DxRenderer.cpp Add Selection Background Color as a setting to Profiles and Col… (#3471) 2019-11-13 12:17:39 -06:00
DxRenderer.hpp Add Selection Background Color as a setting to Profiles and Col… (#3471) 2019-11-13 12:17:39 -06:00
precomp.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
precomp.h Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
sources.inc Sync with latest inbox changes 2019-10-17 15:11:07 -07:00