diff --git a/Userland/Libraries/LibGfx/TextAttributes.h b/Userland/Libraries/LibGfx/TextAttributes.h index cb0efb48b35..e1f7b4850e5 100644 --- a/Userland/Libraries/LibGfx/TextAttributes.h +++ b/Userland/Libraries/LibGfx/TextAttributes.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2021, Andreas Kling + * Copyright (c) 2022, Tobias Christiansen * * SPDX-License-Identifier: BSD-2-Clause */ @@ -12,10 +13,18 @@ namespace Gfx { struct TextAttributes { + enum class UnderlineStyle { + Solid, + Wavy + }; + Color color; - Optional background_color; + Optional background_color {}; bool underline { false }; bool bold { false }; + + Optional underline_color {}; + UnderlineStyle underline_style { UnderlineStyle::Solid }; }; }