mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Vkeybd: numeric only spinboxes for octave and velocity
based on a patch by Alex Mitchell
This commit is contained in:
parent
4874ff8843
commit
ecdbd1df92
1 changed files with 4 additions and 0 deletions
|
|
@ -91,6 +91,10 @@ VirtualKeyboardWindow::VirtualKeyboardWindow ()
|
|||
_modwheel_adjustment.signal_value_changed ().connect (sigc::mem_fun (*this, &VirtualKeyboardWindow::modwheel_slider_adjusted));
|
||||
_modwheel->ValueChanged.connect_same_thread (_cc_connections, boost::bind (&VirtualKeyboardWindow::control_change_event_handler, this, 1, _1));
|
||||
|
||||
_piano_key_velocity.set_numeric (true);
|
||||
_piano_octave_key.set_numeric (true);
|
||||
_piano_octave_range.set_numeric (true);
|
||||
|
||||
set_tooltip (_piano_octave_key, _("The center octave, and lowest octave for keyboard control. Change with Arrow left/right."));
|
||||
set_tooltip (_piano_octave_range, _("Available octave range, centered around the key-octave."));
|
||||
set_tooltip (_piano_key_velocity, _("The default velocity to use with keyboard control, and when y-axis click-position is disabled."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue