HikoGUI
A low latency retained GUI
|
defines the semantic_color type. More...
#include "../utility/utility.hpp"
#include "../macros.hpp"
#include <array>
#include <string_view>
#include <format>
Go to the source code of this file.
Data Structures | |
struct | std::formatter< hi::semantic_color, char > |
Namespaces | |
namespace | hi |
The HikoGUI namespace. | |
namespace | hi::v1 |
The HikoGUI API version 1. | |
Enumerations | |
enum class | hi::v1::semantic_color : unsigned char { blue , green , indigo , orange , pink , purple , red , teal , yellow , gray , gray2 , gray3 , gray4 , gray5 , gray6 , foreground , border , fill , accent , text_select , primary_cursor , secondary_cursor } |
Semantic colors. More... | |
Functions | |
hi_export_module (hikogui.color.semantic_color) | |
std::string_view | hi::v1::to_string (semantic_color rhs) noexcept |
Convert a semantic color to a string. | |
semantic_color | hi::v1::semantic_color_from_string (std::string_view str) |
Convert a string to a semantic color. | |
Variables | |
constexpr auto | hi::v1::semantic_color_metadata |
defines the semantic_color type.