Shinya Kitaoka 810553
#pragma once
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
Shinya Kitaoka 120a6e
class DVAPI TDoubleStepParam : public TDoubleParam {
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  TDoubleStepParam(double v = 0.0);
Shinya Kitaoka 120a6e
  TDoubleStepParam(const TDoubleParam &src);
Shinya Kitaoka 120a6e
  ~TDoubleStepParam();
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  TParam *clone() const { return new TDoubleStepParam(*this); }
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  double getValue(double frame, bool cropped = true) const;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  PERSIST_DECLARATION(TDoubleStepParam)
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
DEFINE_PARAM_SMARTPOINTER(TDoubleStepParam, double)
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif