The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
text_formatting.hpp File Reference
#include "color.hpp"
#include "font/standard_colors.hpp"
#include <string>
Include dependency graph for text_formatting.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 font
 Note: Specific to sdl_ttf.
 

Functions

std::string font::span_color (const color_t &color)
 Retuns a Pango formatting string using the provided color_t object. 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...