diff options
author | Robin Gareus <robin@gareus.org> | 2014-09-05 02:24:19 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-09-05 02:24:19 +0200 |
commit | 48a851011b6134794ce0f64a4866c2e9fc97b058 (patch) | |
tree | c5486c4cdb064961a70220f47f98be267977fae6 /libs/gtkmm2ext/barcontroller.cc | |
parent | 4c12a01b62d04084fcb50f72bd30f83daaf69461 (diff) |
add pixfader tweaks API:
* change API to hide unity/default value line
* allow to override vertical scroll [1]
* allow changing button event forwarding [2]
[1] override scrolling in track-headers
[2] dbl-click is needed for BarControllers -> switch to SpinBtn
but a plain Slider on a track-header should not forward
these events to the TAV (they may trigger name-edit)
Diffstat (limited to 'libs/gtkmm2ext/barcontroller.cc')
-rw-r--r-- | libs/gtkmm2ext/barcontroller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/barcontroller.cc b/libs/gtkmm2ext/barcontroller.cc index 28d2bf8293..f427b50389 100644 --- a/libs/gtkmm2ext/barcontroller.cc +++ b/libs/gtkmm2ext/barcontroller.cc @@ -49,7 +49,7 @@ BarController::BarController (Gtk::Adjustment& adj, set (.5, .5, 1.0, 1.0); set_border_width (0); _slider.set_controllable (mc); - _slider.show_unity_line (false); + _slider.set_tweaks (PixFader::NoShowUnityLine); _slider.StartGesture.connect (sigc::mem_fun(*this, &BarController::passtrhu_gesture_start)); _slider.StopGesture.connect (sigc::mem_fun(*this, &BarController::passtrhu_gesture_stop)); |