Go to the source code of this file.
Namespaces | |
font | |
Collection of helper functions relating to Pango formatting. | |
Functions | |
std::string | font::span_color (const color_t &color) |
Returns a Pango formatting string using the provided color_t object. More... | |
std::string | font::span_color (const color_t &color, const std::string &data) |
Like span_color(const color_t&), but append the data string and a "</span>" tag. More... | |
std::string | font::get_pango_color_from_id (const std::string &id) |
Returns a hex color string from a color range. More... | |
std::string | font::get_color_string_pango (const std::string &id) |
Returns the name of a color range, colored with its own color. More... | |