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
10
11
12namespace hi::inline v1 {
13
14enum class semantic_text_style : unsigned char { label, small_label, warning, error, help, placeholder, link };
15
16// clang-format off
17constexpr auto semantic_text_style_metadata = enum_metadata{
18 semantic_text_style::label, "label",
19 semantic_text_style::small_label, "small-label",
20 semantic_text_style::warning, "warning",
21 semantic_text_style::error, "error",
22 semantic_text_style::help, "help",
23 semantic_text_style::placeholder, "placeholder",
24 semantic_text_style::link, "link",
25};
26// clang-format on
27
28} // namespace hi::inline v1
DOXYGEN BUG.
Definition algorithm.hpp:16
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:377