#include <FpsCounter.h>

Public Member Functions | |
| FpsCounter (const string &fontname, const GLfloat &size, const Color &color) | |
| Enhanced constructor. | |
| void | renderGl () |
| Renders counter. | |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
Private Attributes | |
| Uint32 | lastUpdate |
| Stores the time in ms of the last. | |
| double | fps |
| Stores the current fps. | |
| FpsCounter::FpsCounter | ( | const string & | fontname, | |
| const GLfloat & | size, | |||
| const Color & | color | |||
| ) |
Enhanced constructor.
| void FpsCounter::renderGl | ( | ) | [virtual] |
| string FpsCounter::toString | ( | ) | const [virtual] |
Returns a textual representation.
Reimplemented from Label.
| string FpsCounter::className | ( | ) | const [virtual] |
Returns the class name of the object.
Reimplemented from Label.
| enum classId FpsCounter::classId | ( | ) | const [virtual] |
Uint32 FpsCounter::lastUpdate [private] |
Stores the time in ms of the last.
double FpsCounter::fps [private] |
Stores the current fps.
1.5.6