lyx_mirror/src/frontends/xforms/FormMinipage.h

40 lines
900 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file FormMinipage.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author J<EFBFBD>rgen Vigna
*
* Full author contact details are available in file CREDITS
*/
#ifndef FORMMINIPAGE_H
#define FORMMINIPAGE_H
#include "FormDialogView.h"
class ControlMinipage;
struct FD_minipage;
/** This class provides an XForms implementation of the Minipage
Dialog.
*/
class FormMinipage
: public FormController<ControlMinipage, FormView<FD_minipage> > {
public:
///
FormMinipage(Dialog &);
private:
/// Set the Params variable for the Controller.
virtual void apply();
/// Build the dialog.
virtual void build();
/// Update dialog before/whilst showing it.
virtual void update();
/// Filter the inputs on callback from xforms
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
};
#endif // FORMMINIPAGE_H