#include <GLWTime.h>

Public Member Functions | |
| GLWTime (float x=0.0f, float y=0.0f, float size=14.0f) | |
| virtual | ~GLWTime () |
| virtual float | getW () |
| virtual void | draw () |
| void | calcWidth () |
| virtual bool | initFromXML (XMLNode *node) |
| REGISTER_CLASS_HEADER (GLWTime) | |
Protected Attributes | |
| Vector | color_ |
| float | size_ |
Definition at line 28 of file GLWTime.h.
| GLWTime::GLWTime | ( | float | x = 0.0f, |
|
| float | y = 0.0f, |
|||
| float | size = 14.0f | |||
| ) |
| GLWTime::~GLWTime | ( | ) | [virtual] |
Definition at line 34 of file GLWTime.cpp.
| virtual float GLWTime::getW | ( | ) | [inline, virtual] |
Reimplemented from GLWidget.
Definition at line 35 of file GLWTime.h.
References calcWidth(), and GLWidget::getW().
| void GLWTime::draw | ( | ) | [virtual] |
Reimplemented from GLWidget.
Definition at line 55 of file GLWTime.cpp.
References calcWidth(), color_, GLWidget::draw(), GLFont2d::drawSubStr(), GLWFont::getGameFont(), glColor3f(), GLWFont::instance(), size_, LangStringUtil::strlen(), GLWidget::x_, and GLWidget::y_.
| void GLWTime::calcWidth | ( | ) |
Definition at line 39 of file GLWTime.cpp.
References GLWFont::getGameFont(), GLFont2d::getWidth(), GLWFont::instance(), size_, and GLWidget::w_.
| bool GLWTime::initFromXML | ( | XMLNode * | node | ) | [virtual] |
Reimplemented from GLWidget.
Definition at line 47 of file GLWTime.cpp.
References color_, XMLNode::getNamedChild(), GLWidget::initFromXML(), and size_.
| GLWTime::REGISTER_CLASS_HEADER | ( | GLWTime | ) |
Vector GLWTime::color_ [protected] |
float GLWTime::size_ [protected] |
1.5.3