TextAttributes.h 335 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/Optional.h>
  8. #include <LibGfx/Color.h>
  9. namespace Gfx {
  10. struct TextAttributes {
  11. Color color;
  12. Optional<Color> background_color;
  13. bool underline { false };
  14. bool bold { false };
  15. };
  16. }