#include <gfx_gui.hh>
Public Member Functions | |
| Gfont (SafePtr< Font > font, eScreenFontSize size, fp zoom, const RGBA rgba) | |
| ~Gfont () | |
| void | SetFont (SafePtr< Font > font) |
| SafePtr< Font > | GetFont (void) const |
| void | SetSize (eScreenFontSize size) |
| eScreenFontSize | GetSize (void) const |
| void | SetZoom (fp zoom) |
| fp | GetZoom (void) const |
| void | SetRgba (const RGBA rgba) |
| RGBA | GetRgba (void) const |
| void | Print (const char *text, uint textLen, fp x, fp y, eFontMode fontMode) |
| void | Print (const char *text, uint textLen, fp x, fp y, eFontMode fontMode, const RGBA rgba) |
Private Attributes | |
| SafePtr< Font > | mFont |
| eScreenFontSize | mSize |
| fp | mZoom |
| RGBA | mRgba |
A Gfont can be repointed to a different Font object.
| gfx::Gfont::Gfont | ( | SafePtr< Font > | font, | |
| eScreenFontSize | size, | |||
| fp | zoom, | |||
| const RGBA | rgba | |||
| ) |
ctor/dtor.
| gfx::Gfont::~Gfont | ( | ) |
| void gfx::Gfont::SetSize | ( | eScreenFontSize | size | ) | [inline] |
| eScreenFontSize gfx::Gfont::GetSize | ( | void | ) | const [inline] |
| void gfx::Gfont::SetZoom | ( | fp | zoom | ) |
Set zoom.
| fp gfx::Gfont::GetZoom | ( | void | ) | const [inline] |
| void gfx::Gfont::SetRgba | ( | const RGBA | rgba | ) | [inline] |
| RGBA gfx::Gfont::GetRgba | ( | void | ) | const [inline] |
| void gfx::Gfont::Print | ( | const char * | text, | |
| uint | textLen, | |||
| fp | x, | |||
| fp | y, | |||
| eFontMode | fontMode, | |||
| const RGBA | rgba | |||
| ) |
SafePtr<Font> gfx::Gfont::mFont [private] |
eScreenFontSize gfx::Gfont::mSize [private] |
fp gfx::Gfont::mZoom [private] |
RGBA gfx::Gfont::mRgba [private] |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:26 2007