From 2f991988c6b3d91652461fe70447e343fb3aa916 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 4 Oct 2007 01:28:27 +0000 Subject: Fixed port menu (load fancy dynamic menu from Glade). Renaming of JACK ports. git-svn-id: http://svn.drobilla.net/lad/ingen@820 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/PatchPortModule.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/libs/gui/PatchPortModule.hpp') diff --git a/src/libs/gui/PatchPortModule.hpp b/src/libs/gui/PatchPortModule.hpp index 7a420a44..8f3a3fc6 100644 --- a/src/libs/gui/PatchPortModule.hpp +++ b/src/libs/gui/PatchPortModule.hpp @@ -38,6 +38,7 @@ namespace GUI { class PatchCanvas; class Port; +class PortMenu; /** A "module" to represent a patch's port on it's own canvas. @@ -62,9 +63,11 @@ protected: PatchPortModule(boost::shared_ptr canvas, SharedPtr port); void metadata_update(const string& key, const Raul::Atom& value); + void create_menu(); - SharedPtr _port; - boost::shared_ptr _patch_port; ///< Port on this 'anonymous' module + SharedPtr _port; + PortMenu* _menu; + SharedPtr _patch_port; ///< Port on this 'anonymous' module }; -- cgit v1.2.1