The Battle for Wesnoth  1.15.2+dev
Public Types | Public Member Functions | Public Attributes | List of all members
font::subset_descriptor Struct Reference

#include <font_description.hpp>

Public Types

typedef std::pair< int, int > range
 

Public Member Functions

 subset_descriptor ()
 
 subset_descriptor (const config &font)
 

Public Attributes

std::string name
 
boost::optional< std::string > bold_name
 
boost::optional< std::string > italic_name
 
std::vector< rangepresent_codepoints
 

Detailed Description

Definition at line 32 of file font_description.hpp.

Member Typedef Documentation

◆ range

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

Definition at line 76 of file font_description.hpp.

Constructor & Destructor Documentation

◆ subset_descriptor() [1/2]

font::subset_descriptor::subset_descriptor ( )
inline

Definition at line 34 of file font_description.hpp.

◆ subset_descriptor() [2/2]

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

Member Data Documentation

◆ bold_name

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

Definition at line 73 of file font_description.hpp.

Referenced by subset_descriptor().

◆ italic_name

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

Definition at line 74 of file font_description.hpp.

Referenced by subset_descriptor().

◆ name

std::string font::subset_descriptor::name

Definition at line 72 of file font_description.hpp.

◆ present_codepoints

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

Definition at line 77 of file font_description.hpp.

Referenced by subset_descriptor().


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