#include <CUI.h>
Inheritance diagram for CLabel::

Public Methods | |
| CLabel (int x, int y, string caption, int styles=TS_NOSTYLE, int fixed_size=-1) | |
| Constructor - (x,y), caption, styles (TS_*), fixed size in characters. More... | |
| ~CLabel () | |
| Destructor. More... | |
| virtual int | update (CInputEvent *e) |
| Standard update method. More... | |
| virtual void | draw (CGfxScreen *s) |
| Standard draw method. More... | |
| void | setCaption (string s) |
| Sets the caption of the label. More... | |
| void | setStyles (int styles) |
| Sets the styles of the label. More... | |
| string | getCaption () |
| Returns the caption of the label. More... | |
| int | getStyles () |
| Returns the styles of the label. More... | |
Public Attributes | |
| string | m_caption |
| Text in the label. More... | |
|
||||||||||||||||||||||||
|
Constructor - (x,y), caption, styles (TS_*), fixed size in characters.
|
|
|
Destructor.
|
|
|
Standard draw method.
Reimplemented from CWidget. |
|
|
Returns the caption of the label.
|
|
|
Returns the styles of the label.
|
|
|
Sets the caption of the label.
|
|
|
Sets the styles of the label.
|
|
|
Standard update method.
Reimplemented from CWidget. |
|
|
Text in the label.
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001