diff options
author | Robin Gareus <robin@gareus.org> | 2017-04-01 23:56:27 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-04-01 23:56:27 +0200 |
commit | 77e8c0c4df82314a9958469dfffedaa19cedaab3 (patch) | |
tree | 2c4f14e467f71391783763a5d385318a19a596e5 /gtk2_ardour/ardour_ui_options.cc | |
parent | 5ebe6fcde89d5f4696c3b0af156e2f2ba70c1489 (diff) |
GUI options for rec-only metronome
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index 5205354881..f8dab139ad 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -426,6 +426,13 @@ ARDOUR_UI::parameter_changed (std::string p) } } else if (p == "clicking") { ActionManager::map_some_state ("Transport", "ToggleClick", &RCConfiguration::get_clicking); + } else if (p == "click-record-only") { + // TODO set a flag, blink or gray-out metronome button while rolling, only + if (Config->get_click_record_only()) { + click_button.set_name ("generic button"); // XXX + } else { + click_button.set_name ("transport button"); + } } else if (p == "use-video-sync") { ActionManager::map_some_state ("Transport", "ToggleVideoSync", sigc::mem_fun (_session->config, &SessionConfiguration::get_use_video_sync)); } else if (p == "sync-source") { |