#include "text.hpp"#include "gettext.hpp"#include "gui/widgets/helper.hpp"#include "gui/auxiliary/log.hpp"#include "font.hpp"#include "serialization/string_utils.hpp"#include "tstring.hpp"#include <boost/foreach.hpp>#include <cassert>#include <cstring>
Go to the source code of this file.
Classes | |
| struct | font::decode_table |
Namespaces | |
| namespace | font |
Graphical text output. | |
Defines | |
| #define | GETTEXT_DOMAIN "wesnoth-lib" |
| #define | PANGO_VERSION_CHECK(a, b, c) 0 |
| #define | DECODE(i) |
Functions | |
| std::string | font::escape_text (const std::string &text) |
| static void | font::decode_pixel (unsigned char *p) |
| Converts from premultiplied alpha to plain alpha. | |
Variables | |
| static decode_table | font::decode_table |
| #define DECODE | ( | i | ) |
do { \ unsigned color = p[i]; \ color = color * div / 256; \ if (color > 255) color = 255; \ p[i] = color; \ } while (0)
Referenced by font::decode_pixel().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:05:20 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |