|
osmanip
Library with useful output stream tools like: color and style manipulators, progress bars and terminal graphics.
|
#include <osmanip/manipulators/colsty.hpp>#include <stdint.h>#include <sstream>#include <string>#include <unordered_map>
Namespaces | |
| osm | |
Functions | |
| const std::string | osm::RGB (int32_t r, int32_t g, int32_t b) |
| It takes three integers as arguments which are the corresponding rgb triplets of a color (see here for the full list of available colors http://www.aksiom.net/rgb.html). It can be used to output a wider variety of colors with respect to the standard available from the col map. More... | |
Variables | |
| const std::unordered_map< std::string, std::string > | osm::col |
| It is used to store the colors. Note: "bg" is the prefix of the background color features and "bd" is the one of the bold color features. More... | |
| const std::unordered_map< std::string, std::string > | osm::sty |
| It is used to store the styles. More... | |
| const std::unordered_map< std::string, std::string > | osm::rst |
| It is used to store the reset features commands. More... | |