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

#include <font_id.hpp>

Public Member Functions

 text_chunk (subset_id subset)
 
bool operator== (const text_chunk &t) const
 
bool operator!= (const text_chunk &t) const
 

Public Attributes

subset_id subset
 
std::string text
 

Detailed Description

Definition at line 58 of file font_id.hpp.

Constructor & Destructor Documentation

◆ text_chunk()

font::text_chunk::text_chunk ( subset_id  subset)
inline

Definition at line 60 of file font_id.hpp.

Member Function Documentation

◆ operator!=()

bool font::text_chunk::operator!= ( const text_chunk t) const
inline

Definition at line 67 of file font_id.hpp.

References font::font_id::operator==().

◆ operator==()

bool font::text_chunk::operator== ( const text_chunk t) const
inline

Definition at line 66 of file font_id.hpp.

References font::font_id::subset, subset, and text.

Member Data Documentation

◆ subset

subset_id font::text_chunk::subset

Definition at line 69 of file font_id.hpp.

Referenced by operator==(), and font::sdl_ttf::split_text().

◆ text

std::string font::text_chunk::text

Definition at line 70 of file font_id.hpp.

Referenced by operator==(), and font::sdl_ttf::split_text().


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