mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Allow to customize parts of the main toolbar
This commit is contained in:
parent
f6dc24b901
commit
73ad6b3766
8 changed files with 91 additions and 42 deletions
|
|
@ -403,22 +403,12 @@ ARDOUR_UI::parameter_changed (std::string p)
|
|||
}
|
||||
} else if (p == "waveform-gradient-depth") {
|
||||
ArdourCanvas::WaveView::set_global_gradient_depth (UIConfiguration::instance().get_waveform_gradient_depth());
|
||||
} else if (p == "show-mini-timeline") {
|
||||
repack_transport_hbox ();
|
||||
} else if (p == "show-toolbar-selclock") {
|
||||
repack_transport_hbox ();
|
||||
} else if (p == "show-editor-meter") {
|
||||
bool show = UIConfiguration::instance().get_show_editor_meter();
|
||||
|
||||
if (editor_meter) {
|
||||
if (meter_box.get_parent()) {
|
||||
transport_hbox.remove (meter_box);
|
||||
transport_hbox.remove (editor_meter_peak_display);
|
||||
}
|
||||
|
||||
if (show) {
|
||||
transport_hbox.pack_start (meter_box, false, false);
|
||||
transport_hbox.pack_start (editor_meter_peak_display, false, false);
|
||||
meter_box.show();
|
||||
editor_meter_peak_display.show();
|
||||
}
|
||||
}
|
||||
repack_transport_hbox ();
|
||||
} else if (p == "waveform-scale") {
|
||||
ArdourCanvas::WaveView::set_global_logscaled (UIConfiguration::instance().get_waveform_scale() == Logarithmic);
|
||||
} else if (p == "widget-prelight") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue