X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormFloat.h;h=5eac685583fadf02445284d98f4cccfed171bb80;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=bf870549d5301c7410a46a0f1a5acb67d4aaffc9;hpb=1e3d2fce7fdf59ffebedee91ce50d02307ce2083;p=lyx.git diff --git a/src/frontends/xforms/FormFloat.h b/src/frontends/xforms/FormFloat.h index bf870549d5..5eac685583 100644 --- a/src/frontends/xforms/FormFloat.h +++ b/src/frontends/xforms/FormFloat.h @@ -1,20 +1,22 @@ // -*- C++ -*- /** * \file FormFloat.h - * Copyright 2001 the LyX Team - * Read the file COPYING + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes, larsbj@lyx.org + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS. */ #ifndef FORMFLOAT_H #define FORMFLOAT_H -#ifdef __GNUG__ -#pragma interface -#endif +#include "FormDialogView.h" +#include "RadioButtonGroup.h" -#include "FormBase.h" +namespace lyx { +namespace frontend { class ControlFloat; struct FD_float; @@ -22,10 +24,10 @@ struct FD_float; /** This class provides an XForms implementation of the Float Dialog. */ -class FormFloat : public FormCB > { +class FormFloat : public FormController > { public: /// - FormFloat(); + FormFloat(Dialog &); private: /// Set the Params variable for the Controller. virtual void apply(); @@ -35,6 +37,12 @@ private: virtual void update(); /// Filter the inputs on callback from xforms virtual ButtonPolicy::SMInput input(FL_OBJECT *, long); + + /// placement + RadioButtonGroup placement_; }; +} // namespace frontend +} // namespace lyx + #endif // FORMFLOAT_H