X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fedit.h;h=d3598adb96af4d98271e257fb92f2d872bf0af34;hb=c279e21fc2394a7908bbd1ba8c79b116fe9fb14a;hp=3324711a08609cfc100377822411dab54b4a4a23;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/edit.h b/cinelerra-5.1/cinelerra/edit.h index 3324711a..d3598adb 100644 --- a/cinelerra-5.1/cinelerra/edit.h +++ b/cinelerra-5.1/cinelerra/edit.h @@ -132,7 +132,8 @@ public: // User defined title for timeline char user_title[BCTEXTLEN]; int is_plugin; - +// edge cannot be optimized + int hard_left, hard_right; // Transition if one is present at the beginning of this edit // This stores the length of the transition @@ -142,46 +143,18 @@ public: Track *track; -// Asset is 0 if silence, otherwise points an object in edl->assets +// points to an object in edl->assets if set Asset *asset; - -// points to an object in edl->clips if a nested clip +// points to an object in edl->nested_edls if set EDL *nested_edl; +// Asset and nested_edl are 0 if silence // Parent EDL of this edit EDL *edl; - - - - - - - - - - -// ============================= initialization - int load_properties(FileXML *xml, int64_t &startproject); virtual int load_properties_derived(FileXML *xml) { return 0; }; -// ============================= drawing - - virtual int draw(int flash, int center_pixel, - int x, int w, int y, int h, int set_index_file) { return 0; } - virtual int set_index_file(int flash, int center_pixel, - int x, int y, int w, int h) { return 0; } - int draw_transition(int flash, int center_pixel, - int x, int w, int y, int h, int set_index_file); - - int draw_handles(BC_SubWindow *canvas, float view_start, float view_units, - float zoom_units, int view_pixels, int center_pixel); - int draw_titles(BC_SubWindow *canvas, float view_start, float zoom_units, - int view_pixels, int center_pixel); - -// ============================= editing - virtual int copy_properties_derived(FileXML *xml, int64_t length_in_selection) { return 0; } @@ -194,6 +167,8 @@ public: int64_t &left_sample, int64_t &right_sample, float view_start, float zoom_units) { return 0; } virtual int64_t get_source_end(int64_t default_); + void get_title(char *title); + int dump(FILE *fp=stdout); virtual int dump_derived() { return 0; } };