|
| Glyph_string ()=default |
| Default constructs an empty Glyph_string.
|
|
| Glyph_string (Glyph glyph, int count=1) |
| Construct with count glyph's , adding given Traits to each.
|
|
template<typename... Attributes> |
| Glyph_string (std::u32string_view symbols, Attributes... attrs) |
| Construct with a Glyph for each char32_t in symbols and Brush b . More...
|
|
template<typename... Attributes> |
| Glyph_string (char32_t const *symbols, Attributes... attrs) |
|
template<typename... Attributes> |
| Glyph_string (std::u32string const &symbols, Attributes... attrs) |
|
template<typename... Attributes> |
| Glyph_string (std::string_view symbols, Attributes... attrs) |
| Construct with a Glyph for each character in symbols and Brush b . More...
|
|
template<typename... Attributes> |
| Glyph_string (char const *symbols, Attributes... attrs) |
|
template<typename... Attributes> |
| Glyph_string (std::string const &symbols, Attributes... attrs) |
|
template<typename InputIterator > |
| Glyph_string (InputIterator first, InputIterator last) |
| Construct with iterators from any container providing Input Iterators. More...
|
|
auto | append (Glyph g) -> Glyph_string & |
| Append a single Glyph to the end of *this.
|
|
auto | append (Glyph_string const &gs) -> Glyph_string & |
| Append another Glyph_string to the end of *this.
|
|
auto | length () const -> int |
| Return the number of Glyphs in *this Glyph_string. More...
|
|
auto | size () const -> int |
| Return the number of Glyphs in *this Glyph_string. More...
|
|
auto | u32str () const -> std::u32string |
| Convert to a std::u32string, each Glyph being a char32_t. More...
|
|
auto | str () const -> std::string |
| Convert to a std::string. More...
|
|
void | add_traits (Traits traits) |
| Add traits to every Glyph contained in *this.
|
|
void | clear_traits () |
| Remove all currently set traits on each Glyph.
|
|
void | add_color (Background_color bg) |
| Add bg as the background color to every Glyph contained in *this.
|
|
void | add_color (Foreground_color fg) |
| Add fg as the foreground color to every Glyph contained in *this.
|
|
void | remove_traits (Traits traits) |
| Remove a series of Traits from every Glyph within the Glyph_string.
|
|
void | remove_background () |
| Set the background color as the default for every Glyph in *this.
|
|
void | remove_foreground () |
| Set the foreground color as the default for every Glyph in *this.
|
|
Holds a collection of Glyphs with a similar interface to std::string.