1 //
2 // "$Id$"
3 //
4 // Integer input header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2010 by Bill Spitzak and others.
7 //
8 // This library is free software. Distribution and use rights are outlined in
9 // the file "COPYING" which should have been included with this file.  If this
10 // file is missing or damaged, see the license at:
11 //
12 //     http://www.fltk.org/COPYING.php
13 //
14 // Please report all bugs and problems on the following page:
15 //
16 //     http://www.fltk.org/str.php
17 //
18 
19 /* \file
20    Fl_Int_Input widget . */
21 
22 #ifndef Fl_Int_Input_H
23 #define Fl_Int_Input_H
24 
25 #include "Fl_Input.H"
26 
27 /**
28   The Fl_Int_Input class is a subclass of Fl_Input that only allows
29   the user to type decimal digits (or hex numbers of the form 0xaef).
30 */
31 class FL_EXPORT Fl_Int_Input : public Fl_Input {
32 public:
33   /**
34     Creates a new Fl_Int_Input widget using the given position,
35     size, and label string. The default boxtype is FL_DOWN_BOX.
36 
37     Inherited destructor destroys the widget and any value associated with it.
38   */
39   Fl_Int_Input(int X,int Y,int W,int H,const char *l = 0);
40 };
41 
42 #endif
43 
44 //
45 // End of "$Id$".
46 //
47