10 #include "formatpresets.h"
11 #include "mwindow.inc"
17 class InterlacemodePulldown
;
19 class New
: public BC_MenuItem
22 New(MWindow
*mwindow
);
26 int run_script(FileXML
*script
);
27 int create_new_project();
34 void create_new_edl();
38 class NewThread
: public Thread
41 NewThread(MWindow
*mwindow
, New
*new_project
);
57 class NewWindow
: public BC_Window
60 NewWindow(MWindow
*mwindow
, NewThread
*new_thread
, int x
, int y
);
67 NewThread
*new_thread
;
70 BC_TextBox
*achannels
;
71 BC_TextBox
*sample_rate
;
73 BC_TextBox
*vchannels
;
74 BC_TextBox
*frame_rate
;
75 BC_TextBox
*aspect_w_text
, *aspect_h_text
;
76 BC_TextBox
*output_w_text
, *output_h_text
;
77 InterlacemodePulldown
*interlace_pulldown
;
78 NewPresets
*format_presets
;
81 class NewPresets
: public FormatPresets
84 NewPresets(MWindow
*mwindow
, NewWindow
*gui
, int x
, int y
);
91 class NewSwapExtents
: public BC_Button
94 NewSwapExtents(MWindow
*mwindow
, NewWindow
*gui
, int x
, int y
);
102 class NewATracks
: public BC_TextBox
105 NewATracks(NewWindow
*nwindow
, char *text
, int x
, int y
);
110 class NewATracksTumbler
: public BC_Tumbler
113 NewATracksTumbler(NewWindow
*nwindow
, int x
, int y
);
114 int handle_up_event();
115 int handle_down_event();
119 class NewAChannels
: public BC_TextBox
122 NewAChannels(NewWindow
*nwindow
, char *text
, int x
, int y
);
127 class NewAChannelsTumbler
: public BC_Tumbler
130 NewAChannelsTumbler(NewWindow
*nwindow
, int x
, int y
);
131 int handle_up_event();
132 int handle_down_event();
136 class NewSampleRate
: public BC_TextBox
139 NewSampleRate(NewWindow
*nwindow
, char *text
, int x
, int y
);
145 class SampleRatePulldown
: public BC_ListBox
148 SampleRatePulldown(MWindow
*mwindow
, BC_TextBox
*output
, int x
, int y
);
161 class NewVTracks
: public BC_TextBox
164 NewVTracks(NewWindow
*nwindow
, char *text
, int x
, int y
);
169 class NewVTracksTumbler
: public BC_Tumbler
172 NewVTracksTumbler(NewWindow
*nwindow
, int x
, int y
);
173 int handle_up_event();
174 int handle_down_event();
178 class NewVChannels
: public BC_TextBox
181 NewVChannels(NewWindow
*nwindow
, char *text
, int x
, int y
);
186 class NewVChannelsTumbler
: public BC_Tumbler
189 NewVChannelsTumbler(NewWindow
*nwindow
, int x
, int y
);
190 int handle_up_event();
191 int handle_down_event();
195 class NewFrameRate
: public BC_TextBox
198 NewFrameRate(NewWindow
*nwindow
, char *text
, int x
, int y
);
203 class FrameRatePulldown
: public BC_ListBox
206 FrameRatePulldown(MWindow
*mwindow
, BC_TextBox
*output
, int x
, int y
);
212 class NewTrackW
: public BC_TextBox
215 NewTrackW(NewWindow
*nwindow
, int x
, int y
);
220 class NewTrackH
: public BC_TextBox
223 NewTrackH(NewWindow
*nwindow
, int x
, int y
);
228 class FrameSizePulldown
: public BC_ListBox
231 FrameSizePulldown(MWindow
*mwindow
,
232 BC_TextBox
*output_w
,
233 BC_TextBox
*output_h
,
238 BC_TextBox
*output_w
;
239 BC_TextBox
*output_h
;
242 class NewOutputW
: public BC_TextBox
245 NewOutputW(NewWindow
*nwindow
, int x
, int y
);
250 class NewOutputH
: public BC_TextBox
253 NewOutputH(NewWindow
*nwindow
, int x
, int y
);
258 class NewAspectAuto
: public BC_CheckBox
261 NewAspectAuto(NewWindow
*nwindow
, int x
, int y
);
267 class NewAspectW
: public BC_TextBox
270 NewAspectW(NewWindow
*nwindow
, char *text
, int x
, int y
);
275 class NewAspectH
: public BC_TextBox
278 NewAspectH(NewWindow
*nwindow
, char *text
, int x
, int y
);
283 class AspectPulldown
: public BC_ListBox
286 AspectPulldown(MWindow
*mwindow
,
287 BC_TextBox
*output_w
,
288 BC_TextBox
*output_h
,
293 BC_TextBox
*output_w
;
294 BC_TextBox
*output_h
;
297 class ColormodelItem
: public BC_ListBoxItem
300 ColormodelItem(char *text
, int value
);
304 class ColormodelPulldown
: public BC_ListBox
307 ColormodelPulldown(MWindow
*mwindow
,
308 BC_TextBox
*output_text
,
313 char* colormodel_to_text();
315 BC_TextBox
*output_text
;
319 class InterlacemodeItem
: public BC_ListBoxItem
322 InterlacemodeItem(char *text
, int value
);
326 class InterlacemodePulldown
: public BC_ListBox
329 InterlacemodePulldown(MWindow
*mwindow
,
330 BC_TextBox
*output_text
,
332 ArrayList
<BC_ListBoxItem
*> *data
,
336 char* interlacemode_to_text();
337 int update(int value
);
339 BC_TextBox
*output_text
;
342 char string
[BCTEXTLEN
];
345 class InterlacefixmethodItem
: public BC_ListBoxItem
348 InterlacefixmethodItem(char *text
, int value
);
352 class InterlacefixmethodPulldown
: public BC_ListBox
355 InterlacefixmethodPulldown(MWindow
*mwindow
,
356 BC_TextBox
*output_text
,
358 ArrayList
<BC_ListBoxItem
*> *data
,
362 char* interlacefixmethod_to_text();
364 BC_TextBox
*output_text
;
367 char string
[BCTEXTLEN
];
375 // c-file-style: "linux"