diff options
Diffstat (limited to 'FL/Fl_Float_Input.H')
| -rw-r--r-- | FL/Fl_Float_Input.H | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/FL/Fl_Float_Input.H b/FL/Fl_Float_Input.H index 76a7c97c1..12061cf53 100644 --- a/FL/Fl_Float_Input.H +++ b/FL/Fl_Float_Input.H @@ -25,15 +25,26 @@ // http://www.fltk.org/str.php // + #ifndef Fl_Float_Input_H #define Fl_Float_Input_H #include "Fl_Input.H" +/** + The Fl_Float_Input class is a subclass of Fl_Input + that only allows the user to type floating point numbers (sign, + digits, decimal point, more digits, 'E' or 'e', sign, digits). +*/ class Fl_Float_Input : public Fl_Input { public: - Fl_Float_Input(int X,int Y,int W,int H,const char *l = 0) - : Fl_Input(X,Y,W,H,l) {type(FL_FLOAT_INPUT);} + /** + Creates a new Fl_Float_Input widget using the given position, + size, and label string. The default boxtype is FL_DOWN_BOX. + <P> Inherited destructor destroys the widget and any value associated with it + */ + Fl_Float_Input(int X,int Y,int W,int H,const char *l = 0) + : Fl_Input(X,Y,W,H,l) {type(FL_FLOAT_INPUT);} }; #endif |
