Blame toonz/sources/common/tparam/tparam.cpp
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
// TnzCore includes
|
|
Toshihiro Shimizu |
890ddd |
#include "tparam.h"
|
|
Toshihiro Shimizu |
890ddd |
#include "tparamchange.h"
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
DEFINE_CLASS_CODE(TParam, 11)
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
double TParamChange::m_minFrame = -(std::numeric_limits<double>::max)();</double>
|
|
Toshihiro Shimizu |
890ddd |
double TParamChange::m_maxFrame = +(std::numeric_limits<double>::max)();</double>
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
//------------------------------------------------------------------------------
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
TParamChange::TParamChange(TParam *param, double firstAffectedFrame,
|
|
Shinya Kitaoka |
120a6e |
double lastAffectedFrame, bool keyframeChanged,
|
|
Shinya Kitaoka |
120a6e |
bool dragging, bool undoing)
|
|
Shinya Kitaoka |
120a6e |
: m_param(param)
|
|
Shinya Kitaoka |
120a6e |
, m_firstAffectedFrame(firstAffectedFrame)
|
|
Shinya Kitaoka |
120a6e |
, m_lastAffectedFrame(lastAffectedFrame)
|
|
Shinya Kitaoka |
120a6e |
, m_keyframeChanged(keyframeChanged)
|
|
Shinya Kitaoka |
120a6e |
, m_dragging(dragging)
|
|
Shinya Kitaoka |
120a6e |
, m_undoing(undoing) {}
|