mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 16:04:07 +00:00
c9dbe4fd82
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1148 a592a061-630c-0410-9148-cb99ea01b6c8
75 lines
1.5 KiB
C++
75 lines
1.5 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright (C) 2000 The LyX Team.
|
|
*
|
|
* @author Jürgen Vigna
|
|
*
|
|
*======================================================*/
|
|
|
|
#ifndef FORM_PARAGRAPH_H
|
|
#define FORM_PARAGRAPH_H
|
|
|
|
#include "FormBase.h"
|
|
|
|
#ifdef __GNUG_
|
|
#pragma interface
|
|
#endif
|
|
|
|
|
|
struct FD_form_tabbed_paragraph;
|
|
struct FD_form_paragraph_general;
|
|
struct FD_form_paragraph_extra;
|
|
|
|
/** This class provides an XForms implementation of the FormParagraph Popup.
|
|
* @author Jürgen Vigna
|
|
*/
|
|
class FormParagraph : public FormBaseBD {
|
|
public:
|
|
///
|
|
FormParagraph(LyXView *, Dialogs *);
|
|
///
|
|
~FormParagraph();
|
|
|
|
private:
|
|
/// Build the popup
|
|
virtual void build();
|
|
/// Apply from popup
|
|
virtual void apply();
|
|
/// Update the popup.
|
|
virtual void update();
|
|
/// Filter the inputs on callback from xforms
|
|
virtual bool input(FL_OBJECT * ob, long);
|
|
|
|
///
|
|
virtual FL_FORM * form() const;
|
|
|
|
///
|
|
void general_update();
|
|
///
|
|
void extra_update();
|
|
///
|
|
void general_apply();
|
|
///
|
|
void extra_apply();
|
|
|
|
/// Typedefinitions from the fdesign produced Header file
|
|
FD_form_tabbed_paragraph * build_tabbed_paragraph();
|
|
///
|
|
FD_form_paragraph_general * build_paragraph_general();
|
|
///
|
|
FD_form_paragraph_extra * build_paragraph_extra();
|
|
|
|
/// Real GUI implementation.
|
|
FD_form_tabbed_paragraph * dialog_;
|
|
///
|
|
FD_form_paragraph_general * general_;
|
|
///
|
|
FD_form_paragraph_extra * extra_;
|
|
};
|
|
|
|
#endif
|