# cLabel Class Reference
[Widgets]

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

`#include <CLabel.h>`

Inheritance diagram for cLabel:

[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
cFont * | m_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:

- D:/CHAI3D/build-2-0-0/2.0.0/win32/src/widgets/CLabel.h
- D:/CHAI3D/build-2-0-0/2.0.0/win32/src/widgets/CLabel.cpp

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