7 #include "browsebutton.h"
8 #include "compresspopup.h"
10 #include "formatpopup.h"
11 #include "mwindow.inc"
18 class FormatPathButton
;
28 FormatTools(MWindow
*mwindow
,
29 BC_WindowBase
*window
,
33 int create_objects(int &init_x
,
35 int do_audio
, // Include tools for audio
36 int do_video
, // Include tools for video
37 int prompt_audio
, // Include checkbox for audio
38 int prompt_video
, // Include checkbox for video
39 int prompt_audio_channels
,
40 int prompt_video_compression
,
41 int lock_compressor
, // Select compressors to be offered
42 int recording
, // Change captions for recording
43 int *strategy
, // If nonzero, prompt for insertion strategy
44 int brender
); // Supply file formats for background rendering
45 void reposition_window(int &init_x
, int &init_y
);
47 int set_audio_options();
48 int set_video_options();
50 BC_WindowBase
*window
;
53 FormatAParams
*aparams_button
;
54 FormatVParams
*vparams_button
;
55 FormatAThread
*aparams_thread
;
56 FormatVThread
*vparams_thread
;
57 BrowseButton
*path_button
;
58 FormatPathText
*path_textbox
;
59 BC_Title
*format_title
;
60 FormatFormat
*format_button
;
61 BC_TextBox
*format_text
;
62 BC_ITumbler
*channels_tumbler
;
64 BC_Title
*audio_title
;
65 BC_Title
*channels_title
;
66 FormatChannels
*channels_button
;
67 FormatAudio
*audio_switch
;
69 BC_Title
*video_title
;
70 FormatVideo
*video_switch
;
72 FormatMultiple
*multiple_files
;
74 ArrayList
<PluginServer
*> *plugindb
;
82 int prompt_audio_channels
;
84 int prompt_video_compression
;
90 class FormatPathText
: public BC_TextBox
93 FormatPathText(int x
, int y
, FormatTools
*format
, Asset
*asset
);
103 class FormatFormat
: public FormatPopup
106 FormatFormat(int x
, int y
, FormatTools
*format
, Asset
*asset
);
114 class FormatAParams
: public BC_Button
117 FormatAParams(MWindow
*mwindow
, FormatTools
*format
, int x
, int y
);
123 class FormatVParams
: public BC_Button
126 FormatVParams(MWindow
*mwindow
, FormatTools
*format
, int x
, int y
);
133 class FormatAThread
: public Thread
136 FormatAThread(FormatTools
*format
);
145 class FormatVThread
: public Thread
148 FormatVThread(FormatTools
*format
, int lock_compressor
);
158 class FormatAudio
: public BC_CheckBox
161 FormatAudio(int x
, int y
, FormatTools
*format
, int default_
);
167 class FormatVideo
: public BC_CheckBox
170 FormatVideo(int x
, int y
, FormatTools
*format
, int default_
);
177 class FormatChannels
: public BC_TextBox
180 FormatChannels(int x
, int y
, Asset
*asset
);
187 class FormatToTracks
: public BC_CheckBox
190 FormatToTracks(int x
, int y
, int *output
);
196 class FormatMultiple
: public BC_CheckBox
199 FormatMultiple(MWindow
*mwindow
, int x
, int y
, int *output
);