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

#include <font_id.hpp>

Public Member Functions

 font_id (subset_id subset, int size)
 
 font_id (subset_id subset, int size, int style)
 
bool operator== (const font_id &o) const
 
bool operator< (const font_id &o) const
 

Public Attributes

subset_id subset
 
int size
 
int style
 

Detailed Description

Definition at line 36 of file font_id.hpp.

Constructor & Destructor Documentation

◆ font_id() [1/2]

font::font_id::font_id ( subset_id  subset,
int  size 
)
inlineexplicit

Definition at line 38 of file font_id.hpp.

◆ font_id() [2/2]

font::font_id::font_id ( subset_id  subset,
int  size,
int  style 
)
inlineexplicit

Definition at line 39 of file font_id.hpp.

Member Function Documentation

◆ operator<()

bool font::font_id::operator< ( const font_id o) const
inline

Definition at line 45 of file font_id.hpp.

References size, style, and subset.

◆ operator==()

bool font::font_id::operator== ( const font_id o) const
inline

Definition at line 41 of file font_id.hpp.

References size, style, and subset.

Referenced by font::text_chunk::operator!=().

Member Data Documentation

◆ size

int font::font_id::size

Definition at line 51 of file font_id.hpp.

Referenced by operator<(), and operator==().

◆ style

int font::font_id::style

Definition at line 52 of file font_id.hpp.

Referenced by operator<(), and operator==().

◆ subset

subset_id font::font_id::subset

Definition at line 50 of file font_id.hpp.

Referenced by operator<(), operator==(), and font::text_chunk::operator==().


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