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 |
|
|
Toshihiro Shimizu |
890ddd |
TParamChange::TParamChange(TParam *param,
|
|
Toshihiro Shimizu |
890ddd |
double firstAffectedFrame, double lastAffectedFrame,
|
|
Toshihiro Shimizu |
890ddd |
bool keyframeChanged, bool dragging, bool undoing)
|
|
Toshihiro Shimizu |
890ddd |
: m_param(param), m_firstAffectedFrame(firstAffectedFrame), m_lastAffectedFrame(lastAffectedFrame), m_keyframeChanged(keyframeChanged), m_dragging(dragging), m_undoing(undoing)
|
|
Toshihiro Shimizu |
890ddd |
{
|
|
Toshihiro Shimizu |
890ddd |
}
|