X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fedit.h;h=290bf63e5b46800aa1fa7dbb712c4b95cce4cb4c;hb=fb3e53778e49a406768506de9bf8edfd3d4c36e6;hp=cc7c7fab51ba7706df04ae7364f67f7d952bcea8;hpb=54cc56bff09f5004b2a6cd454375f06e56acf5a0;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/edit.h b/cinelerra-5.1/cinelerra/edit.h index cc7c7fab..290bf63e 100644 --- a/cinelerra-5.1/cinelerra/edit.h +++ b/cinelerra-5.1/cinelerra/edit.h @@ -54,6 +54,7 @@ public: Indexable* get_source(); // Copy from different EDL virtual void copy_from(Edit *edit); + virtual void clone_from(Edit *edit); // Compare with edit in same EDL virtual int identical(Edit &edit); virtual Edit& operator=(Edit& edit); @@ -65,6 +66,8 @@ public: virtual void synchronize_params(Edit *edit); // Used by Edits::insert_edits to shift plugin keyframes virtual void shift_keyframes(int64_t position) {}; + virtual int is_plugin() { return 0; } + virtual int is_transition() { return 0; } // Get size of frame to draw on timeline double picon_w(); @@ -105,13 +108,13 @@ public: int64_t length; // Channel or layer of source int channel; -// ID for resource pixmaps - int id; +// ID for resource pixmaps, plugins + int id, orig_id; // ID for selection groups int group_id; // User defined title for timeline char user_title[BCTEXTLEN]; - int is_plugin, is_selected; + int is_selected; // edge cannot be optimized int hard_left, hard_right; // title bar color