summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/TextAttributes.h
blob: cb0efb48b356a5e644aca2e4bafebaf71d7354cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Optional.h>
#include <LibGfx/Color.h>

namespace Gfx {

struct TextAttributes {
    Color color;
    Optional<Color> background_color;
    bool underline { false };
    bool bold { false };
};

}