#include <GLWFont.h>
Public Member Functions | |
| GLFont2d * | getGameFont () |
| GLFont2d * | getGameShadowFont () |
| GLFont2d * | getCourierFont () |
| GLFont2d * | getNormalFont () |
| GLFont2d * | getNormalShadowFont () |
| void | displayCharacterInfo () |
Static Public Member Functions | |
| static GLWFont * | instance () |
Static Public Attributes | |
| static Vector | widgetFontColor = Vector(0.2f, 0.2f, 0.2f) |
| static Vector | disabledWidgetFontColor = Vector(0.4f, 0.4f, 0.4f) |
Protected Attributes | |
| GLFont2d * | gameFont_ |
| GLFont2d * | gameShadowFont_ |
| GLFont2d * | courierFont_ |
| GLFont2d * | normalFont_ |
| GLFont2d * | normalShadowFont_ |
Static Protected Attributes | |
| static GLWFont * | instance_ = 0 |
Private Member Functions | |
| GLWFont () | |
| virtual | ~GLWFont () |
Definition at line 26 of file GLWFont.h.
| GLWFont::GLWFont | ( | ) | [private] |
Definition at line 41 of file GLWFont.cpp.
References courierFont_, GLFont2d::createFont(), displayCharacterInfo(), gameFont_, gameShadowFont_, S3D::getDataFile(), normalFont_, and normalShadowFont_.
| GLWFont::~GLWFont | ( | ) | [private, virtual] |
Definition at line 70 of file GLWFont.cpp.
| GLWFont * GLWFont::instance | ( | ) | [static] |
Definition at line 31 of file GLWFont.cpp.
References instance_.
Referenced by ScoreDialog::addLine(), ScoreDialog::addScoreLine(), GLWSelectorPart::calculateDimensions(), GLWToolTip::calculateTip(), GLWTime::calcWidth(), GLWLabel::calcWidth(), TextActionRenderer::draw(), SpeedChange::draw(), ShotCountDown::draw(), GLWToolTip::draw(), GLWTime::draw(), GLWTextBox::draw(), GLWTalkBox::draw(), GLWSpinBox::draw(), GLWSelectorPart::draw(), GLWScorchedInfo::draw(), GLWListView::draw(), GLWLabel::draw(), GLWFileView::draw(), GLWDropDownText::draw(), GLWChannelView::draw(), GLWChannelText::draw(), StartDialog::draw(), SettingsSubSelectDialogListItem::draw(), ScoreDialog::draw(), GLWIconListSaveItem::draw(), ProgressDialog::draw(), GLWIconListSubModItem::draw(), GLWIconListModItem::draw(), MessageDialog::draw(), CameraDialog::draw(), BuyAccessoryDialog::draw(), GLWTankViewer::drawCaption(), AdminDialog::drawColumn(), NetworkSelectDialog::drawColumnGames(), NetworkSelectDialog::drawColumnPlayers(), TargetRendererImplTank::drawInfo(), LandVisibilityPatch::drawLODLevel(), RulesDialog::drawRules(), GLMenuEntry::drawText(), ConsoleImpl::drawText(), GLWListView::drawUrl(), GLWListView::getLines(), TargetRendererImplTank::render2D(), and GLWChannelView::splitLine().
| GLFont2d* GLWFont::getGameFont | ( | ) | [inline] |
Definition at line 34 of file GLWFont.h.
References gameFont_.
Referenced by ScoreDialog::addLine(), ScoreDialog::addScoreLine(), GLWSelectorPart::calculateDimensions(), GLWTime::calcWidth(), GLWLabel::calcWidth(), TextActionRenderer::draw(), SpeedChange::draw(), ShotCountDown::draw(), GLWToolTip::draw(), GLWTime::draw(), GLWTextBox::draw(), GLWTalkBox::draw(), GLWSpinBox::draw(), GLWSelectorPart::draw(), GLWScorchedInfo::draw(), GLWListView::draw(), GLWLabel::draw(), GLWFileView::draw(), GLWDropDownText::draw(), GLWChannelView::draw(), GLWChannelText::draw(), SettingsSubSelectDialogListItem::draw(), ScoreDialog::draw(), GLWIconListSaveItem::draw(), ProgressDialog::draw(), GLWIconListSubModItem::draw(), GLWIconListModItem::draw(), MessageDialog::draw(), CameraDialog::draw(), BuyAccessoryDialog::draw(), GLWTankViewer::drawCaption(), AdminDialog::drawColumn(), NetworkSelectDialog::drawColumnGames(), NetworkSelectDialog::drawColumnPlayers(), TargetRendererImplTank::drawInfo(), LandVisibilityPatch::drawLODLevel(), RulesDialog::drawRules(), GLMenuEntry::drawText(), GLWListView::drawUrl(), GLWListView::getLines(), TargetRendererImplTank::render2D(), and GLWChannelView::splitLine().
| GLFont2d* GLWFont::getGameShadowFont | ( | ) | [inline] |
Definition at line 35 of file GLWFont.h.
References gameShadowFont_.
Referenced by GLWChannelView::draw(), GLWChannelText::draw(), ScoreDialog::draw(), and ProgressDialog::draw().
| GLFont2d* GLWFont::getCourierFont | ( | ) | [inline] |
Definition at line 36 of file GLWFont.h.
References courierFont_.
Referenced by ConsoleImpl::drawText().
| GLFont2d* GLWFont::getNormalFont | ( | ) | [inline] |
| GLFont2d* GLWFont::getNormalShadowFont | ( | ) | [inline] |
Definition at line 38 of file GLWFont.h.
References normalShadowFont_.
Referenced by StartDialog::draw().
| void GLWFont::displayCharacterInfo | ( | ) |
Definition at line 75 of file GLWFont.cpp.
References S3D::formatStringBuffer(), GLFont2dStorage::getTotalCharacterBlocks(), GLFont2d::getTotalCharacters(), and Logger::log().
Referenced by GLWFont().
Vector GLWFont::widgetFontColor = Vector(0.2f, 0.2f, 0.2f) [static] |
Definition at line 31 of file GLWFont.h.
Referenced by GLWTextBox::draw(), GLWSpinBox::draw(), GLWSelectorPart::draw(), GLWFileView::draw(), GLWDropDownText::draw(), SettingsSubSelectDialogListItem::draw(), GLWIconListSaveItem::draw(), GLWIconListSubModItem::draw(), GLWIconListModItem::draw(), AdminDialog::drawColumn(), and GLWListView::GLWListView().
Vector GLWFont::disabledWidgetFontColor = Vector(0.4f, 0.4f, 0.4f) [static] |
GLWFont * GLWFont::instance_ = 0 [static, protected] |
GLFont2d* GLWFont::gameFont_ [protected] |
GLFont2d* GLWFont::gameShadowFont_ [protected] |
GLFont2d* GLWFont::courierFont_ [protected] |
GLFont2d* GLWFont::normalFont_ [protected] |
GLFont2d* GLWFont::normalShadowFont_ [protected] |
1.5.3