X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormParagraph.h;h=d55ae062aec0ef6bd94500fa5945c46516e1428e;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=d0e8e73b7a92b78c1f31e33b4bb2ef9a5613a3aa;hpb=760e4f4ce6e064daf5c6733c975a6c883f4f82c9;p=lyx.git diff --git a/src/frontends/xforms/FormParagraph.h b/src/frontends/xforms/FormParagraph.h index d0e8e73b7a..d55ae062ae 100644 --- a/src/frontends/xforms/FormParagraph.h +++ b/src/frontends/xforms/FormParagraph.h @@ -1,31 +1,33 @@ // -*- C++ -*- /** * \file FormParagraph.h - * Copyright 2001 The LyX Team. - * See the file COPYING. + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * \author Jürgen Vigna, jug@sad.it + * \author Jürgen Vigna + * + * Full author contact details are available in file CREDITS. */ #ifndef FORM_PARAGRAPH_H #define FORM_PARAGRAPH_H -#ifdef __GNUG__ -#pragma interface -#endif +#include "FormDialogView.h" +#include "RadioButtonGroup.h" -#include "FormBase.h" +namespace lyx { +namespace frontend { -struct FD_form_paragraph; class ControlParagraph; +struct FD_paragraph; /** This class provides an XForms implementation of the FormParagraph dialog. */ class FormParagraph - : public FormCB > { + : public FormController > { public: /// - FormParagraph(ControlParagraph &); + FormParagraph(Dialog &); private: /// Build the dialog virtual void build(); @@ -33,12 +35,15 @@ private: virtual void apply(); /// Update the dialog virtual void update(); - + /// Filter the inputs on callback from xforms virtual ButtonPolicy::SMInput input(FL_OBJECT *, long); - /// Fdesign generated method - FD_form_paragraph * build_paragraph(); + /// alignment radio buttons + RadioButtonGroup alignment_; }; +} // namespace frontend +} // namespace lyx + #endif