The Battle for Wesnoth  1.19.1+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 33 of file font_description.hpp.

Constructor & Destructor Documentation

◆ subset_descriptor() [1/2]

font::subset_descriptor::subset_descriptor ( )

Definition at line 35 of file font_description.hpp.

◆ subset_descriptor() [2/2]

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

Definition at line 42 of file font_description.hpp.

References bold_name, and italic_name.

Member Data Documentation

◆ bold_name

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

Definition at line 57 of file font_description.hpp.

Referenced by subset_descriptor().

◆ italic_name

std::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: