Virtual-keyboard: consolidate options

Remove use options for annotations, force them "always on",
and request space to draw them.

Add option to pick single-line octave bindings
This commit is contained in:
Robin Gareus 2019-10-27 00:05:22 +02:00
parent 9fd0813d16
commit b53431a089
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 45 additions and 90 deletions

View file

@ -114,9 +114,6 @@ private:
bool toggle_config (GdkEventButton*);
bool toggle_bankpatch (GdkEventButton*);
bool toggle_yaxis_velocity (GdkEventButton*);
bool toggle_highlight_piano (GdkEventButton*);
bool toggle_highlight_key (GdkEventButton*);
bool toggle_note_label (GdkEventButton*);
bool send_panic_message (GdkEventButton*);
APianoKeyboard _piano;
@ -134,11 +131,9 @@ private:
ArdourWidgets::ArdourButton _cfg_display;
ArdourWidgets::ArdourButton _pgm_display;
ArdourWidgets::ArdourButton _yaxis_velocity;
ArdourWidgets::ArdourButton _highlight_grand_piano;
ArdourWidgets::ArdourButton _highlight_key_range;
ArdourWidgets::ArdourButton _show_note_label;
ArdourWidgets::ArdourButton _send_panic;
ArdourWidgets::ArdourDropdown _keyboard_layout;
ArdourWidgets::ArdourDropdown _keyboard_annotations;
Gtk::SpinButton _piano_key_velocity;
Gtk::SpinButton _piano_min_velocity;