X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormParagraph.h;h=d55ae062aec0ef6bd94500fa5945c46516e1428e;hb=d5443737342903de489d527802cd2cdd38987d74;hp=a509aa3d9153c8534b19a60319a7913f8870afff;hpb=a97c4f51c3763ec213ecf84b4badec0bba8c0f60;p=lyx.git diff --git a/src/frontends/xforms/FormParagraph.h b/src/frontends/xforms/FormParagraph.h index a509aa3d91..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_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,9 +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); + + /// alignment radio buttons + RadioButtonGroup alignment_; }; +} // namespace frontend +} // namespace lyx + #endif