void resizeStart(int posx, bool size = true);
void resizeEnd(int posx);
OPERATIONTYPE operationMode(QPointF pos);
+ static int itemHeight();
const QString clipProducer() const;
int clipType() const;
DocClipBase *baseClip() const;
*
* Can be used for all effects using mlt_geometry with keyframes, but at the moment Pan & Zoom is the only one. */
QList <int> updatePanZoom(int width, int height, int cut = 0);
- void updateGeometryKeyframes(QDomElement effect, int paramIndex, int width, int height, int cut = 0);
- bool updateNormalKeyframes(QDomElement parameter, const int previous, const int current, bool fromStart);
- QMap<int, QDomElement> adjustEffectsToDuration(int width, int height, int previous, int current, bool fromStart);
+ void updateGeometryKeyframes(QDomElement effect, int paramIndex, int width, int height, ItemInfo oldInfo);
+ bool updateNormalKeyframes(QDomElement parameter);
+
+ /** @brief Adjusts effects after a clip duration change. */
+ QMap<int, QDomElement> adjustEffectsToDuration(int width, int height, ItemInfo oldInfo);
/** Returns the necessary (audio, video, general) producer.
* @param track Track of the requested producer