// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2001 The LyX Team.
+/**
+ * \file FormMinipage.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- *======================================================
+ * \author Jürgen Vigna
*
- * \file FormMinipage.h
- * \author Juergen Vigna, jug@sad.it
+ * Full author contact details are available in file CREDITS
*/
#ifndef FORMMINIPAGE_H
#define FORMMINIPAGE_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "FormBase.h"
+#include "FormDialogView.h"
class ControlMinipage;
-struct FD_form_minipage;
+struct FD_minipage;
/** This class provides an XForms implementation of the Minipage
Dialog.
*/
class FormMinipage
- : public FormCB<ControlMinipage, FormDB<FD_form_minipage> > {
+ : public FormController<ControlMinipage, FormView<FD_minipage> > {
public:
///
- FormMinipage(ControlMinipage &);
+ FormMinipage(Dialog &);
private:
/// Set the Params variable for the Controller.
virtual void apply();
virtual void build();
/// Update dialog before/whilst showing it.
virtual void update();
-
- /// Fdesign generated method
- FD_form_minipage * build_minipage();
+ /// Filter the inputs on callback from xforms
+ virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
};
#endif // FORMMINIPAGE_H