HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
semantic_text_style.hpp
1// Copyright Take Vos 2022.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "../utility/utility.hpp"
8#include "../macros.hpp"
9#include <string_view>
10
11hi_export_module(hikogui.text.semantic_text_style);
12
13
14hi_export namespace hi::inline v1 {
15
16enum class semantic_text_style : unsigned char { label, small_label, warning, error, help, placeholder, link };
17
18// clang-format off
19constexpr auto semantic_text_style_metadata = enum_metadata{
20 semantic_text_style::label, "label",
21 semantic_text_style::small_label, "small-label",
22 semantic_text_style::warning, "warning",
23 semantic_text_style::error, "error",
24 semantic_text_style::help, "help",
25 semantic_text_style::placeholder, "placeholder",
26 semantic_text_style::link, "link",
27};
28// clang-format on
29
30} // namespace hi::inline v1
DOXYGEN BUG.
Definition algorithm_misc.hpp:20