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

Flu_Float_Input Class Reference

This class simply extends Fl_Float_Input to allow getting/setting the widget value as floats instead of just strings. More...

#include <Flu_Float_Input.h>

List of all members.

Public Member Functions

 Flu_Float_Input (int X, int Y, int W, int H, const char *l=0)
 Normal FLTK widget constructor.

 ~Flu_Float_Input ()
 Default destructor.

void format (const char *f)
 Set the format to use when printing the value into the input area. Only the pointer to f is copied. Default is "%g".

const char * format () const
 Get the format to use when printing the value into the input area.

float fvalue () const
 the value of the widget as a float

void fvalue (float v, const char *format=0)
 Set the value of the widget as a float using the given printf style format string.


Detailed Description

This class simply extends Fl_Float_Input to allow getting/setting the widget value as floats instead of just strings.


The documentation for this class was generated from the following file:
Generated on Fri Nov 5 12:41:32 2004 for FLTK Utility Library and Widget Collection (FLU) by doxygen 1.3.5