Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef TSTEPPARAM_H
Toshihiro Shimizu 890ddd
#define TSTEPPARAM_H
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "tdoubleparam.h"
Toshihiro Shimizu 890ddd
#include "texception.h"
Toshihiro Shimizu 890ddd
#include "tundo.h"
Toshihiro Shimizu 890ddd
#include "tparamundo.h"
Toshihiro Shimizu 890ddd
#include <set></set>
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#undef DVAPI
Toshihiro Shimizu 890ddd
#undef DVVAR
Toshihiro Shimizu 890ddd
#ifdef TNZCORE_EXPORTS
Toshihiro Shimizu 890ddd
#define DVAPI DV_EXPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_EXPORT_VAR
Toshihiro Shimizu 890ddd
#else
Toshihiro Shimizu 890ddd
#define DVAPI DV_IMPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_IMPORT_VAR
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class DVAPI TDoubleStepParam : public TDoubleParam
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
public:
Toshihiro Shimizu 890ddd
	TDoubleStepParam(double v = 0.0);
Toshihiro Shimizu 890ddd
	TDoubleStepParam(const TDoubleParam &src);
Toshihiro Shimizu 890ddd
	~TDoubleStepParam();
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	TParam *clone() const { return new TDoubleStepParam(*this); }
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	double getValue(double frame, bool cropped = true) const;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	PERSIST_DECLARATION(TDoubleStepParam)
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
DEFINE_PARAM_SMARTPOINTER(TDoubleStepParam, double)
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif