openMSX
|
Public Member Functions | |
TTFFontPool (const TTFFontPool &)=delete | |
TTFFontPool (TTFFontPool &&)=delete | |
TTFFontPool & | operator= (const TTFFontPool &)=delete |
TTFFontPool & | operator= (TTFFontPool &&)=delete |
TTF_Font * | get (const std::string &filename, int ptSize) |
void | release (TTF_Font *font) |
Static Public Member Functions | |
static TTFFontPool & | instance () |
Definition at line 30 of file TTFFont.cc.
|
delete |
|
delete |
TTF_Font * openmsx::TTFFontPool::get | ( | const std::string & | filename, |
int | ptSize | ||
) |
Definition at line 105 of file TTFFont.cc.
References end(), ranges::find(), and openmsx::SDLTTF::instance().
|
static |
Definition at line 99 of file TTFFont.cc.
Referenced by openmsx::TTFFont::~TTFFont().
|
delete |
|
delete |
void openmsx::TTFFontPool::release | ( | TTF_Font * | font | ) |
Definition at line 129 of file TTFFont.cc.
References move_pop_back(), and rfind_unguarded().
Referenced by openmsx::TTFFont::~TTFFont().