- int x1 = get_w()/2;
- add_subwindow(new BC_Title(x1, y, _("Flags"), LARGEFONT,
- resources->text_default));
-
- y += get_text_height(LARGEFONT) + 5;
- int y1 = y;
-
- add_subwindow(hms = new TimeFormatHMS(pwindow, this,
- pwindow->thread->edl->session->time_format == TIME_HMS,
- x, y));
- y += 20;
- add_subwindow(hmsf = new TimeFormatHMSF(pwindow, this,
- pwindow->thread->edl->session->time_format == TIME_HMSF,
- x, y));
- y += 20;
- add_subwindow(samples = new TimeFormatSamples(pwindow, this,
- pwindow->thread->edl->session->time_format == TIME_SAMPLES,
- x, y));
- y += 20;
- add_subwindow(hex = new TimeFormatHex(pwindow, this,
- pwindow->thread->edl->session->time_format == TIME_SAMPLES_HEX,
- x, y));
- y += 20;
- add_subwindow(frames = new TimeFormatFrames(pwindow, this,
- pwindow->thread->edl->session->time_format == TIME_FRAMES,
- x, y));
- y += 20;
- int x0 = x;
- add_subwindow(feet = new TimeFormatFeet(pwindow, this,
- pwindow->thread->edl->session->time_format == TIME_FEET_FRAMES,
- x0, y));
- x0 += feet->get_w() + 15;
- BC_Title *title;
- add_subwindow(title = new BC_Title(x0, y, _("Frames per foot:")));
- x0 += title->get_w() + margin;
- sprintf(string, "%0.2f", pwindow->thread->edl->session->frames_per_foot);
- add_subwindow(new TimeFormatFeetSetting(pwindow,
- x0, y - 5, string));
- y += 20;
- add_subwindow(seconds = new TimeFormatSeconds(pwindow, this,
- pwindow->thread->edl->session->time_format == TIME_SECONDS,
- x, y));
- y += 35;
-
- UseTipWindow *tip_win = new UseTipWindow(pwindow, x1, y1);
- add_subwindow(tip_win);
- y1 += tip_win->get_h() + 5;
- UseWarnIndecies *idx_win = new UseWarnIndecies(pwindow, x1, y1);
- add_subwindow(idx_win);
- y1 += idx_win->get_h() + 5;
- UseWarnVersion *ver_win = new UseWarnVersion(pwindow, x1, y1);
- add_subwindow(ver_win);
- y1 += ver_win->get_h() + 5;
- BD_WarnRoot *bdwr_win = new BD_WarnRoot(pwindow, x1, y1);
- add_subwindow(bdwr_win);
- y1 += bdwr_win->get_h() + 5;
- PopupMenuBtnup *pop_win = new PopupMenuBtnup(pwindow, x1, y1);
- add_subwindow(pop_win);
- y1 += pop_win->get_h() + 5;
- ActivateFocusPolicy *focus_activate = new ActivateFocusPolicy(pwindow, x1, y1);
- add_subwindow(focus_activate);
- y1 += focus_activate->get_h() + 5;
- DeactivateFocusPolicy *focus_deactivate = new DeactivateFocusPolicy(pwindow, x1, y1);
- add_subwindow(focus_deactivate);
- y1 += focus_deactivate->get_h() + 5;
-
- if( y < y1 ) y = y1;
- y += 10;
-
- add_subwindow(new BC_Bar(5, y, get_w() - 10));
- y += 5;
-
- add_subwindow(new BC_Title(x, y, _("Index files"), LARGEFONT, resources->text_default));
- add_subwindow(ffmpeg_marker_files = new IndexFFMPEGMarkerFiles(this, x1, y));
-
-
- y += 30;
- add_subwindow(new BC_Title(x, y + 5,
- _("Index files go here:"), MEDIUMFONT, resources->text_default));
- add_subwindow(ipathtext = new IndexPathText(x + 230, y,
- pwindow,
- pwindow->thread->preferences->index_directory));
- add_subwindow(ipath = new BrowseButton(mwindow->theme, this, ipathtext,
- x1 = x + 230 + ipathtext->get_w(), y,
- pwindow->thread->preferences->index_directory,
- _("Index Path"),
- _("Select the directory for index files"),
- 1));
-
- y += 30;
- add_subwindow(new BC_Title(x, y + 5,
- _("Size of index file:"),
- MEDIUMFONT,
- resources->text_default));
- sprintf(string, "%jd", pwindow->thread->preferences->index_size);
- add_subwindow(isize = new IndexSize(x + 230, y, pwindow, string));
- add_subwindow(new ScanCommercials(pwindow, 350,y));
- y += 30;
- add_subwindow(new BC_Title(x, y + 5, _("Number of index files to keep:"), MEDIUMFONT, resources->text_default));
- sprintf(string, "%ld", (long)pwindow->thread->preferences->index_count);
- add_subwindow(icount = new IndexCount(x + 230, y, pwindow, string));
- add_subwindow(deleteall = new DeleteAllIndexes(mwindow, pwindow, 350, y));
-
-