void click_browse_clicked ()
{
- SoundFileChooser sfdb (*_parent, _("Choose Click"));
-
- sfdb.show_all ();
- sfdb.present ();
+ SoundFileChooser sfdb (_("Choose Click"));
if (sfdb.run () == RESPONSE_OK) {
click_chosen (sfdb.get_filename());
void click_emphasis_browse_clicked ()
{
- SoundFileChooser sfdb (*_parent, _("Choose Click Emphasis"));
+ SoundFileChooser sfdb (_("Choose Click Emphasis"));
sfdb.show_all ();
sfdb.present ();
}
}
- l = manage (left_aligned_label (_("Toggle snap using:")));
+ l = manage (left_aligned_label (_("Ignore snap using:")));
l->set_name ("OptionsLabel");
t->attach (*l, 0, 1, 3, 4, FILL | EXPAND, FILL);
_dpi_adjustment (50, 50, 250, 1, 10),
_dpi_slider (_dpi_adjustment)
{
- _dpi_adjustment.set_value (_rc_config->get_font_scale () / 1024);
+ _dpi_adjustment.set_value (floor (_rc_config->get_font_scale () / 1024));
Label* l = manage (new Label (_("Font scaling:")));
l->set_name ("OptionsLabel");
void parameter_changed (string const & p)
{
if (p == "font-scale") {
- _dpi_adjustment.set_value (_rc_config->get_font_scale() / 1024);
+ _dpi_adjustment.set_value (floor (_rc_config->get_font_scale() / 1024));
}
}
/* MISC */
uint32_t hwcpus = hardware_concurrency ();
+ BoolOption* bo;
if (hwcpus > 1) {
add_option (_("Misc"), new OptionEditorHeading (_("DSP CPU Utilization")));
0, 1000, 1, 20
));
+ add_option (_("Misc"),
+ new SpinOption<double> (
+ "automation-interval-msecs",
+ _("Automation sampling interval (milliseconds)"),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::get_automation_interval_msecs),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::set_automation_interval_msecs),
+ 1, 1000, 1, 20
+ ));
+
/* TRANSPORT */
BoolOption* tsf;
"SMPTE 12M-1999 specifies 29.97df as 30000/1001. The spec further mentions that "
"drop-frame timecode has an accumulated error of -86ms over a 24-hour period.\n"
"Drop-frame timecode would compensate exactly for a NTSC color frame rate of 30 * 0.9990 (ie 29.970000). "
- "That is not the actual rate, however some vendor use that rate - despite it being against the specs - "
+ "That is not the actual rate. However, some vendors use that rate - despite it being against the specs - "
"because the variant of using exactly 29.97 fps has zero timecode drift.\n"
));
add_option (_("Transport"), _sync_source_2997);
+ add_option (_("Transport"), new OptionEditorHeading (S_("LTC Reader")));
+
_ltc_port = new ComboStringOption (
"ltc-source-port",
_("LTC incoming port"),
add_option (_("Transport"), _ltc_port);
-#ifdef HAVE_LTC
// TODO; rather disable this button than not compile it..
add_option (_("Transport"), new OptionEditorHeading (S_("LTC Generator")));
_ltc_volume_adjustment = new Gtk::Adjustment(-18, -50, 0, .5, 5);
_ltc_volume_adjustment->set_value (20 * log10(_rc_config->get_ltc_output_volume()));
_ltc_volume_adjustment->signal_value_changed().connect (sigc::mem_fun (*this, &RCOptionEditor::ltc_generator_volume_changed));
- _ltc_volume_slider = new HSliderOption("ltcvol", ("LTC generator level:"), *_ltc_volume_adjustment);
+ _ltc_volume_slider = new HSliderOption("ltcvol", _("LTC generator level"), *_ltc_volume_adjustment);
Gtkmm2ext::UI::instance()->set_tip
(_ltc_volume_slider->tip_widget(),
add_option (_("Transport"), _ltc_volume_slider);
parameter_changed ("send-ltc");
-#endif
parameter_changed ("sync-source");
sigc::mem_fun (*_rc_config, &RCConfiguration::set_show_track_meters)
));
- add_option (_("Editor"),
- new BoolOption (
+ bo = new BoolOption (
"use-overlap-equivalency",
_("Use overlap equivalency for regions"),
sigc::mem_fun (*_rc_config, &RCConfiguration::get_use_overlap_equivalency),
sigc::mem_fun (*_rc_config, &RCConfiguration::set_use_overlap_equivalency)
- ));
+ );
+
+ add_option (_("Editor"), bo);
+ Gtkmm2ext::UI::instance()->set_tip (bo->tip_widget(),
+ string_compose (_("When extending region selection across a group, %1 must decide which regions are equivalent"
+ "\n\nIf enabled, regions are considered \"equivalent\" if they overlap on the timeline."
+ "\n\nIf disabled, regions are considered \"equivalent\" only if have the same start time, length and position"),
+ PROGRAM_NAME));
add_option (_("Editor"),
new BoolOption (
sigc::mem_fun (*_rc_config, &RCConfiguration::set_link_editor_and_mixer_selection)
));
- add_option (_("Editor"),
- new BoolOption (
+ bo = new BoolOption (
"name-new-markers",
_("Name new markers"),
sigc::mem_fun (*_rc_config, &RCConfiguration::get_name_new_markers),
sigc::mem_fun (*_rc_config, &RCConfiguration::set_name_new_markers)
- ));
+ );
+
+ add_option (_("Editor"), bo);
+ Gtkmm2ext::UI::instance()->set_tip (bo->tip_widget(), _("If enabled, popup a dialog when a new marker is created to allow its name to be set as it is created."
+ "\n\nYou can always rename markers by right-clicking on them"));
add_option (_("Editor"),
new BoolOption (
sigc::mem_fun (*_rc_config, &RCConfiguration::set_plugins_stop_with_transport)
));
- add_option (_("Audio"),
- new BoolOption (
- "do-not-record-plugins",
- _("Disable plugins during recording"),
- sigc::mem_fun (*_rc_config, &RCConfiguration::get_do_not_record_plugins),
- sigc::mem_fun (*_rc_config, &RCConfiguration::set_do_not_record_plugins)
- ));
-
add_option (_("Audio"),
new BoolOption (
"new-plugins-active",
/* USER INTERACTION */
+ if (getenv ("ARDOUR_BUNDLED")) {
+ add_option (_("User interaction"),
+ new BoolOption (
+ "enable-translation",
+ string_compose (_("Use translations of %1 messages\n"
+ " <i>(requires a restart of %1 to take effect)</i>\n"
+ " <i>(if available for your language preferences)</i>"), PROGRAM_NAME),
+ sigc::ptr_fun (ARDOUR::translations_are_enabled),
+ sigc::ptr_fun (ARDOUR::set_translations_enabled)));
+ }
+
add_option (_("User interaction"), new OptionEditorHeading (_("Keyboard")));
add_option (_("User interaction"), new KeyboardOptions);
sigc::mem_fun (*_rc_config, &RCConfiguration::set_widget_prelight)
));
+ add_option (S_("GUI"),
+ new BoolOption (
+ "use-tooltips",
+ _("Show tooltips if mouse hovers over a control"),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::get_use_tooltips),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::set_use_tooltips)
+ ));
+
#ifndef GTKOSX
/* font scaling does nothing with GDK/Quartz */
add_option (S_("GUI"), new FontScalingOptions (_rc_config));
_mixer_strip_visibility.add (0, X_("SoloSafe"), _("Solo Safe"));
_mixer_strip_visibility.add (0, X_("SoloIsolated"), _("Solo Isolated"));
_mixer_strip_visibility.add (0, X_("Comments"), _("Comments"));
- _mixer_strip_visibility.add (0, X_("Group"), _("Group"));
_mixer_strip_visibility.add (0, X_("MeterPoint"), _("Meter Point"));
add_option (
} else if (p == "sync-source") {
_sync_source->set_sensitive (true);
if (_session) {
- _sync_source->set_sensitive (_session->config.get_external_sync());
+ _sync_source->set_sensitive (!_session->config.get_external_sync());
}
switch(Config->get_sync_source()) {
case ARDOUR::MTC:
_sync_source_2997->set_sensitive (false);
break;
}
-#ifdef HAVE_LTC
} else if (p == "send-ltc") {
bool const s = Config->get_send_ltc ();
_ltc_send_continuously->set_sensitive (s);
_ltc_volume_slider->set_sensitive (s);
-#endif /*HAVE_LTC*/
}
}