BC_Title *title;
add_subwindow(title = new BC_Title(x, y, _("Layout:"), LARGEFONT,
resources->text_default));
BC_Title *title;
add_subwindow(title = new BC_Title(x, y, _("Layout:"), LARGEFONT,
resources->text_default));
- add_subwindow(new BC_Title(x, y, _("Theme:")));
+ add_subwindow(title = new BC_Title(x, y, _("Theme:")));
+ title->context_help_set_keyword("Layout section");
- add_subwindow(new BC_Title(x, y, _("Plugin Icons:")));
+ add_subwindow(title = new BC_Title(x, y, _("Plugin Icons:")));
+ title->context_help_set_keyword("Updatable Icon Image Support");
add_subwindow(plugin_icons = new ViewPluginIcons(x1, y, pwindow));
plugin_icons->create_objects();
add_subwindow(plugin_icons = new ViewPluginIcons(x1, y, pwindow));
plugin_icons->create_objects();
- add_subwindow(new BC_Title(x, y, _("Language:")));
+ add_subwindow(title = new BC_Title(x, y, _("Language:")));
+ title->context_help_set_keyword("Layout section");
LayoutLocale *layout_locale;
add_subwindow(layout_locale = new LayoutLocale(x1, y, pwindow));
layout_locale->create_objects();
LayoutLocale *layout_locale;
add_subwindow(layout_locale = new LayoutLocale(x1, y, pwindow));
layout_locale->create_objects();
y += layout_locale->get_h() + ys15;
x1 = get_w()/2;
int x2 = x1 + xS(160), y2 = y;
y = y1;
y += layout_locale->get_h() + ys15;
x1 = get_w()/2;
int x2 = x1 + xS(160), y2 = y;
y = y1;
- add_subwindow(new BC_Title(x1, y, _("Layout Scale:")));
+ add_subwindow(title = new BC_Title(x1, y, _("Layout Scale:")));
+ title->context_help_set_keyword("Layout section");
layout_scale = new ViewLayoutScale(pwindow, this, x2, y);
layout_scale->create_objects();
y += layout_scale->get_h() + ys5;
layout_scale = new ViewLayoutScale(pwindow, this, x2, y);
layout_scale->create_objects();
y += layout_scale->get_h() + ys5;
- add_subwindow(new BC_Title(x1, y, _("View thumbnail size:")));
+ add_subwindow(title = new BC_Title(x1, y, _("View thumbnail size:")));
+ title->context_help_set_keyword("Layout section");
thumbnail_size = new ViewThumbnailSize(pwindow, this, x2, y);
thumbnail_size->create_objects();
y += thumbnail_size->get_h() + ys5;
thumbnail_size = new ViewThumbnailSize(pwindow, this, x2, y);
thumbnail_size->create_objects();
y += thumbnail_size->get_h() + ys5;
- add_subwindow(new BC_Title(x1, y, _("Vicon quality:")));
+ add_subwindow(title = new BC_Title(x1, y, _("Vicon quality:")));
+ title->context_help_set_keyword("Layout section");
vicon_size = new ViewViconSize(pwindow, this, x2, y);
vicon_size->create_objects();
y += vicon_size->get_h() + ys5;
vicon_size = new ViewViconSize(pwindow, this, x2, y);
vicon_size->create_objects();
y += vicon_size->get_h() + ys5;
- add_subwindow(new BC_Title(x1, y, _("Vicon color mode:")));
+ add_subwindow(title = new BC_Title(x1, y, _("Vicon color mode:")));
+ title->context_help_set_keyword("Layout section");
add_subwindow(vicon_color_mode = new ViewViconColorMode(pwindow, x2, y));
vicon_color_mode->create_objects();
add_subwindow(vicon_color_mode = new ViewViconColorMode(pwindow, x2, y));
vicon_color_mode->create_objects();
y1 = y;
add_subwindow(title = new BC_Title(x, y, _("Time Format:"), LARGEFONT,
resources->text_default));
y1 = y;
add_subwindow(title = new BC_Title(x, y, _("Time Format:"), LARGEFONT,
resources->text_default));
y += title->get_h() + ys10;
add_subwindow(hms = new TimeFormatHMS(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_HMS,
x, y));
y += title->get_h() + ys10;
add_subwindow(hms = new TimeFormatHMS(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_HMS,
x, y));
y += ys20;
add_subwindow(hmsf = new TimeFormatHMSF(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_HMSF,
x, y));
y += ys20;
add_subwindow(hmsf = new TimeFormatHMSF(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_HMSF,
x, y));
y += ys20;
add_subwindow(timecode = new TimeFormatTimecode(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_TIMECODE,
x, y));
y += ys20;
add_subwindow(timecode = new TimeFormatTimecode(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_TIMECODE,
x, y));
y += ys20;
add_subwindow(samples = new TimeFormatSamples(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_SAMPLES,
x, y));
y += ys20;
add_subwindow(samples = new TimeFormatSamples(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_SAMPLES,
x, y));
y += ys20;
add_subwindow(hex = new TimeFormatHex(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_SAMPLES_HEX,
x, y));
y += ys20;
add_subwindow(hex = new TimeFormatHex(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_SAMPLES_HEX,
x, y));
y += ys20;
add_subwindow(frames = new TimeFormatFrames(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_FRAMES,
x, y));
y += ys20;
add_subwindow(frames = new TimeFormatFrames(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_FRAMES,
x, y));
y += ys20;
add_subwindow(feet = new TimeFormatFeet(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_FEET_FRAMES,
x, y));
y += ys20;
add_subwindow(feet = new TimeFormatFeet(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_FEET_FRAMES,
x, y));
x += feet->get_w() + xS(15);
add_subwindow(title = new BC_Title(x, y, _("Frames per foot:")));
x += feet->get_w() + xS(15);
add_subwindow(title = new BC_Title(x, y, _("Frames per foot:")));
x += title->get_w() + margin;
sprintf(string, "%0.2f", pwindow->thread->edl->session->frames_per_foot);
add_subwindow(new TimeFormatFeetSetting(pwindow,
x += title->get_w() + margin;
sprintf(string, "%0.2f", pwindow->thread->edl->session->frames_per_foot);
add_subwindow(new TimeFormatFeetSetting(pwindow,
add_subwindow(seconds = new TimeFormatSeconds(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_SECONDS,
x, y));
add_subwindow(seconds = new TimeFormatSeconds(pwindow, this,
pwindow->thread->edl->session->time_format == TIME_SECONDS,
x, y));
- add_subwindow(new BC_Title(x, y, _("Color:"), LARGEFONT,
+ add_subwindow(title = new BC_Title(x, y, _("Color:"), LARGEFONT,
x += title->get_w() + margin;
char hex_color[BCSTRLEN];
sprintf(hex_color, "%06x", preferences->highlight_inverse);
x += title->get_w() + margin;
char hex_color[BCSTRLEN];
sprintf(hex_color, "%06x", preferences->highlight_inverse);
int clr_color = pwindow->thread->edl->session->cwindow_clear_color;
add_subwindow(cwdw_bg_color = new Composer_BG_Color(pwindow,
x2, y, xS(80), yS(24), clr_color));
draw_3d_border(x2-2,y-2, xS(80)+4,xS(24)+4, 1);
cwdw_bg_color->create_objects();
int clr_color = pwindow->thread->edl->session->cwindow_clear_color;
add_subwindow(cwdw_bg_color = new Composer_BG_Color(pwindow,
x2, y, xS(80), yS(24), clr_color));
draw_3d_border(x2-2,y-2, xS(80)+4,xS(24)+4, 1);
cwdw_bg_color->create_objects();
x2 += cwdw_bg_color->get_w();
y += ys35;
add_subwindow(title = new BC_Title(x1, y, _("YUV color space:")));
x2 += cwdw_bg_color->get_w();
y += ys35;
add_subwindow(title = new BC_Title(x1, y, _("YUV color space:")));
x = x2 - xS(120);
add_subwindow(yuv_color_space = new YuvColorSpace(x, y, pwindow));
yuv_color_space->create_objects();
x = x2 - xS(120);
add_subwindow(yuv_color_space = new YuvColorSpace(x, y, pwindow));
yuv_color_space->create_objects();
y += yuv_color_space->get_h() + ys5;
add_subwindow(title = new BC_Title(x1, y, _("YUV color range:")));
y += yuv_color_space->get_h() + ys5;
add_subwindow(title = new BC_Title(x1, y, _("YUV color range:")));
x = x2 - xS(100);
add_subwindow(yuv_color_range = new YuvColorRange(x, y, pwindow));
yuv_color_range->create_objects();
x = x2 - xS(100);
add_subwindow(yuv_color_range = new YuvColorRange(x, y, pwindow));
yuv_color_range->create_objects();
x = x0; y1 = y;
add_subwindow(title = new BC_Title(x, y, _("Warnings:"), LARGEFONT,
resources->text_default));
x = x0; y1 = y;
add_subwindow(title = new BC_Title(x, y, _("Warnings:"), LARGEFONT,
resources->text_default));
y += title->get_h() + ys10;
UseWarnIndecies *idx_warn = new UseWarnIndecies(pwindow, x, y);
add_subwindow(idx_warn);
y += title->get_h() + ys10;
UseWarnIndecies *idx_warn = new UseWarnIndecies(pwindow, x, y);
add_subwindow(idx_warn);
y += idx_warn->get_h() + ys5;
BD_WarnRoot *bdwr_warn = new BD_WarnRoot(pwindow, x, y);
add_subwindow(bdwr_warn);
y += idx_warn->get_h() + ys5;
BD_WarnRoot *bdwr_warn = new BD_WarnRoot(pwindow, x, y);
add_subwindow(bdwr_warn);
y += bdwr_warn->get_h() + ys5;
UseWarnFileRef *warn_ref = new UseWarnFileRef(pwindow, x, y);
add_subwindow(warn_ref);
y += bdwr_warn->get_h() + ys5;
UseWarnFileRef *warn_ref = new UseWarnFileRef(pwindow, x, y);
add_subwindow(warn_ref);
y += warn_ref->get_h() + ys5;
add_subwindow(new BC_Bar(x0, y, warn_ref->get_w()-x0 - xs30));
y += warn_ref->get_h() + ys5;
add_subwindow(new BC_Bar(x0, y, warn_ref->get_w()-x0 - xs30));
add_subwindow(title = new BC_Title(x, y, _("Dangerous:"), LARGEFONT,
resources->text_default));
add_subwindow(title = new BC_Title(x, y, _("Dangerous:"), LARGEFONT,
resources->text_default));
y += title->get_h() + ys10;
UseUnsafeGUI *unsafe_gui = new UseUnsafeGUI(pwindow, x, y);
add_subwindow(unsafe_gui);
y += title->get_h() + ys10;
UseUnsafeGUI *unsafe_gui = new UseUnsafeGUI(pwindow, x, y);
add_subwindow(unsafe_gui);
y += unsafe_gui->get_h() + ys5;
OngoingBackups *ongoing_backups = new OngoingBackups(pwindow, x, y);
add_subwindow(ongoing_backups);
y += unsafe_gui->get_h() + ys5;
OngoingBackups *ongoing_backups = new OngoingBackups(pwindow, x, y);
add_subwindow(ongoing_backups);
y += ongoing_backups->get_h() + ys5;
x = get_w() / 3 + xs30;
y = y1;
add_subwindow(title = new BC_Title(x, y, _("Flags:"), LARGEFONT,
resources->text_default));
y += ongoing_backups->get_h() + ys5;
x = get_w() / 3 + xs30;
y = y1;
add_subwindow(title = new BC_Title(x, y, _("Flags:"), LARGEFONT,
resources->text_default));
y += title->get_h() + ys10;
y1 = y;
AutocolorAssets *autocolor_assets = new AutocolorAssets(pwindow, x, y);
add_subwindow(autocolor_assets);
y += title->get_h() + ys10;
y1 = y;
AutocolorAssets *autocolor_assets = new AutocolorAssets(pwindow, x, y);
add_subwindow(autocolor_assets);
y += autocolor_assets->get_h() + ys5;
PerpetualSession *perpetual = new PerpetualSession(x, y, pwindow);
add_subwindow(perpetual);
y += autocolor_assets->get_h() + ys5;
PerpetualSession *perpetual = new PerpetualSession(x, y, pwindow);
add_subwindow(perpetual);
y += perpetual->get_h() + ys5;
RectifyAudioToggle *rect_toggle = new RectifyAudioToggle(x, y, pwindow);
add_subwindow(rect_toggle);
y += perpetual->get_h() + ys5;
RectifyAudioToggle *rect_toggle = new RectifyAudioToggle(x, y, pwindow);
add_subwindow(rect_toggle);
y += rect_toggle->get_h() + ys5;
CtrlToggle *ctrl_toggle = new CtrlToggle(x, y, pwindow);
add_subwindow(ctrl_toggle);
y += rect_toggle->get_h() + ys5;
CtrlToggle *ctrl_toggle = new CtrlToggle(x, y, pwindow);
add_subwindow(ctrl_toggle);
y += ctrl_toggle->get_h() + ys5;
ForwardRenderDisplacement *displacement = new ForwardRenderDisplacement(pwindow, x, y);
add_subwindow(displacement);
y += ctrl_toggle->get_h() + ys5;
ForwardRenderDisplacement *displacement = new ForwardRenderDisplacement(pwindow, x, y);
add_subwindow(displacement);
y += displacement->get_h() + ys5;
UseTipWindow *tip_win = new UseTipWindow(pwindow, x, y);
add_subwindow(tip_win);
y += displacement->get_h() + ys5;
UseTipWindow *tip_win = new UseTipWindow(pwindow, x, y);
add_subwindow(tip_win);
y += tip_win->get_h() + ys5;
x = 2*get_w() / 3 - xs30;
y = y1;
add_subwindow(thumbnails = new ViewThumbnails(x, y, pwindow));
y += tip_win->get_h() + ys5;
x = 2*get_w() / 3 - xs30;
y = y1;
add_subwindow(thumbnails = new ViewThumbnails(x, y, pwindow));
y += thumbnails->get_h() + ys5;
PopupMenuBtnup *pop_win = new PopupMenuBtnup(pwindow, x, y);
add_subwindow(pop_win);
y += thumbnails->get_h() + ys5;
PopupMenuBtnup *pop_win = new PopupMenuBtnup(pwindow, x, y);
add_subwindow(pop_win);
y += pop_win->get_h() + ys5;
GrabFocusPolicy *grab_input_focus = new GrabFocusPolicy(pwindow, x, y);
add_subwindow(grab_input_focus);
y += pop_win->get_h() + ys5;
GrabFocusPolicy *grab_input_focus = new GrabFocusPolicy(pwindow, x, y);
add_subwindow(grab_input_focus);
y += grab_input_focus->get_h() + ys5;
ActivateFocusPolicy *focus_activate = new ActivateFocusPolicy(pwindow, x, y);
add_subwindow(focus_activate);
y += grab_input_focus->get_h() + ys5;
ActivateFocusPolicy *focus_activate = new ActivateFocusPolicy(pwindow, x, y);
add_subwindow(focus_activate);
y += focus_activate->get_h() + ys5;
DeactivateFocusPolicy *focus_deactivate = new DeactivateFocusPolicy(pwindow, x, y);
add_subwindow(focus_deactivate);
y += focus_activate->get_h() + ys5;
DeactivateFocusPolicy *focus_deactivate = new DeactivateFocusPolicy(pwindow, x, y);
add_subwindow(focus_deactivate);
y += focus_deactivate->get_h() + ys5;
AutoRotate *auto_rotate = new AutoRotate(pwindow, x, y);
add_subwindow(auto_rotate);
y += focus_deactivate->get_h() + ys5;
AutoRotate *auto_rotate = new AutoRotate(pwindow, x, y);
add_subwindow(auto_rotate);
-const char *YuvColorSpace::color_space[] = {
- N_("BT601"), // COLOR_SPACE_BT601
+const char *YuvColorSpace::color_space[MAX_COLOR_SPACE] = {
+ N_("BT601_NTSC"), // COLOR SPACE BT601_NTSC
- N_("BT2020"), // COLOR_SPACE_BT2020
+ N_("BT2020 NCL"), // COLOR_SPACE_BT2020_NCL
+ N_("BT601_PAL"), // COLOR_SPACE_BT601_PAL
+ N_("BT2020 CL"), // COLOR_SPACE_BT2020_CL
- : BC_PopupMenu(x, y, xS(120),
+ : BC_PopupMenu(x, y, xS(140),