summaryrefslogtreecommitdiff
path: root/FL/Fl_Int_Input.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Int_Input.H')
-rw-r--r--FL/Fl_Int_Input.H13
1 files changed, 11 insertions, 2 deletions
diff --git a/FL/Fl_Int_Input.H b/FL/Fl_Int_Input.H
index 64ae2310d..92c91e080 100644
--- a/FL/Fl_Int_Input.H
+++ b/FL/Fl_Int_Input.H
@@ -30,10 +30,19 @@
#include "Fl_Input.H"
+/**
+ The Fl_Int_Input class is a subclass of Fl_Input
+ that only allows the user to type decimal digits (or hex numbers of the form 0xaef).
+*/
class Fl_Int_Input : public Fl_Input {
public:
- Fl_Int_Input(int X,int Y,int W,int H,const char *l = 0)
- : Fl_Input(X,Y,W,H,l) {type(FL_INT_INPUT);}
+ /**
+ Creates a new Fl_Int_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_Int_Input(int X,int Y,int W,int H,const char *l = 0)
+ : Fl_Input(X,Y,W,H,l) {type(FL_INT_INPUT);}
};
#endif