Fl_Secret_Input.H 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // "$Id: Fl_Secret_Input.H 9774 2012-12-24 11:45:07Z manolo $"
  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. /* \file
  19. Fl_Secret_Input widget . */
  20. #ifndef Fl_Secret_Input_H
  21. #define Fl_Secret_Input_H
  22. #include "Fl_Input.H"
  23. /**
  24. The Fl_Secret_Input class is a subclass of Fl_Input that displays its
  25. input as a string of placeholders. Depending on the platform this
  26. placeholder is either the asterisk ('*') or the Unicode bullet
  27. character (U+2022).
  28. This subclass is usually used to receive passwords and other "secret" information.
  29. */
  30. class FL_EXPORT Fl_Secret_Input : public Fl_Input {
  31. public:
  32. /**
  33. Creates a new Fl_Secret_Input widget using the given
  34. position, size, and label string. The default boxtype is FL_DOWN_BOX.
  35. Inherited destructor destroys the widget and any value associated with it.
  36. */
  37. Fl_Secret_Input(int X,int Y,int W,int H,const char *l = 0);
  38. int handle(int);
  39. DECLARE_CLASS_CHEAP_RTTI_2(Fl_Secret_Input, Fl_Input)
  40. };
  41. #endif
  42. //
  43. // End of "$Id: Fl_Secret_Input.H 9774 2012-12-24 11:45:07Z manolo $".
  44. //