GLWFont Class Reference

#include <GLWFont.h>

List of all members.

Public Member Functions

GLFont2dgetGameFont ()
GLFont2dgetGameShadowFont ()
GLFont2dgetCourierFont ()
GLFont2dgetNormalFont ()
GLFont2dgetNormalShadowFont ()
void displayCharacterInfo ()

Static Public Member Functions

static GLWFontinstance ()

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

GLFont2dgameFont_
GLFont2dgameShadowFont_
GLFont2dcourierFont_
GLFont2dnormalFont_
GLFont2dnormalShadowFont_

Static Protected Attributes

static GLWFontinstance_ = 0

Private Member Functions

 GLWFont ()
virtual ~GLWFont ()


Detailed Description

Definition at line 26 of file GLWFont.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 37 of file GLWFont.h.

References normalFont_.

Referenced by StartDialog::draw().

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().


Member Data Documentation

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]

Definition at line 32 of file GLWFont.h.

Referenced by GLWTextButton::draw().

GLWFont * GLWFont::instance_ = 0 [static, protected]

Definition at line 43 of file GLWFont.h.

Referenced by instance().

GLFont2d* GLWFont::gameFont_ [protected]

Definition at line 44 of file GLWFont.h.

Referenced by getGameFont(), and GLWFont().

GLFont2d* GLWFont::gameShadowFont_ [protected]

Definition at line 45 of file GLWFont.h.

Referenced by getGameShadowFont(), and GLWFont().

GLFont2d* GLWFont::courierFont_ [protected]

Definition at line 46 of file GLWFont.h.

Referenced by getCourierFont(), and GLWFont().

GLFont2d* GLWFont::normalFont_ [protected]

Definition at line 47 of file GLWFont.h.

Referenced by getNormalFont(), and GLWFont().

GLFont2d* GLWFont::normalShadowFont_ [protected]

Definition at line 48 of file GLWFont.h.

Referenced by getNormalShadowFont(), and GLWFont().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:02 2009 for Scorched3D by  doxygen 1.5.3