2001-07-30 11:56:00 +00:00
|
|
|
|
// -*- C++ -*-
|
2002-03-11 17:00:41 +00:00
|
|
|
|
/**
|
2001-07-30 11:56:00 +00:00
|
|
|
|
* \file FormFloat.h
|
2002-03-11 17:00:41 +00:00
|
|
|
|
* Read the file COPYING
|
|
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-07-30 11:56:00 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef FORMFLOAT_H
|
|
|
|
|
#define FORMFLOAT_H
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
|
#pragma interface
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "FormBase.h"
|
|
|
|
|
|
|
|
|
|
class ControlFloat;
|
2002-06-13 13:43:51 +00:00
|
|
|
|
struct FD_float;
|
2001-07-30 11:56:00 +00:00
|
|
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the Float
|
|
|
|
|
Dialog.
|
|
|
|
|
*/
|
2002-06-13 13:43:51 +00:00
|
|
|
|
class FormFloat : public FormCB<ControlFloat, FormDB<FD_float> > {
|
2001-07-30 11:56:00 +00:00
|
|
|
|
public:
|
|
|
|
|
///
|
2002-08-12 14:28:43 +00:00
|
|
|
|
FormFloat();
|
2001-07-30 11:56:00 +00:00
|
|
|
|
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
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // FORMFLOAT_H
|