Colorizing the text.
More...
#include <Colors.hpp>
|
| static std::string | Colorize (std::string text, std::string color) |
| | Add prefix and suffix for color display in Linux terminal. More...
|
| |
| static std::string | StartColor (std::string color) |
| | returns selected color More...
|
| |
| static std::string | StopColor () |
| | resets color to default normal More...
|
| |
◆ Colorize()
| static std::string ColorsInfo::Colorize |
( |
std::string |
text, |
|
|
std::string |
color |
|
) |
| |
|
inlinestatic |
Add prefix and suffix for color display in Linux terminal.
- Parameters
-
| text | to color |
| color | selected color |
- Returns
- std::string of colorized text
◆ StartColor()
| static std::string ColorsInfo::StartColor |
( |
std::string |
color | ) |
|
|
inlinestatic |
returns selected color
- Parameters
-
- Returns
- std::string color
◆ StopColor()
| static std::string ColorsInfo::StopColor |
( |
| ) |
|
|
inlinestatic |
resets color to default normal
- Returns
- std::string return normal
The documentation for this class was generated from the following file: