The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Public Attributes | List of all members
font::subset_descriptor Struct Reference

Public Types

typedef std::pair< int, intrange
 

Public Member Functions

 subset_descriptor ()
 
 subset_descriptor (const config &)
 

Public Attributes

std::string name
 
boost::optional< std::stringbold_name
 
boost::optional< std::stringitalic_name
 
std::vector< rangepresent_codepoints
 

Detailed Description

Definition at line 455 of file font.cpp.

Member Typedef Documentation

typedef std::pair<int, int> font::subset_descriptor::range

Definition at line 469 of file font.cpp.

Constructor & Destructor Documentation

font::subset_descriptor::subset_descriptor ( )
inline

Definition at line 457 of file font.cpp.

font::subset_descriptor::subset_descriptor ( const config font)

Definition at line 473 of file font.cpp.

References bold_name, config::has_attribute(), i, italic_name, present_codepoints, and utils::split().

Member Data Documentation

boost::optional<std::string> font::subset_descriptor::bold_name

Definition at line 466 of file font.cpp.

Referenced by subset_descriptor().

boost::optional<std::string> font::subset_descriptor::italic_name

Definition at line 467 of file font.cpp.

Referenced by subset_descriptor().

std::string font::subset_descriptor::name

Definition at line 465 of file font.cpp.

std::vector<range> font::subset_descriptor::present_codepoints

Definition at line 470 of file font.cpp.

Referenced by subset_descriptor().


The documentation for this struct was generated from the following file: