- 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;
+ 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));
+
+ x = 20; y = HEIGHT2;
+ add_subwindow(title = new BC_Title(x, y, _("Create project folder in:")));
+ x1 = x; y += title->get_h() + 5;
+ add_subwindow(folder = new BC_TextBox(x1, y, get_w()-x1-64, 1, ""));
+ x1 += folder->get_w() + 10;
+ add_subwindow(recent_folder = new BC_RecentList("FOLDER", mwindow->defaults, folder));
+ recent_folder->load_items("PROJECT");
+ x1 = recent_folder->get_x() + recent_folder->get_w();
+ add_subwindow(new BrowseButton(mwindow->theme, this, folder, x1, y, "",
+ _("Project Directory"), _("Project Directory Path:"), 1));
+ y += folder->get_h() + 10; x1 = x;
+ add_subwindow(title = new BC_Title(x1, y, _("Project Name:")));
+ x1 += title->get_w() + 10;
+ add_subwindow(name = new BC_TextBox(x1, y, get_w()-x1-64, 1, ""));
+ }