gfx::Gfont Class Reference

Gfont is a wrapper around underlying lower-level Font class. More...

#include <gfx_gui.hh>

List of all members.

Public Member Functions

 Gfont (SafePtr< Font > font, eScreenFontSize size, fp zoom, const RGBA rgba)
 ~Gfont ()
void SetFont (SafePtr< Font > font)
SafePtr< FontGetFont (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< FontmFont
eScreenFontSize mSize
fp mZoom
RGBA mRgba


Detailed Description

Gfont is a wrapper around underlying lower-level Font class.

A Gfont can be repointed to a different Font object.


Constructor & Destructor Documentation

gfx::Gfont::Gfont ( SafePtr< Font font,
eScreenFontSize  size,
fp  zoom,
const RGBA  rgba 
)

ctor/dtor.

gfx::Gfont::~Gfont (  ) 


Member Function Documentation

void gfx::Gfont::SetFont ( SafePtr< Font font  )  [inline]

SafePtr<Font> gfx::Gfont::GetFont ( void   )  const [inline]

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 
)

Print.

void gfx::Gfont::Print ( const char *  text,
uint  textLen,
fp  x,
fp  y,
eFontMode  fontMode,
const RGBA  rgba 
)


Member Data Documentation

SafePtr<Font> gfx::Gfont::mFont [private]

eScreenFontSize gfx::Gfont::mSize [private]

fp gfx::Gfont::mZoom [private]

RGBA gfx::Gfont::mRgba [private]


The documentation for this class was generated from the following files: Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:26 2007