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

#include <font_description.hpp>

Public Member Functions

 subset_descriptor ()
 
 subset_descriptor (const config &font)
 

Public Attributes

std::string name
 
utils::optional< std::string > bold_name
 
utils::optional< std::string > italic_name
 

Detailed Description

Definition at line 33 of file font_description.hpp.

Constructor & Destructor Documentation

◆ subset_descriptor() [1/2]

font::subset_descriptor::subset_descriptor ( )
inline

Definition at line 35 of file font_description.hpp.

◆ subset_descriptor() [2/2]

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

Definition at line 42 of file font_description.hpp.

References bold_name, and italic_name.

Member Data Documentation

◆ bold_name

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

Definition at line 57 of file font_description.hpp.

Referenced by subset_descriptor().

◆ italic_name

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

Definition at line 58 of file font_description.hpp.

Referenced by subset_descriptor().

◆ name

std::string font::subset_descriptor::name

Definition at line 56 of file font_description.hpp.


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