cLabel Class Reference
[Widgets]

This class provides functionalities to display one line of text. More...

#include <CLabel.h>

Inheritance diagram for cLabel:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 cLabel ()
 Constructor of cLabel.
virtual ~cLabel ()
 Destructor of cLabel.
virtual void render (const int a_renderMode=0)
 Render object in OpenGL.

Public Attributes

cFontm_font
 Font type.
cColorf m_fontColor
 Font color.
string m_string
 String to be displayed.


Detailed Description

This class provides functionalities to display one line of text.

Member Function Documentation

void cLabel::render ( const int  a_renderMode = 0  )  [virtual]

Render object in OpenGL.

Render the label in OpenGL.

Parameters:
a_renderMode Rendering mode.

Reimplemented from cGenericObject.


The documentation for this class was generated from the following files:


CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.