The Battle for Wesnoth  1.19.0-dev
Namespaces | Variables
constants.cpp File Reference
#include "font/constants.hpp"
Include dependency graph for constants.cpp:

Go to the source code of this file.

Namespaces

 font
 Collection of helper functions relating to Pango formatting.
 

Variables

const int font::SIZE_NORMAL = 17
 
const int font::SIZE_TINY = 13 * (SIZE_NORMAL / 17)
 
const int font::SIZE_SMALL = 15 * (SIZE_NORMAL / 17)
 
const int font::SIZE_BUTTON = 16 * (SIZE_NORMAL / 17)
 
const int font::SIZE_BUTTON_SMALL = 14 * (SIZE_NORMAL / 17)
 
const int font::SIZE_15 = 15 * (SIZE_NORMAL / 17)
 
const int font::SIZE_PLUS = 18 * (SIZE_NORMAL / 17)
 
const int font::SIZE_LARGE = 20 * (SIZE_NORMAL / 17)
 
const int font::SIZE_TITLE = 22 * (SIZE_NORMAL / 17)
 
const int font::SIZE_FLOAT_LABEL = 24 * (SIZE_NORMAL / 17)
 
const int font::SIZE_XLARGE = 36 * (SIZE_NORMAL / 17)
 
const std::size_t font::max_text_line_width = 4096
 
const std::string font::ellipsis = "..."
 
const std::string font::nbsp = " "
 
const std::string font::unicode_minus = "-"
 
const std::string font::unicode_en_dash = "–"
 
const std::string font::unicode_em_dash = "—"
 
const std::string font::unicode_figure_dash = "‒"
 
const std::string font::unicode_multiplication_sign = "×"
 
const std::string font::unicode_bullet = "•"
 
const std::string font::weapon_numbers_sep = "×"
 
const std::string font::weapon_details_sep = "–"