#include <Flu_Label.h>
Public Member Functions | |
| Flu_Label (int x, int y, int w, int h, const char *l=0) | |
| Normal FLTK widget constructor. | |
| virtual | ~Flu_Label () |
| Default destructor. | |
| void | draw () |
| Overload of Fl_Box::draw(). | |
| void | auto_resize (bool b) |
Set whether the label automatically resizes itself to fit the text. Default is false. | |
| bool | auto_resize () const |
| Get whether the label automatically resizes itself to fit the text. | |
| void | value (const char *l) |
| Alias for label(). | |
| const char * | value () const |
| the label | |
| void | label (const char *l) |
| Set the label to l. | |
| const char * | label () const |
| the label | |
Protected Attributes | |
| char * | _label |
| bool | _autoSize |
All this class does is copy the label string to internal storage since FLTK needs non-transient memory for labels.
1.3.5