mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
add GUI option for controlling default tempo edit behavior
This commit is contained in:
parent
8f95cfd995
commit
be73956f4c
1 changed files with 15 additions and 0 deletions
|
|
@ -4494,6 +4494,21 @@ These settings will only take effect after %1 is restarted.\n\
|
||||||
add_option (_("Metronome"), bo);
|
add_option (_("Metronome"), bo);
|
||||||
add_option (_("Metronome"), new OptionEditorBlank ());
|
add_option (_("Metronome"), new OptionEditorBlank ());
|
||||||
|
|
||||||
|
/* TEMPO RELATED STUFF */
|
||||||
|
|
||||||
|
add_option (_("Metronome"), new OptionEditorHeading (_("Tempo")));
|
||||||
|
|
||||||
|
ComboOption<Editing::TempoEditBehavior>* teb = new ComboOption<Editing::TempoEditBehavior> (
|
||||||
|
"default-tempo-edit-behavior",
|
||||||
|
_("Default tempo ruler state for new sessions"),
|
||||||
|
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_default_tempo_edit_behavior),
|
||||||
|
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_default_tempo_edit_behavior));
|
||||||
|
teb->add (Editing::TempoMapping, _("mapping a recorded performance"));
|
||||||
|
teb->add (Editing::TempoChanging, _("constructing a tempo map from scratch"));
|
||||||
|
|
||||||
|
add_option (_("Metronome"), teb);
|
||||||
|
Gtkmm2ext::UI::instance()->set_tip (teb->tip_widget(),
|
||||||
|
_("Choose between constructing a tempo map from scratch or mapping a recorded performance as the default tempo ruler state"));
|
||||||
|
|
||||||
/* CONTROL SURFACES *********************************************************/
|
/* CONTROL SURFACES *********************************************************/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue