7 #include "browsebutton.h"
9 #include "compresspopup.h"
10 #include "condition.inc"
12 #include "errorbox.inc"
16 #include "mwindow.inc"
18 #define EDLTYPE_CMX3600 1
20 class ExportEDLPathText
;
21 class ExportEDLWindowTrackList
;
22 class ExportEDLWindow
;
27 ExportEDLAsset(MWindow
*mwindow
, EDL
*edl
);
36 // We are currently exporting a track at once
46 int edit_to_timecodes(Edit
*edit
, char *sourceinpoint
, char *sourceoutpoint
, char *destinpoint
, char *destoutpoint
, char *reel_name
);
47 void double_to_CMX3600(double seconds
, double frame_rate
, char *str
);
51 class ExportEDLItem
: public BC_MenuItem
54 ExportEDLItem(MWindow
*mwindow
);
61 class ExportEDL
: public Thread
64 ExportEDL(MWindow
*mwindow
);
67 void start_interactive();
71 // Force filename to have a 0 padded number if rendering to a list.
74 // Mutex *package_lock, *counter_lock;
75 // Copy of mwindow preferences
76 // Preferences *preferences;
77 // Total selection to render in seconds
78 double total_start
, total_end
;
80 // Current open RenderWindow
81 ExportEDLWindow
*exportedl_window
;
82 ExportEDLAsset
*exportasset
;
87 class ExportEDLWindow
: public BC_Window
90 ExportEDLWindow(MWindow
*mwindow
, ExportEDL
*exportedl
, ExportEDLAsset
*exportasset
);
95 ExportEDLAsset
*exportasset
;
97 BrowseButton
*path_button
;
98 ExportEDLPathText
*path_textbox
;
99 BC_RecentList
*path_recent
;
100 ExportEDLWindowTrackList
*track_list
;
102 ArrayList
<BC_ListBoxItem
*> items_tracks
[2];
111 class ExportEDLPathText
: public BC_TextBox
114 ExportEDLPathText(int x
, int y
, ExportEDLWindow
*window
);
115 ~ExportEDLPathText();
118 ExportEDLWindow
*window
;
121 class ExportEDLWindowTrackList
: public BC_ListBox
124 ExportEDLWindowTrackList(ExportEDLWindow
*window
,
129 ArrayList
<BC_ListBoxItem
*> *track_list
);
132 ExportEDLWindow
*window
;