- x1 = x;
- add_subwindow(new BC_Title(x1, y, _("Aspect ratio:")));
- x1 += 115;
- add_subwindow(aspect_w_text = new NewAspectW(this, "", x1, y));
- x1 += aspect_w_text->get_w() + 2;
- add_subwindow(new BC_Title(x1, y, ":"));
- x1 += 10;
- add_subwindow(aspect_h_text = new NewAspectH(this, "", x1, y));
- x1 += aspect_h_text->get_w();
- add_subwindow(new AspectPulldown(mwindow,
- aspect_w_text,
- aspect_h_text,
- x1,
- y));
-
- x1 = aspect_w_text->get_x();
- y += aspect_w_text->get_h() + 5;
- add_subwindow(new NewAspectAuto(this, x1, y));
- y += 40;
- BC_Title *title;
- add_subwindow(title = new BC_Title(x, y, _("Color model:")));
- x1 = x + title->get_w();
- y1 = y; y += title->get_h() + 10;
- add_subwindow(title = new BC_Title(x, y, _("Interlace mode:")));
- int x2 = x + title->get_w();
- int y2 = y; y += title->get_h() + 10;
- if( x1 < x2 ) x1 = x2;
- x1 += 20;
- add_subwindow(textbox = new BC_TextBox(x1, y1, 150, 1, ""));
- add_subwindow(color_model = new ColormodelPulldown(mwindow,
- textbox, &new_edl->session->color_model, x1+textbox->get_w(), y1));
- add_subwindow(textbox = new BC_TextBox(x1, y2, 150, 1, ""));
- add_subwindow(interlace_pulldown = new InterlacemodePulldown(mwindow,
- textbox, &new_edl->session->interlace_mode,
- (ArrayList<BC_ListBoxItem*>*)&mwindow->interlace_project_modes,
- x1+textbox->get_w(), y2));
+ if( new_thread->load_mode == LOADMODE_REPLACE ) {
+ x1 = x;
+ add_subwindow(new BC_Title(x1, y, _("Aspect ratio:")));
+ x1 += 115;
+ add_subwindow(aspect_w_text = new NewAspectW(this, "", x1, y));
+ x1 += aspect_w_text->get_w() + 2;
+ add_subwindow(new BC_Title(x1, y, ":"));
+ x1 += 10;
+ add_subwindow(aspect_h_text = new NewAspectH(this, "", x1, y));
+ x1 += aspect_h_text->get_w();
+ add_subwindow(new AspectPulldown(mwindow,
+ aspect_w_text, aspect_h_text, x1, y));
+
+ x1 = aspect_w_text->get_x();
+ y += aspect_w_text->get_h() + 5;
+ add_subwindow(new NewAspectAuto(this, x1, y));
+ y += 40;
+ BC_Title *title;
+ add_subwindow(title = new BC_Title(x, y, _("Color model:")));
+ x1 = x + title->get_w();
+ y1 = y; y += title->get_h() + 10;
+ add_subwindow(title = new BC_Title(x, y, _("Interlace mode:")));
+ int x2 = x + title->get_w();
+ int y2 = y; y += title->get_h() + 10;
+ if( x1 < x2 ) x1 = x2;
+ x1 += 20;
+ add_subwindow(textbox = new BC_TextBox(x1, y1, 150, 1, ""));
+ add_subwindow(color_model = new ColormodelPulldown(mwindow,
+ textbox, &new_edl->session->color_model, x1+textbox->get_w(), y1));
+ add_subwindow(textbox = new BC_TextBox(x1, y2, 150, 1, ""));
+ add_subwindow(interlace_pulldown = new InterlacemodePulldown(mwindow,
+ textbox, &new_edl->session->interlace_mode,
+ (ArrayList<BC_ListBoxItem*>*)&mwindow->interlace_project_modes,
+ x1+textbox->get_w(), y2));
+ }