xoreos  0.0.5
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
Graphics::Aurora::FontHandle Class Reference

A handle to a font. More...

#include <fonthandle.h>

Public Member Functions

 FontHandle ()
 
 FontHandle (const FontHandle &right)
 
 ~FontHandle ()
 
FontHandleoperator= (const FontHandle &right)
 
bool empty () const
 
const Common::UStringgetName () const
 
void clear ()
 
FontgetFont () const
 

Private Member Functions

 FontHandle (FontMap::iterator &i)
 

Private Attributes

bool _empty
 
FontMap::iterator _it
 

Friends

class FontManager
 

Detailed Description

A handle to a font.

Definition at line 52 of file fonthandle.h.

Constructor & Destructor Documentation

◆ FontHandle() [1/3]

Graphics::Aurora::FontHandle::FontHandle ( )

Definition at line 40 of file fonthandle.cpp.

◆ FontHandle() [2/3]

Graphics::Aurora::FontHandle::FontHandle ( const FontHandle right)

Definition at line 47 of file fonthandle.cpp.

◆ ~FontHandle()

Graphics::Aurora::FontHandle::~FontHandle ( )

Definition at line 51 of file fonthandle.cpp.

References clear().

Here is the call graph for this function:

◆ FontHandle() [3/3]

Graphics::Aurora::FontHandle::FontHandle ( FontMap::iterator &  i)
private

Definition at line 43 of file fonthandle.cpp.

References _it.

Member Function Documentation

◆ clear()

void Graphics::Aurora::FontHandle::clear ( )

Definition at line 78 of file fonthandle.cpp.

References FontMan.

Referenced by operator=(), and ~FontHandle().

Here is the caller graph for this function:

◆ empty()

bool Graphics::Aurora::FontHandle::empty ( ) const

Definition at line 66 of file fonthandle.cpp.

References _empty.

Referenced by Engines::Sonic::loadFont().

Here is the caller graph for this function:

◆ getFont()

Font & Graphics::Aurora::FontHandle::getFont ( ) const

◆ getName()

const Common::UString & Graphics::Aurora::FontHandle::getName ( ) const

Definition at line 71 of file fonthandle.cpp.

References _empty, _it, and Graphics::Aurora::kEmptyString.

Referenced by Graphics::Aurora::Text::getFont().

Here is the caller graph for this function:

◆ operator=()

FontHandle & Graphics::Aurora::FontHandle::operator= ( const FontHandle right)

Definition at line 55 of file fonthandle.cpp.

References clear(), and FontMan.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ FontManager

friend class FontManager
friend

Definition at line 73 of file fonthandle.h.

Member Data Documentation

◆ _empty

bool Graphics::Aurora::FontHandle::_empty
private

◆ _it

FontMap::iterator Graphics::Aurora::FontHandle::_it
private

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