diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-27 14:31:17 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-27 14:59:32 -0500 |
commit | 3a7cf727526d2d21cd50e2155cc3768d90c408a6 (patch) | |
tree | f5c18d5a8ad4690fbe04e380069ef4966fa9e660 /libs/surfaces/push2/layout.h | |
parent | db4edbf3b592ebac4cd0df9f5f9caa33a45c54dd (diff) |
push2: tweak layout APIs etc.
Diffstat (limited to 'libs/surfaces/push2/layout.h')
-rw-r--r-- | libs/surfaces/push2/layout.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/surfaces/push2/layout.h b/libs/surfaces/push2/layout.h index e655a6de8f..91970f5d53 100644 --- a/libs/surfaces/push2/layout.h +++ b/libs/surfaces/push2/layout.h @@ -46,7 +46,7 @@ class Push2; class Push2Layout : public sigc::trackable, public ArdourCanvas::Container { public: - Push2Layout (Push2& p, ARDOUR::Session& s); + Push2Layout (Push2& p, ARDOUR::Session& s, std::string const & name); virtual ~Push2Layout (); int display_width () const; @@ -71,9 +71,12 @@ class Push2Layout : public sigc::trackable, public ArdourCanvas::Container virtual void update_meters () {} virtual void update_clocks () {} + std::string name() const { return _name; } + protected: Push2& p2; ARDOUR::Session& session; + std::string _name; }; } /* namespace */ |