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
);
39 // Variables specific to each EDL
40 // Number of samples if pasted from a clipboard.
41 // If 0 use longest track
42 double clipboard_length
;
44 char clip_title
[BCTEXTLEN
];
45 char clip_notes
[BCTEXTLEN
];
46 // Folder in parent EDL of clip
47 char folder
[BCTEXTLEN
];
49 // The reason why selection ranges and inpoints have to be separate:
50 // The selection position has to change to set new in points.
51 // For editing functions we have a precidence for what determines
54 // 1) If in_point or out_point exists they're used.
55 // The highlight is ignored except for setting in and out points.
56 // 2) If a highlighted selection exists it's used.
57 double selectionstart
, selectionend
;
58 double in_point
, out_point
;
62 // Vertical start of track view
64 // Start of view in pixels. This has to be pixels since either
65 // samples or seconds would require drawing in fractional pixels.
67 // Zooming of the timeline. Number of samples per pixel.
74 // Range for CWindow and VWindow preview in seconds.