]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/RadioButtonGroup.h
Add a couple of new functions.
[lyx.git] / src / frontends / xforms / RadioButtonGroup.h
index 9c66c4a596477c1a4acce474dfdad6723e606ca3..5fc6b1ed4d6704a6b081da7aa5c1777f76592166 100644 (file)
@@ -1,14 +1,13 @@
 // -*- C++ -*-
 /**
  * \file RadioButtonGroup.h
- * Copyright 2000 Baruch Even
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
  * \author Baruch Even
  * \author Rob Lahaye
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 
@@ -42,9 +41,14 @@ public:
        void set(size_type value) const;
        void set(FL_OBJECT * ob) const;
 
+       // None of the radiobuttons are set.
+       void unset() const;
+
        // Get the active button's value.
        size_type get() const;
 
+       void setEnabled(bool enabled);
+
 private:
        ///
        typedef std::pair<FL_OBJECT *, size_type> ButtonValuePair;