implement panner reset functionality (missing since 0.99?) ported from 2.X
[ardour.git] / gtk2_ardour / keyboard.h
index e6d5065e86e758a5744cdb9938720f22c951fa95..a10fdbd6ba9799f9d530586d7ddabc7d94a322e1 100644 (file)
@@ -28,8 +28,8 @@
 #include <gtk/gtk.h>
 #include <gtkmm/accelkey.h>
 
-#include <ardour/types.h>
-#include <pbd/stateful.h>
+#include "ardour/types.h"
+#include "pbd/stateful.h"
 
 #include "selection.h"
 
@@ -107,6 +107,7 @@ class Keyboard : public sigc::trackable, PBD::Stateful
        static bool is_edit_event (GdkEventButton*);
        static bool is_delete_event (GdkEventButton*);
        static bool is_context_menu_event (GdkEventButton*);
+       static bool is_button2_event (GdkEventButton*);
 
        static Keyboard& the_keyboard() { return *_the_keyboard; }
 
@@ -143,6 +144,7 @@ class Keyboard : public sigc::trackable, PBD::Stateful
        static guint     delete_but;
        static guint     delete_mod;
        static guint     snap_mod;
+       static guint     button2_modifiers;
        static Gtk::Window* current_window;
        static std::string user_keybindings_path;
        static bool can_save_keybindings;