/* * Copyright (c) 2021, Andreas Kling * Copyright (c) 2022, Tobias Christiansen * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Gfx { struct TextAttributes { enum class UnderlineStyle { Solid, Wavy }; Color color; Optional background_color {}; bool underline { false }; bool bold { false }; Optional underline_color {}; UnderlineStyle underline_style { UnderlineStyle::Solid }; }; }