]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMathsPanel.h
Tiny clean-ups.
[lyx.git] / src / frontends / xforms / FormMathsPanel.h
index 93b9e773b5bee14369b995eb128d9d0652227ad7..bf9d1eb8adba0d822c4564dcce0d61878c43bcb9 100644 (file)
@@ -8,26 +8,27 @@
  * \author John Levon
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORM_MATHSPANEL_H
 #define FORM_MATHSPANEL_H
 
 
-#include "FormBase.h"
+#include "FormDialogView.h"
+
 
 class ControlMath;
 struct FD_maths_panel;
-class FormMathsBitmap;
 
 /**
  * This class provides an XForms implementation of the maths panel.
  */
-class FormMathsPanel : public FormCB<ControlMath, FormDB<FD_maths_panel> > {
+class FormMathsPanel
+       : public FormController<ControlMath, FormView<FD_maths_panel> > {
 public:
        ///
-       FormMathsPanel();
+       FormMathsPanel(Dialog &);
 
 private:
        /// Not needed.
@@ -39,12 +40,6 @@ private:
        virtual void build();
        ///
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
-
-       /** Add a bitmap dialog to the store of all daughters_ and
-        *  return a pointer to the dialog, so that bitmaps can be added to it.
-        */
-       FormMathsBitmap * addDaughter(void * button, string const & title,
-                                     char const * const * data, int size);
 };
 
 #endif //  FORM_MATHSPANEL_H