Main Page | Class Hierarchy | Class List | File List | Class Members

Flu_Label Class Reference

This class just provides an easier interface to making labels in FLTK. More...

#include <Flu_Label.h>

List of all members.

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


Detailed Description

This class just provides an easier interface to making labels in FLTK.

All this class does is copy the label string to internal storage since FLTK needs non-transient memory for labels.


The documentation for this class was generated from the following file:
Generated on Mon Aug 2 10:27:46 2004 for FLTK Utility Library and Widget Collection (FLU) by doxygen 1.3.5