1 //
2 // "$Id$"
3 //
4 // Secret input header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2011 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_Secret_Input widget . */
21 
22 #ifndef Fl_Secret_Input_H
23 #define Fl_Secret_Input_H
24 
25 #include "Fl_Input.H"
26 
27 /**
28   The Fl_Secret_Input class is a subclass of Fl_Input that displays its
29   input as a string of placeholders. Depending on the platform this
30   placeholder is either the asterisk ('*') or the Unicode bullet
31   character (U+2022).
32 
33   This subclass is usually used to receive passwords and other "secret" information.
34 */
35 class FL_EXPORT Fl_Secret_Input : public Fl_Input {
36 public:
37   /**
38     Creates a new Fl_Secret_Input widget using the given
39     position, size, and label string. The default boxtype is FL_DOWN_BOX.
40 
41     Inherited destructor destroys the widget and any value associated with it.
42   */
43   Fl_Secret_Input(int X,int Y,int W,int H,const char *l = 0);
44   int handle(int);
45 };
46 
47 #endif
48 
49 //
50 // End of "$Id$".
51 //
52