2001-07-30 11:56:00 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright 2001 The LyX Team.
|
|
|
|
*
|
|
|
|
*======================================================
|
|
|
|
*
|
|
|
|
* \file FormFloat.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMFLOAT_H
|
|
|
|
#define FORMFLOAT_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "FormBase.h"
|
|
|
|
|
|
|
|
class ControlFloat;
|
|
|
|
struct FD_form_float;
|
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the Float
|
|
|
|
Dialog.
|
|
|
|
*/
|
|
|
|
class FormFloat : public FormCB<ControlFloat, FormDB<FD_form_float> > {
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
FormFloat(ControlFloat &);
|
|
|
|
|
|
|
|
private:
|
|
|
|
/// Set the Params variable for the Controller.
|
|
|
|
virtual void apply();
|
|
|
|
/// Build the dialog.
|
|
|
|
virtual void build();
|
|
|
|
/// Update dialog before/whilst showing it.
|
|
|
|
virtual void update();
|
2001-09-11 17:27:28 +00:00
|
|
|
/// Filter the inputs on callback from xforms
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
2001-07-30 11:56:00 +00:00
|
|
|
|
|
|
|
/// Fdesign generated method
|
|
|
|
FD_form_float * build_float();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMFLOAT_H
|