push2: update GUI pad display when octave shift is used, or pad map is changed
[ardour.git] / libs / surfaces / push2 / gui.h
index d4cc98e6352324192227f8c562f7914f7369328b..314e8081c6e46acc9e044cfc16fdb2a0ab3cbbfb 100644 (file)
@@ -44,8 +44,11 @@ public:
        P2GUI (Push2&);
        ~P2GUI ();
 
+       void build_pad_table ();
+
 private:
        Push2& p2;
+       PBD::ScopedConnectionList p2_connections;
        Gtk::HBox hpacker;
        Gtk::Table table;
        Gtk::Table action_table;
@@ -91,7 +94,6 @@ private:
        /* Pads */
 
        Gtk::Table pad_table;
-       void build_pad_table ();
 };
 
 }