18 m_animation(animation),
38 if (!other || other->
id() !=
id()) {
60 m_animation(animation),
63 m_channelId(channelId),
64 m_targetKeyframe(targetKeyframe)
83 if (!other || other->
id() !=
id()) {
void requestTimeSwitchNonGUI(int time, bool useUndo=false)
KisKeyframeChannel stores and manages KisKeyframes. Maps units of time to virtual keyframe values....
int lookupKeyframeTime(KisKeyframeSP toLookup)
Search for the time for a given keyframe. (Reverse map lookup, so use sparingly.)
KisImageAnimationInterface * m_animation
KisSwitchCurrentTimeCommand(KisImageAnimationInterface *animation, int oldTime, int newTime, KUndo2Command *parent=0)
~KisSwitchCurrentTimeCommand() override
bool mergeWith(const KUndo2Command *command) override
KisSwitchCurrentTimeToKeyframeCommand(KisImageAnimationInterface *animation, int oldTime, KisNodeSP node, KoID channelId, KisKeyframeSP targetKeyframe, KUndo2Command *parent=0)
KisKeyframeSP m_targetKeyframe
~KisSwitchCurrentTimeToKeyframeCommand() override
KisImageAnimationInterface * m_animation
bool mergeWith(const KUndo2Command *command) override
KUndo2MagicString kundo2_i18n(const char *text)
@ ChangeCurrentTimeToKeyId
KisKeyframeChannel * getKeyframeChannel(const QString &id, bool create)