The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | List of all members
font::sdl_ttf Struct Reference

#include <sdl_ttf.hpp>

Public Member Functions

 sdl_ttf ()
 ~sdl_ttf ()
 sdl_ttf (const sdl_ttf &)=delete
sdl_ttfoperator= (const sdl_ttf &)=delete

Static Public Member Functions

static TTF_Font * get_font (font_id)
static void set_font_list (const std::vector< subset_descriptor > &fontlist)
static std::vector< text_chunksplit_text (const std::string &utf8_text)

Detailed Description

Definition at line 68 of file sdl_ttf.hpp.

Constructor & Destructor Documentation

font::sdl_ttf::sdl_ttf ( )

Definition at line 482 of file sdl_ttf.cpp.

References ERR_FT, error(), and LOG_FT.

font::sdl_ttf::~sdl_ttf ( )

Definition at line 509 of file sdl_ttf.cpp.

References font::clear_fonts().

font::sdl_ttf::sdl_ttf ( const sdl_ttf )

Member Function Documentation

TTF_Font * font::sdl_ttf::get_font ( font_id  id)
sdl_ttf& font::sdl_ttf::operator= ( const sdl_ttf )
void font::sdl_ttf::set_font_list ( const std::vector< subset_descriptor > &  fontlist)
std::vector< text_chunk > font::sdl_ttf::split_text ( const std::string &  utf8_text)

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