mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 18:00:16 +00:00
LibVT+Kernel: Create Color
class
Previously, we converted colors to their RGB values immediately when they were set. This meant that their semantic meaning was lost, we could not tell a precise RGB value apart from a named/indexed color. The new way of storing colors will allow us to retain this information, so we can change a color scheme on the fly, and previously emitted text will also be affected.
This commit is contained in:
parent
054c742d17
commit
99033876ec
Notes:
sideshowbarker
2024-07-18 16:55:40 +09:00
Author: https://github.com/BertalanD
Commit: 99033876ec
Pull-request: https://github.com/SerenityOS/serenity/pull/7525
Reviewed-by: https://github.com/linusg
7 changed files with 232 additions and 80 deletions
|
@ -17,6 +17,7 @@
|
|||
#include <Kernel/Graphics/Console/Console.h>
|
||||
#include <Kernel/TTY/TTY.h>
|
||||
#include <LibVT/Attribute.h>
|
||||
#include <LibVT/Color.h>
|
||||
#include <LibVT/Position.h>
|
||||
#include <LibVT/Terminal.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue