The Battle for Wesnoth  1.17.0-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
 
std::optional< std::string > bold_name
 
std::optional< std::string > italic_name
 

Detailed Description

Definition at line 32 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

Definition at line 41 of file font_description.hpp.

References bold_name, config::has_attribute(), and italic_name.

Member Data Documentation

◆ bold_name

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

Definition at line 56 of file font_description.hpp.

Referenced by subset_descriptor().

◆ italic_name

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

Definition at line 57 of file font_description.hpp.

Referenced by subset_descriptor().

◆ name

std::string font::subset_descriptor::name

Definition at line 55 of file font_description.hpp.


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