]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormParagraph.h
Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
[lyx.git] / src / frontends / xforms / FormParagraph.h
index 7c46e3c1b4d2528f7a80c30c07d003f32c4355c3..d55ae062aec0ef6bd94500fa5945c46516e1428e 100644 (file)
@@ -6,28 +6,28 @@
  *
  * \author Jürgen Vigna
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORM_PARAGRAPH_H
 #define FORM_PARAGRAPH_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
+#include "RadioButtonGroup.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
 
-struct FD_paragraph;
 class ControlParagraph;
+struct FD_paragraph;
 
 /** This class provides an XForms implementation of the FormParagraph dialog.
  */
 class FormParagraph
-       : public FormCB<ControlParagraph, FormDB<FD_paragraph> > {
+       : public FormController<ControlParagraph, FormView<FD_paragraph> > {
 public:
        ///
-       FormParagraph();
+       FormParagraph(Dialog &);
 private:
        /// Build the dialog
        virtual void build();
@@ -38,6 +38,12 @@ private:
 
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
+
+       /// alignment radio buttons
+       RadioButtonGroup alignment_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif