mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
7cbe56d12e
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3713 a592a061-630c-0410-9148-cb99ea01b6c8
45 lines
912 B
C++
45 lines
912 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file FormMinipage.h
|
|
* Copyright 2001 the LyX Team
|
|
* Read the file COPYING
|
|
*
|
|
* \author Jürgen Vigna, jug@sad.it
|
|
*/
|
|
|
|
#ifndef FORMMINIPAGE_H
|
|
#define FORMMINIPAGE_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "FormBase.h"
|
|
|
|
class ControlMinipage;
|
|
struct FD_form_minipage;
|
|
|
|
/** This class provides an XForms implementation of the Minipage
|
|
Dialog.
|
|
*/
|
|
class FormMinipage
|
|
: public FormCB<ControlMinipage, FormDB<FD_form_minipage> > {
|
|
public:
|
|
///
|
|
FormMinipage(ControlMinipage &);
|
|
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);
|
|
|
|
/// Fdesign generated method
|
|
FD_form_minipage * build_minipage();
|
|
};
|
|
|
|
#endif // FORMMINIPAGE_H
|