Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
glyph_profile.hpp
1// Copyright (c) 2026 ttldtor.
2// SPDX-License-Identifier: BSL-1.0
3#pragma once
4
5#include <cstdint>
6
7namespace portals {
21
23enum class GlyphFallback : std::uint8_t {
26};
27
36} // namespace portals
Public Portals API.
Definition action.hpp:8
@ ASCII
Portable vertical bar and hash brushes.
Definition chart.hpp:56
GlyphProfile
Explicit glyph map, independent of colors and geometry. NF maps use Nerd Fonts 3 Powerline codepoints...
Definition glyph_profile.hpp:12
@ NF_CHEVRON
Powerline chevron horizontal caps, Unicode vertical inset caps.
Definition glyph_profile.hpp:17
@ NF_SLASH
Powerline slash horizontal caps, Unicode vertical inset caps.
Definition glyph_profile.hpp:18
@ DEFAULT
Preserve the control's existing glyph sources.
Definition glyph_profile.hpp:13
@ UNICODE_GLYPHS
Portable Unicode rounded/inset forms.
Definition glyph_profile.hpp:14
@ NF_ROUNDED
Powerline rounded horizontal caps, Unicode vertical inset caps.
Definition glyph_profile.hpp:16
@ NF_BACKSLASH
Powerline backslash horizontal caps, Unicode vertical inset caps.
Definition glyph_profile.hpp:19
GlyphFallback
Portable replacement when the selected map fails one-cell admission.
Definition glyph_profile.hpp:23
@ UNICODE_GLYPHS
Unicode replacement, with ASCII when Unicode is not one cell.
Definition glyph_profile.hpp:24
Complete logical selection; resolution and copies never allocate.
Definition glyph_profile.hpp:29
constexpr bool operator==(const GlyphSelection &other) const =default
GlyphFallback fallback
Explicit admission fallback.
Definition glyph_profile.hpp:31
GlyphProfile profile
Existing sources unless explicitly selected.
Definition glyph_profile.hpp:30