|
libcosmos
Linux C++ System Programming Library
|
Template for definition of concrete background color helpers. More...
#include <colors.hxx>
Inheritance diagram for cosmos::term::TextOnColorT< color, intensity >:Public Member Functions | |
| TextOnColorT (const std::string_view &text) | |
| TextOnColorT (const FeatureBase &next) | |
Public Member Functions inherited from cosmos::term::ColoredText | |
| ColoredText (const std::string_view &text, const TermColor c, const ColorKind kind, const ColorIntensity intensity) | |
| ColoredText (const FeatureBase &next, const TermColor c, const ColorKind kind, const ColorIntensity intensity) | |
Public Member Functions inherited from cosmos::term::FeatureBase | |
| ANSICode | getOnCode () const |
| ANSICode | getOffCode () const |
| bool | hasText () const |
| const std::string_view & | getText () const |
| bool | hasNextFeature () const |
| const FeatureBase & | getNextFeature () const |
Additional Inherited Members | |
Protected Member Functions inherited from cosmos::term::ColoredText | |
| ANSICode | getOffCode (const ColorKind kind) const |
Protected Member Functions inherited from cosmos::term::FeatureBase | |
| FeatureBase (const std::string_view &text, const ANSICode on_code, const ANSICode off_code) | |
| FeatureBase (const FeatureBase &next, const ANSICode on_code, const ANSICode off_code) | |
Protected Attributes inherited from cosmos::term::FeatureBase | |
| std::variant< const std::string_view *, const FeatureBase * > | m_info |
| either a terminal string or a pointer to the next feature to apply. | |
| const ANSICode | m_on_code |
| const ANSICode | m_off_code |
Template for definition of concrete background color helpers.
Definition at line 264 of file colors.hxx.
|
inlineexplicit |
Definition at line 265 of file colors.hxx.
|
inlineexplicit |
Definition at line 266 of file colors.hxx.