9 #include "defaults.inc"
10 #include "formatpresets.h"
11 #include "mwindow.inc"
18 class New
: public BC_MenuItem
21 New(MWindow
*mwindow
);
25 int run_script(FileXML
*script
);
26 int create_new_project();
33 void create_new_edl();
37 class NewThread
: public Thread
40 NewThread(MWindow
*mwindow
, New
*new_project
);
56 class NewWindow
: public BC_Window
59 NewWindow(MWindow
*mwindow
, NewThread
*new_thread
, int x
, int y
);
66 NewThread
*new_thread
;
69 BC_TextBox
*achannels
;
70 BC_TextBox
*sample_rate
;
72 BC_TextBox
*vchannels
;
73 BC_TextBox
*frame_rate
;
74 BC_TextBox
*aspect_w_text
, *aspect_h_text
;
75 BC_TextBox
*output_w_text
, *output_h_text
;
76 NewPresets
*format_presets
;
79 class NewPresets
: public FormatPresets
82 NewPresets(MWindow
*mwindow
, NewWindow
*gui
, int x
, int y
);
91 class NewATracks
: public BC_TextBox
94 NewATracks(NewWindow
*nwindow
, char *text
, int x
, int y
);
99 class NewATracksTumbler
: public BC_Tumbler
102 NewATracksTumbler(NewWindow
*nwindow
, int x
, int y
);
103 int handle_up_event();
104 int handle_down_event();
108 class NewAChannels
: public BC_TextBox
111 NewAChannels(NewWindow
*nwindow
, char *text
, int x
, int y
);
116 class NewAChannelsTumbler
: public BC_Tumbler
119 NewAChannelsTumbler(NewWindow
*nwindow
, int x
, int y
);
120 int handle_up_event();
121 int handle_down_event();
125 class NewSampleRate
: public BC_TextBox
128 NewSampleRate(NewWindow
*nwindow
, char *text
, int x
, int y
);
134 class SampleRatePulldown
: public BC_ListBox
137 SampleRatePulldown(MWindow
*mwindow
, BC_TextBox
*output
, int x
, int y
);
150 class NewVTracks
: public BC_TextBox
153 NewVTracks(NewWindow
*nwindow
, char *text
, int x
, int y
);
158 class NewVTracksTumbler
: public BC_Tumbler
161 NewVTracksTumbler(NewWindow
*nwindow
, int x
, int y
);
162 int handle_up_event();
163 int handle_down_event();
167 class NewVChannels
: public BC_TextBox
170 NewVChannels(NewWindow
*nwindow
, char *text
, int x
, int y
);
175 class NewVChannelsTumbler
: public BC_Tumbler
178 NewVChannelsTumbler(NewWindow
*nwindow
, int x
, int y
);
179 int handle_up_event();
180 int handle_down_event();
184 class NewFrameRate
: public BC_TextBox
187 NewFrameRate(NewWindow
*nwindow
, char *text
, int x
, int y
);
192 class FrameRatePulldown
: public BC_ListBox
195 FrameRatePulldown(MWindow
*mwindow
, BC_TextBox
*output
, int x
, int y
);
201 class NewTrackW
: public BC_TextBox
204 NewTrackW(NewWindow
*nwindow
, int x
, int y
);
209 class NewTrackH
: public BC_TextBox
212 NewTrackH(NewWindow
*nwindow
, int x
, int y
);
217 class FrameSizePulldown
: public BC_ListBox
220 FrameSizePulldown(MWindow
*mwindow
,
221 BC_TextBox
*output_w
,
222 BC_TextBox
*output_h
,
227 BC_TextBox
*output_w
;
228 BC_TextBox
*output_h
;
231 class NewOutputW
: public BC_TextBox
234 NewOutputW(NewWindow
*nwindow
, int x
, int y
);
239 class NewOutputH
: public BC_TextBox
242 NewOutputH(NewWindow
*nwindow
, int x
, int y
);
247 class NewAspectAuto
: public BC_CheckBox
250 NewAspectAuto(NewWindow
*nwindow
, int x
, int y
);
256 class NewAspectW
: public BC_TextBox
259 NewAspectW(NewWindow
*nwindow
, char *text
, int x
, int y
);
264 class NewAspectH
: public BC_TextBox
267 NewAspectH(NewWindow
*nwindow
, char *text
, int x
, int y
);
272 class AspectPulldown
: public BC_ListBox
275 AspectPulldown(MWindow
*mwindow
,
276 BC_TextBox
*output_w
,
277 BC_TextBox
*output_h
,
282 BC_TextBox
*output_w
;
283 BC_TextBox
*output_h
;
286 class ColormodelItem
: public BC_ListBoxItem
289 ColormodelItem(char *text
, int value
);
293 class ColormodelPulldown
: public BC_ListBox
296 ColormodelPulldown(MWindow
*mwindow
,
297 BC_TextBox
*output_text
,
302 char* colormodel_to_text();
304 BC_TextBox
*output_text
;
308 class InterlacemodeItem
: public BC_ListBoxItem
311 InterlacemodeItem(char *text
, int value
);
315 class InterlacemodePulldown
: public BC_ListBox
318 InterlacemodePulldown(MWindow
*mwindow
,
319 BC_TextBox
*output_text
,
321 ArrayList
<BC_ListBoxItem
*> *data
,
325 char* interlacemode_to_text();
327 BC_TextBox
*output_text
;
330 char string
[BCTEXTLEN
];
333 class InterlacefixmethodItem
: public BC_ListBoxItem
336 InterlacefixmethodItem(char *text
, int value
);
340 class InterlacefixmethodPulldown
: public BC_ListBox
343 InterlacefixmethodPulldown(MWindow
*mwindow
,
344 BC_TextBox
*output_text
,
346 ArrayList
<BC_ListBoxItem
*> *data
,
350 char* interlacefixmethod_to_text();
352 BC_TextBox
*output_text
;
355 char string
[BCTEXTLEN
];
358 class NewCloneToggle
: public BC_Toggle
361 NewCloneToggle(MWindow
*mwindow
, NewWindow
*nwindow
, int x
, int y
);