Fix DSP load sorting with inactive plugins
[ardour.git] / gtk2_ardour / virtual_keyboard_window.h
index 7248d1402302d0c82614045c12fd154f3edb4df1..0db53472f28dca89cf1d909f176ed13a98ccfcc5 100644 (file)
@@ -98,11 +98,20 @@ protected:
 private:
        void on_unmap ();
        bool on_key_press_event (GdkEventKey*);
+       bool on_key_release_event (GdkEventKey*);
 
        void note_on_event_handler (int, int);
        void note_off_event_handler (int);
        void control_change_event_handler (int, int);
+
+       void octave_key_event_handler (bool);
+       void pitch_bend_key_event_handler (int, bool);
+       bool pitch_bend_timeout ();
+
        void pitch_bend_event_handler (int);
+       void pitch_bend_release ();
+       void pitch_bend_update_tooltip (int);
+       void pitch_slider_adjusted ();
 
        void select_keyboard_layout (std::string const&);
        void update_velocity_settings (int);
@@ -110,7 +119,6 @@ private:
        void update_octave_range ();
        void bank_patch ();
        void update_sensitivity ();
-       void pitch_slider_adjusted ();
        bool toggle_config (GdkEventButton*);
        bool toggle_bankpatch (GdkEventButton*);
        bool toggle_yaxis_velocity (GdkEventButton*);
@@ -154,6 +162,9 @@ private:
        ArdourWidgets::ArdourDropdown  _cc_key[VKBD_NCTRLS];
 
        PBD::ScopedConnectionList _cc_connections;
+
+       sigc::connection _bender_connection;
+       int              _pitch_bend_target;
 };
 
 #endif