Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_keyframe.cpp
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 35 | { | |||
---|---|---|---|---|---|
45 | Private(KisKeyframeChannel *channel, int time) | 45 | Private(KisKeyframeChannel *channel, int time) | ||
46 | : channel(channel), time(time), interpolationMode(Constant) | 46 | : channel(channel), time(time), interpolationMode(Constant) | ||
47 | {} | 47 | {} | ||
48 | }; | 48 | }; | ||
49 | 49 | | |||
50 | KisKeyframe::KisKeyframe(KisKeyframeChannel *channel, int time) | 50 | KisKeyframe::KisKeyframe(KisKeyframeChannel *channel, int time) | ||
51 | : m_d(new Private(channel, time)) | 51 | : m_d(new Private(channel, time)) | ||
52 | { | 52 | { | ||
53 | m_d->colorLabel = KisImageConfig(true).defaultFrameColorLabel(); | 53 | m_d->colorLabel = KisImageConfig().defaultFrameColorLabel(); | ||
54 | } | 54 | } | ||
55 | 55 | | |||
56 | KisKeyframe::KisKeyframe(const KisKeyframe *rhs, KisKeyframeChannel *channel) | 56 | KisKeyframe::KisKeyframe(const KisKeyframe *rhs, KisKeyframeChannel *channel) | ||
57 | : m_d(new Private(channel, rhs->time())) | 57 | : m_d(new Private(channel, rhs->time())) | ||
58 | { | 58 | { | ||
59 | m_d->interpolationMode = rhs->m_d->interpolationMode; | 59 | m_d->interpolationMode = rhs->m_d->interpolationMode; | ||
60 | m_d->tangentsMode = rhs->m_d->tangentsMode; | 60 | m_d->tangentsMode = rhs->m_d->tangentsMode; | ||
61 | m_d->leftTangent = rhs->m_d->leftTangent; | 61 | m_d->leftTangent = rhs->m_d->leftTangent; | ||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |