X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormMathsPanel.h;h=48427cff873588a3ea6258205d798921edbd202b;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=f70c1468674e4bdb478a0dbf1c657d77395ebeaa;hpb=1a0655a514d379e80609a4124bfe71d91929c519;p=lyx.git diff --git a/src/frontends/xforms/FormMathsPanel.h b/src/frontends/xforms/FormMathsPanel.h index f70c146867..48427cff87 100644 --- a/src/frontends/xforms/FormMathsPanel.h +++ b/src/frontends/xforms/FormMathsPanel.h @@ -6,31 +6,30 @@ * * \author Alejandro Aguilar Sierra * \author John Levon - * \author Angus Leeming + * \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 -#ifdef __GNUG__ -#pragma interface -#endif +#include "FormDialogView.h" -#include "FormBase.h" +namespace lyx { +namespace frontend { class ControlMath; struct FD_maths_panel; -class FormMathsBitmap; /** * This class provides an XForms implementation of the maths panel. */ -class FormMathsPanel : public FormCB > { +class FormMathsPanel + : public FormController > { public: /// - FormMathsPanel(); + FormMathsPanel(Dialog &); private: /// Not needed. @@ -42,12 +41,9 @@ 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); }; +} // namespace frontend +} // namespace lyx + #endif // FORM_MATHSPANEL_H