diff options
author | nick_m <mainsbridge@gmail.com> | 2016-12-29 03:46:25 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-12-29 03:46:25 +1100 |
commit | cee85c34b225584189dc2cc34953748429969426 (patch) | |
tree | 09b008f9f3a94f822206e10a4f6a09da07e5fc47 /gtk2_ardour/rc_option_editor.cc | |
parent | 3c3cdd1cbe95835d0de7f80d76f7aee1359f5874 (diff) |
add preference for showing non-quarter note tempi (Misc subsection Tempo).
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 574933738f..11edeb0cf7 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2256,12 +2256,26 @@ RCOptionEditor::RCOptionEditor () 1, 1000, 1, 20 )); + add_option (_("Misc"), new OptionEditorHeading (_("Tempo"))); + + BoolOption* tsf; + + tsf = new BoolOption ( + "allow-non-quarter-pulse", + _("Allow non quarter-note pulse"), + sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_allow_non_quarter_pulse), + sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_allow_non_quarter_pulse) + ); + Gtkmm2ext::UI::instance()->set_tip (tsf->tip_widget(), + string_compose (_("<b>When enabled</b> %1 will allow tempo to be expressed in divisions per minute\n" + "<b>When disabled</b> %1 will only allow tempo to be expressed in quarter notes per minute"), + PROGRAM_NAME)); + add_option (_("Misc"), tsf); + /* TRANSPORT */ add_option (_("Transport"), new OptionEditorHeading (S_("Transport Options"))); - BoolOption* tsf; - tsf = new BoolOption ( "latched-record-enable", _("Keep record-enable engaged on stop"), |