mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 14:50:18 +00:00
LibGfx+Userland: Make TextAttributes::underline_style optional
Rather than having a style AND a field saying whether to use the style, just make the style Optional.
This commit is contained in:
parent
609b616085
commit
6d8f046fd0
Notes:
sideshowbarker
2024-07-17 02:57:43 +09:00
Author: https://github.com/AtkinsSJ
Commit: 6d8f046fd0
Pull-request: https://github.com/SerenityOS/serenity/pull/17866
10 changed files with 16 additions and 19 deletions
|
@ -20,11 +20,10 @@ struct TextAttributes {
|
|||
|
||||
Color color;
|
||||
Optional<Color> background_color {};
|
||||
bool underline { false };
|
||||
bool bold { false };
|
||||
|
||||
Optional<UnderlineStyle> underline_style {};
|
||||
Optional<Color> underline_color {};
|
||||
UnderlineStyle underline_style { UnderlineStyle::Solid };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue