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
);
89 class NewSwapExtents
: public BC_Button
92 NewSwapExtents(MWindow
*mwindow
, NewWindow
*gui
, int x
, int y
);
100 class NewATracks
: public BC_TextBox
103 NewATracks(NewWindow
*nwindow
, char *text
, int x
, int y
);
108 class NewATracksTumbler
: public BC_Tumbler
111 NewATracksTumbler(NewWindow
*nwindow
, int x
, int y
);
112 int handle_up_event();
113 int handle_down_event();
117 class NewAChannels
: public BC_TextBox
120 NewAChannels(NewWindow
*nwindow
, char *text
, int x
, int y
);
125 class NewAChannelsTumbler
: public BC_Tumbler
128 NewAChannelsTumbler(NewWindow
*nwindow
, int x
, int y
);
129 int handle_up_event();
130 int handle_down_event();
134 class NewSampleRate
: public BC_TextBox
137 NewSampleRate(NewWindow
*nwindow
, char *text
, int x
, int y
);
143 class SampleRatePulldown
: public BC_ListBox
146 SampleRatePulldown(MWindow
*mwindow
, BC_TextBox
*output
, int x
, int y
);
159 class NewVTracks
: public BC_TextBox
162 NewVTracks(NewWindow
*nwindow
, char *text
, int x
, int y
);
167 class NewVTracksTumbler
: public BC_Tumbler
170 NewVTracksTumbler(NewWindow
*nwindow
, int x
, int y
);
171 int handle_up_event();
172 int handle_down_event();
176 class NewVChannels
: public BC_TextBox
179 NewVChannels(NewWindow
*nwindow
, char *text
, int x
, int y
);
184 class NewVChannelsTumbler
: public BC_Tumbler
187 NewVChannelsTumbler(NewWindow
*nwindow
, int x
, int y
);
188 int handle_up_event();
189 int handle_down_event();
193 class NewFrameRate
: public BC_TextBox
196 NewFrameRate(NewWindow
*nwindow
, char *text
, int x
, int y
);
201 class FrameRatePulldown
: public BC_ListBox
204 FrameRatePulldown(MWindow
*mwindow
, BC_TextBox
*output
, int x
, int y
);
210 class NewTrackW
: public BC_TextBox
213 NewTrackW(NewWindow
*nwindow
, int x
, int y
);
218 class NewTrackH
: public BC_TextBox
221 NewTrackH(NewWindow
*nwindow
, int x
, int y
);
226 class FrameSizePulldown
: public BC_ListBox
229 FrameSizePulldown(MWindow
*mwindow
,
230 BC_TextBox
*output_w
,
231 BC_TextBox
*output_h
,
236 BC_TextBox
*output_w
;
237 BC_TextBox
*output_h
;
240 class NewOutputW
: public BC_TextBox
243 NewOutputW(NewWindow
*nwindow
, int x
, int y
);
248 class NewOutputH
: public BC_TextBox
251 NewOutputH(NewWindow
*nwindow
, int x
, int y
);
256 class NewAspectAuto
: public BC_CheckBox
259 NewAspectAuto(NewWindow
*nwindow
, int x
, int y
);
265 class NewAspectW
: public BC_TextBox
268 NewAspectW(NewWindow
*nwindow
, char *text
, int x
, int y
);
273 class NewAspectH
: public BC_TextBox
276 NewAspectH(NewWindow
*nwindow
, char *text
, int x
, int y
);
281 class AspectPulldown
: public BC_ListBox
284 AspectPulldown(MWindow
*mwindow
,
285 BC_TextBox
*output_w
,
286 BC_TextBox
*output_h
,
291 BC_TextBox
*output_w
;
292 BC_TextBox
*output_h
;
295 class ColormodelItem
: public BC_ListBoxItem
298 ColormodelItem(char *text
, int value
);
302 class ColormodelPulldown
: public BC_ListBox
305 ColormodelPulldown(MWindow
*mwindow
,
306 BC_TextBox
*output_text
,
311 char* colormodel_to_text();
313 BC_TextBox
*output_text
;
317 class InterlacemodeItem
: public BC_ListBoxItem
320 InterlacemodeItem(char *text
, int value
);
324 class InterlacemodePulldown
: public BC_ListBox
327 InterlacemodePulldown(MWindow
*mwindow
,
328 BC_TextBox
*output_text
,
330 ArrayList
<BC_ListBoxItem
*> *data
,
334 char* interlacemode_to_text();
336 BC_TextBox
*output_text
;
339 char string
[BCTEXTLEN
];
342 class InterlacefixmethodItem
: public BC_ListBoxItem
345 InterlacefixmethodItem(char *text
, int value
);
349 class InterlacefixmethodPulldown
: public BC_ListBox
352 InterlacefixmethodPulldown(MWindow
*mwindow
,
353 BC_TextBox
*output_text
,
355 ArrayList
<BC_ListBoxItem
*> *data
,
359 char* interlacefixmethod_to_text();
361 BC_TextBox
*output_text
;
364 char string
[BCTEXTLEN
];