]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/input_validators.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / input_validators.h
index c8c55d33da44c721050d90490e90867ac9f13641..26cb7571b9a5387c9bac38eee82e5d711143dd2a 100644 (file)
@@ -5,15 +5,15 @@
  *           LyX, The Document Processor
  *
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
- *           This file Copyright 1999-2000
+ *           This file Copyright 1999-2001
  *           Allan Rae
  * ====================================================== */
 
 /** Input validators and filters for xforms.
  * A collection of input filtering and validating functions for use in
- * XForms popups.  Mainly meant for filtering input boxes although may
+ * XForms dialogs.  Mainly meant for filtering input boxes although may
  * be extended to include other generally useful xforms-specific tools.
  */
 
@@ -25,8 +25,19 @@ extern "C"
 {
 #endif
 
-/// Only allow whole numbers no '+' or '-' signs or exponents.
+    /** Only allow integer numbers,
+       possibly preceeded by a +' or '-' sign */
+int fl_int_filter(FL_OBJECT *, char const *, char const *, int);
+    /** Only allow integer numbers. No '+' or '-' signs. */
 int fl_unsigned_int_filter(FL_OBJECT *, char const *, char const *, int);
+    /** Only allow floating point numbers,
+       possibly preceeded by a +' or '-' sign */
+int fl_float_filter(FL_OBJECT *, char const *, char const *, int);
+    /** Only allow floating point numbers. No '+' or '-' signs. */
+int fl_unsigned_float_filter(FL_OBJECT *, char const *, char const *, int);
+
+    /** Only allow lowercase letters. */
+int fl_lowercase_filter(FL_OBJECT *, char const *, char const *, int);
 
 #if defined(__cplusplus)
 }