summaryrefslogtreecommitdiff
path: root/gtk2_ardour/virtual_keyboard_window.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-19 04:27:54 +0100
committerRobin Gareus <robin@gareus.org>2019-12-19 18:57:40 +0100
commitd0668721d5ac0c3d1de6f09e482eae49562232df (patch)
tree99c081e9147559f1e86c1faa2001f542ab091ee2 /gtk2_ardour/virtual_keyboard_window.h
parent01291f3e0fd94476aa4c53b439cf934faa6a9309 (diff)
Vkeybd simplification
* remove Y-axis dependent velocity (difference between black/white keys made this not very usable * remove Bank/Patch selector (there are already three other Bank/Patch UIs * move keyboard-layout selection into Preferences > MIDI
Diffstat (limited to 'gtk2_ardour/virtual_keyboard_window.h')
-rw-r--r--gtk2_ardour/virtual_keyboard_window.h27
1 files changed, 4 insertions, 23 deletions
diff --git a/gtk2_ardour/virtual_keyboard_window.h b/gtk2_ardour/virtual_keyboard_window.h
index c4a03761b5..9658cacc5d 100644
--- a/gtk2_ardour/virtual_keyboard_window.h
+++ b/gtk2_ardour/virtual_keyboard_window.h
@@ -100,6 +100,8 @@ private:
bool on_key_press_event (GdkEventKey*);
bool on_key_release_event (GdkEventKey*);
+ void parameter_changed (std::string const&);
+
void note_on_event_handler (int, int);
void note_off_event_handler (int);
void control_change_event_handler (int, int);
@@ -118,41 +120,20 @@ private:
void pitch_slider_adjusted ();
void select_keyboard_layout (std::string const&);
- void update_velocity_settings (int);
+ void update_velocity_settings ();
void update_octave_key ();
void update_octave_range ();
- void bank_patch ();
- void update_sensitivity ();
void cc_key_changed (size_t);
void update_cc (size_t, int);
- bool toggle_config (GdkEventButton*);
- bool toggle_bankpatch (GdkEventButton*);
- bool toggle_yaxis_velocity (GdkEventButton*);
bool send_panic_message (GdkEventButton*);
APianoKeyboard _piano;
ArdourWidgets::ArdourDropdown _midi_channel;
ArdourWidgets::ArdourDropdown _transpose_output;
-
- Gtk::SpinButton _bank_msb;
- Gtk::SpinButton _bank_lsb;
- Gtk::SpinButton _patchpgm;
-
- Gtk::HBox* _cfg_box;
- Gtk::HBox* _pgm_box;
-
- ArdourWidgets::ArdourButton _cfg_display;
- ArdourWidgets::ArdourButton _pgm_display;
- ArdourWidgets::ArdourButton _yaxis_velocity;
- ArdourWidgets::ArdourButton _send_panic;
- ArdourWidgets::ArdourDropdown _keyboard_layout;
- ArdourWidgets::ArdourDropdown _keyboard_annotations;
+ ArdourWidgets::ArdourButton _send_panic;
Gtk::SpinButton _piano_key_velocity;
- Gtk::SpinButton _piano_min_velocity;
- Gtk::SpinButton _piano_max_velocity;
-
Gtk::SpinButton _piano_octave_key;
Gtk::SpinButton _piano_octave_range;