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

Flu_Output Class Reference

This class simply extends Fl_Output to allow getting/setting the widget value as integers and floats in addition to strings. More...

#include <Flu_Output.h>

List of all members.

Public Member Functions

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

 ~Flu_Output ()
 Default destructor.

int ivalue () const
 the value of the widget as an integer

void ivalue (int v, const char *format="%d")
 Set the value of the widget as an integer using the given printf style format string.

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

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


Detailed Description

This class simply extends Fl_Output to allow getting/setting the widget value as integers and floats in addition to 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