]> git.sesse.net Git - kdenlive/blobdiff - src/effectstackview.h
Initial support for keyframes in track effects (WIP)
[kdenlive] / src / effectstackview.h
index 02229adb5e3a0e8ba410b7352a17f2e91e2df8b2..1c7cb83006e3d6b6c34815eb22660745b6c59fee 100644 (file)
@@ -55,6 +55,10 @@ public:
     /** @brief Tells the effect editor to update its timecode format. */
     void updateTimecodeFormat();
 
+    /** @brief return the index of the track displayed in effect stack
+     ** @param ok set to true if we are looking at a track's effects, otherwise false. */
+    int isTrackMode(bool *ok) const;
+
 private:
     Ui::EffectStack_UI m_ui;
     Monitor *m_monitor;
@@ -70,6 +74,9 @@ private:
     /** @brief The track index of currently edited track. */
     int m_trackindex;
 
+    /** If in track mode: Info of the edited track to be able to access its duration. */
+    TrackInfo m_trackInfo;
+
     /** @brief Sets the list of effects according to the clip's effect list.
     * @param ix Number of the effect to preselect */
     void setupListView(int ix);