mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 16:47:35 +00:00
50 lines
1.0 KiB
C
50 lines
1.0 KiB
C
|
/**
|
||
|
* \file FormPreamble.h
|
||
|
* Copyright 2001 The LyX Team.
|
||
|
* See the file COPYING.
|
||
|
*
|
||
|
* \author Edwin Leuven, leuven@fee.uva.nl
|
||
|
*/
|
||
|
|
||
|
#ifndef FORMPREAMBLE_H
|
||
|
#define FORMPREAMBLE_H
|
||
|
|
||
|
#include "FormBase.h"
|
||
|
|
||
|
struct FD_form_preamble;
|
||
|
|
||
|
/** This class provides an XForms implementation of the FormPreamble Dialog.
|
||
|
*/
|
||
|
class FormPreamble : public FormBaseBD {
|
||
|
public:
|
||
|
///
|
||
|
FormPreamble(LyXView *, Dialogs *);
|
||
|
///
|
||
|
~FormPreamble();
|
||
|
|
||
|
private:
|
||
|
/** Redraw the form (on receipt of a Signal indicating, for example,
|
||
|
* that the xform colours have been re-mapped).
|
||
|
*/
|
||
|
|
||
|
/// Filter the inputs
|
||
|
// virtual bool input(FL_OBJECT *, long);
|
||
|
|
||
|
/// Build the popup
|
||
|
virtual void build();
|
||
|
/// Apply from popup
|
||
|
virtual void apply();
|
||
|
/// Update the popup.
|
||
|
virtual void update();
|
||
|
///
|
||
|
virtual FL_FORM * form() const;
|
||
|
|
||
|
/// Typedefinitions from the fdesign produced Header file
|
||
|
FD_form_preamble * build_preamble();
|
||
|
|
||
|
/// Real GUI implementation.
|
||
|
FD_form_preamble * dialog_;
|
||
|
};
|
||
|
|
||
|
#endif
|