Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_keyframe.cpp
Context not available. | |||||
41 | QPointF leftTangent; | 41 | QPointF leftTangent; | ||
---|---|---|---|---|---|
42 | QPointF rightTangent; | 42 | QPointF rightTangent; | ||
43 | int colorLabel{0}; | 43 | int colorLabel{0}; | ||
44 | bool hasContent = false; | ||||
44 | 45 | | |||
45 | Private(KisKeyframeChannel *channel, int time) | 46 | Private(KisKeyframeChannel *channel, int time) | ||
46 | : channel(channel), time(time), interpolationMode(Constant) | 47 | : channel(channel), time(time), interpolationMode(Constant) | ||
Context not available. | |||||
62 | m_d->leftTangent = rhs->m_d->leftTangent; | 63 | m_d->leftTangent = rhs->m_d->leftTangent; | ||
63 | m_d->rightTangent = rhs->m_d->rightTangent; | 64 | m_d->rightTangent = rhs->m_d->rightTangent; | ||
64 | m_d->colorLabel = rhs->m_d->colorLabel; | 65 | m_d->colorLabel = rhs->m_d->colorLabel; | ||
66 | m_d->hasContent = rhs->m_d->hasContent; | ||||
65 | } | 67 | } | ||
66 | 68 | | |||
67 | KisKeyframe::~KisKeyframe() | 69 | KisKeyframe::~KisKeyframe() | ||
Context not available. | |||||
123 | m_d->colorLabel = label; | 125 | m_d->colorLabel = label; | ||
124 | } | 126 | } | ||
125 | 127 | | |||
128 | void KisKeyframe::setHasContent(bool content) | ||||
129 | { | ||||
130 | m_d->hasContent = content ; | ||||
131 | } | ||||
132 | | ||||
133 | bool KisKeyframe::hasContent() { | ||||
134 | return m_d->hasContent; | ||||
135 | } | ||||
136 | | ||||
126 | KisKeyframeChannel *KisKeyframe::channel() const | 137 | KisKeyframeChannel *KisKeyframe::channel() const | ||
127 | { | 138 | { | ||
128 | return m_d->channel; | 139 | return m_d->channel; | ||
Context not available. |