diff options
author | TheGrizzlyDev <tonio9681@gmail.com> | 2021-12-17 22:59:01 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-12-28 17:10:44 +0100 |
commit | ebaf2112604553c2713dc5f84dd2b1fae54c07e2 (patch) | |
tree | 14afaed2cac619132152de20d83ba71066cfd911 /Userland/Libraries/LibVT/Terminal.h | |
parent | 1c05d39abc003bca16a7a56fdb131fc01dccc059 (diff) | |
download | serenity-ebaf2112604553c2713dc5f84dd2b1fae54c07e2.zip |
ThemeEditor: Implement a way to simulate color blindness in preview
Implement a mechanism that allows us to alter colors so that they
mimic those a colorblind person would see. From the color we can then
alter the colors for the whole preview so we can simulate everything
in the theme including icons/decorations.
This filter is also available as a Filter in LibGfx so it can be
reused in multiple other places.
The color simulation algorithm is based on this one
https://github.com/MaPePeR/jsColorblindSimulator publicly available.
Diffstat (limited to 'Userland/Libraries/LibVT/Terminal.h')
0 files changed, 0 insertions, 0 deletions