xoreos
0.0.5
|
A handle to a font. More...
#include <fonthandle.h>
Public Member Functions | |
FontHandle () | |
FontHandle (const FontHandle &right) | |
~FontHandle () | |
FontHandle & | operator= (const FontHandle &right) |
bool | empty () const |
const Common::UString & | getName () const |
void | clear () |
Font & | getFont () const |
Private Member Functions | |
FontHandle (FontMap::iterator &i) | |
Private Attributes | |
bool | _empty |
FontMap::iterator | _it |
Friends | |
class | FontManager |
A handle to a font.
Definition at line 52 of file fonthandle.h.
Graphics::Aurora::FontHandle::FontHandle | ( | ) |
Definition at line 40 of file fonthandle.cpp.
Graphics::Aurora::FontHandle::FontHandle | ( | const FontHandle & | right | ) |
Definition at line 47 of file fonthandle.cpp.
Graphics::Aurora::FontHandle::~FontHandle | ( | ) |
Definition at line 51 of file fonthandle.cpp.
References clear().
|
private |
Definition at line 43 of file fonthandle.cpp.
References _it.
void Graphics::Aurora::FontHandle::clear | ( | ) |
Definition at line 78 of file fonthandle.cpp.
References FontMan.
Referenced by operator=(), and ~FontHandle().
bool Graphics::Aurora::FontHandle::empty | ( | ) | const |
Definition at line 66 of file fonthandle.cpp.
References _empty.
Referenced by Engines::Sonic::loadFont().
Font & Graphics::Aurora::FontHandle::getFont | ( | ) | const |
Definition at line 82 of file fonthandle.cpp.
Referenced by Engines::ConsoleWindow::ConsoleWindow(), Engines::KotORJadeWidget::createText(), Engines::NWN::Tooltip::createTexts(), Graphics::Aurora::Text::drawLine(), Graphics::Aurora::Text::drawLineImmediate(), Engines::NWN::DialogBox::finishReplies(), Engines::ConsoleWindow::getColumns(), Graphics::Aurora::Text::getHeight(), Engines::ConsoleWindow::getPosition(), Engines::KotORJadeWidget::load(), Engines::LoadProgress::LoadProgress(), Engines::ConsoleWindow::print(), Engines::ConsoleWindow::recalcCursor(), Engines::NWN::Tooltip::redoLayout(), Engines::NWN::Tooltip::redoLines(), Graphics::Aurora::Text::render(), Graphics::Aurora::Text::renderImmediate(), Graphics::Aurora::Text::set(), Engines::NWN::DialogBox::setEntry(), Engines::NWN::DialogBox::setPosition(), Graphics::Aurora::Text::setSize(), Graphics::Aurora::Text::setText(), Engines::NWN::WidgetListBox::setText(), Engines::ConsoleWindow::updateHighlight(), Engines::NWN::WidgetListItemModule::WidgetListItemModule(), Engines::NWN::WidgetListItemPremium::WidgetListItemPremium(), and Engines::NWN::WidgetListItemTextLine::WidgetListItemTextLine().
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().
FontHandle & Graphics::Aurora::FontHandle::operator= | ( | const FontHandle & | right | ) |
Definition at line 55 of file fonthandle.cpp.
References clear(), and FontMan.
|
friend |
Definition at line 73 of file fonthandle.h.
|
private |
Definition at line 68 of file fonthandle.h.
Referenced by Graphics::Aurora::FontManager::assign(), empty(), getFont(), getName(), and Graphics::Aurora::FontManager::release().
|
private |
Definition at line 69 of file fonthandle.h.
Referenced by Graphics::Aurora::FontManager::assign(), FontHandle(), getFont(), getName(), and Graphics::Aurora::FontManager::release().