summaryrefslogtreecommitdiff
path: root/FL/Fl_Float_Input.H
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-09-15 11:10:51 +0000
committerFabien Costantini <fabien@onepost.net>2008-09-15 11:10:51 +0000
commit8701883e54d4e7e842d4cb27c17019c03cd33f55 (patch)
treeef86259413498fce96df97ea1decedc7e30515a6 /FL/Fl_Float_Input.H
parentb9ca1333769f87c029430a9d14a7a9937d400f93 (diff)
Doxygen documentation WP9 Done.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6251 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Float_Input.H')
-rw-r--r--FL/Fl_Float_Input.H15
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