mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 08:39:07 +00:00
44 lines
876 B
C
44 lines
876 B
C
|
// -*- C++ -*-
|
||
|
/**
|
||
|
* \file FormMinipage.h
|
||
|
* This file is part of LyX, the document processor.
|
||
|
* Licence details can be found in the file COPYING.
|
||
|
*
|
||
|
* \author Dekel Tsur
|
||
|
*
|
||
|
* Full author contact details are available in file CREDITS
|
||
|
*/
|
||
|
|
||
|
#ifndef FORMWRAP_H
|
||
|
#define FORMWRAP_H
|
||
|
|
||
|
#ifdef __GNUG__
|
||
|
#pragma interface
|
||
|
#endif
|
||
|
|
||
|
#include "FormBase.h"
|
||
|
|
||
|
class ControlWrap;
|
||
|
struct FD_wrap;
|
||
|
|
||
|
/** This class provides an XForms implementation of the Wrap
|
||
|
Dialog.
|
||
|
*/
|
||
|
class FormWrap
|
||
|
: public FormCB<ControlWrap, FormDB<FD_wrap> > {
|
||
|
public:
|
||
|
///
|
||
|
FormWrap();
|
||
|
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 // FORMWRAP_H
|