4 #include "bcwindowbase.inc"
5 #include "defaults.inc"
11 // Unique session for every EDL
16 LocalSession(EDL
*edl
);
20 // Get selected range based on precidence of in/out points and
21 // highlighted region.
22 double get_selectionstart();
23 double get_selectionend();
26 void copy_from(LocalSession
*that
);
27 void save_xml(FileXML
*file
, double start
);
28 void load_xml(FileXML
*file
, unsigned long load_flags
);
29 int load_defaults(Defaults
*defaults
);
30 int save_defaults(Defaults
*defaults
);
31 void synchronize_params(LocalSession
*that
);
38 // Variables specific to each EDL
39 // Number of samples if pasted from a clipboard.
40 // If 0 use longest track
41 double clipboard_length
;
43 char clip_title
[BCTEXTLEN
];
44 char clip_notes
[BCTEXTLEN
];
45 // Folder in parent EDL of clip
46 char folder
[BCTEXTLEN
];
48 // The reason why selection ranges and inpoints have to be separate:
49 // The selection position has to change to set new in points.
50 // For editing functions we have a precidence for what determines
53 // 1) If in_point or out_point exists they're used.
54 // The highlight is ignored except for setting in and out points.
55 // 2) If a highlighted selection exists it's used.
56 double selectionstart
, selectionend
;
57 double in_point
, out_point
;
61 // Vertical start of track view
63 // Start of view in pixels. This has to be pixels since either
64 // samples or seconds would require drawing in fractional pixels.
66 // Zooming of the timeline. Number of samples per pixel.
73 // Range for CWindow and VWindow in seconds