CPGen
C++ project generator
Loading...
Searching...
No Matches
Namespaces
Ascii.hpp File Reference

Unicode / Nerd Font glyph constants used throughout the TUI. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Ascii
 UTF-8 encoded glyph constants for the TUI renderer.
 

Variables

UI elements — checkbox and radio button glyphs
constexpr const char * Ascii::RADIO_UNCHECKED
 Empty radio button.
 
constexpr const char * Ascii::RADIO_CHECKED
 Filled radio button.
 
constexpr const char * Ascii::CHECKBOX_UNCHECKED
 Empty checkbox.
 
constexpr const char * Ascii::CHECKBOX_CHECKED
 Checked checkbox.
 
Navigation
constexpr const char * Ascii::CURSOR
 Arrow cursor indicating the focused item.
 
Application-specific icons (Nerd Font — Proprietary)
constexpr const char * Ascii::CPP_ICON = "\U000F0672"
 C++ language icon.
 
constexpr const char * Ascii::NEOVIM_ICON = "\ue6ae"
 Neovim editor icon.
 
constexpr const char * Ascii::CMAKE_ICON
 CMake build system icon.
 
constexpr const char * Ascii::GIT_ICON = "\ue702"
 Git version control icon.
 
constexpr const char * Ascii::GOOGLE_ICON
 Google / GoogleTest icon.
 
Generic icons (Nerd Font)
constexpr const char * Ascii::PACKAGES_ICON
 Package/dependency icon.
 
constexpr const char * Ascii::ROCKET_ICON
 Rocket / launch icon.
 
constexpr const char * Ascii::GEAR_ICON
 Settings / configuration icon.
 
Spinner frames — cycle through 1→6 to animate a loading indicator
constexpr const char * Ascii::SPINNER_1 = "\uee06"
 Spinner frame 1.
 
constexpr const char * Ascii::SPINNER_2 = "\uee07"
 Spinner frame 2.
 
constexpr const char * Ascii::SPINNER_3 = "\uee08"
 Spinner frame 3.
 
constexpr const char * Ascii::SPINNER_4 = "\uee09"
 Spinner frame 4.
 
constexpr const char * Ascii::SPINNER_5 = "\uee0a"
 Spinner frame 5.
 
constexpr const char * Ascii::SPINNER_6 = "\uee0b"
 Spinner frame 6.
 
Progress bar segments
constexpr const char * Ascii::PROGRESS_EMPTY_LEFT
 Empty progress bar — left cap.
 
constexpr const char * Ascii::PROGRESS_EMPTY_MID
 Empty progress bar — middle fill.
 
constexpr const char * Ascii::PROGRESS_EMPTY_RIGHT
 Empty progress bar — right cap.
 
constexpr const char * Ascii::PROGRESS_FULL_LEFT
 Full progress bar — left cap.
 
constexpr const char * Ascii::PROGRESS_FULL_MID
 Full progress bar — middle fill.
 
constexpr const char * Ascii::PROGRESS_FULL_RIGHT
 Full progress bar — right cap.
 
Status icons
constexpr const char * Ascii::SUCCESS = "\uf058"
 Success / OK indicator.
 
constexpr const char * Ascii::WARNING = "\uea6c"
 Warning indicator.
 
constexpr const char * Ascii::ERROR_ICON
 Error / failure indicator.
 
constexpr const char * Ascii::INFO = "\uea74"
 Informational indicator.
 
Box-drawing characters (Unicode block U+2500)
constexpr const char * Ascii::BOX_CORNER_TOP_LEFT = "\u256d"
 
 
constexpr const char * Ascii::BOX_CORNER_TOP_RIGHT = "\u256e"
 
 
constexpr const char * Ascii::BOX_CORNER_BOTTOM_LEFT = "\u2570"
 
 
constexpr const char * Ascii::BOX_CORNER_BOTTOM_RIGHT = "\u256F"
 
 
constexpr const char * Ascii::BOX_VERTICAL = "\u2502"
 
 
constexpr const char * Ascii::BOX_HORIZONTAL = "\u2500"
 
 

Detailed Description

Unicode / Nerd Font glyph constants used throughout the TUI.

All constants are inline constexpr const char* so they have no runtime overhead and produce no ODR violations when included in multiple translation units.

Note
The icons in the "Proprietary" section require a Nerd Font to render correctly. The application checks font support at startup via System::isFontValid.
Author
Darleanow