push2: tweak layout APIs etc.
[ardour.git] / libs / surfaces / push2 / track_mix.h
index 417c394f95d848b05e4641d287ccbf03aa232755..ec945f4cab47533ef6027499ab83d6f44d2237f4 100644 (file)
@@ -43,7 +43,7 @@ class LevelMeter;
 class TrackMixLayout : public Push2Layout
 {
    public:
-       TrackMixLayout (Push2& p, ARDOUR::Session&);
+       TrackMixLayout (Push2& p, ARDOUR::Session&, std::string const &);
        ~TrackMixLayout ();
 
        void set_stripable (boost::shared_ptr<ARDOUR::Stripable>);
@@ -63,6 +63,8 @@ class TrackMixLayout : public Push2Layout
        void update_meters ();
        void update_clocks ();
 
+       boost::shared_ptr<ARDOUR::Stripable> current_stripable() const { return stripable; }
+
    private:
        boost::shared_ptr<ARDOUR::Stripable> stripable;
        PBD::ScopedConnectionList stripable_connections;
@@ -84,6 +86,7 @@ class TrackMixLayout : public Push2Layout
 
        PBD::ScopedConnection selection_connection;
        void selection_changed ();
+       void show_state ();
 
        void drop_stripable ();
        void name_changed ();