- virtual void resizeStart(int posx, double speed = 1.0);
- virtual void resizeEnd(int posx, double speed = 1.0);
+ /** @brief Return the current item's height */
+ static int itemHeight();
+ /** @brief Return the current item's vertical offset
+ * For example transitions are drawn at 1/3 of track height */
+ static int itemOffset();
+
+ /** @brief Resizes the clip from the start.
+ * @param posx Absolute position of new in point
+ * @param hasSizeLimit (optional) Whether the clip has a maximum size */
+ virtual void resizeStart(int posx, bool hasSizeLimit = true, bool emitChange = true);
+
+ /** @brief Resizes the clip from the end.
+ * @param posx Absolute position of new out point */
+ virtual void resizeEnd(int posx, bool emitChange = true);