From f2d5d172ff5f0ff02e6dfe0d0bd472b068192244 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 6 Oct 2007 23:12:15 +0000 Subject: Access to object properties window via context menu (most importantly the port one, for control ranges). git-svn-id: http://svn.drobilla.net/lad/ingen@833 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/PortPropertiesWindow.hpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'src/libs/gui/PortPropertiesWindow.hpp') diff --git a/src/libs/gui/PortPropertiesWindow.hpp b/src/libs/gui/PortPropertiesWindow.hpp index 8c8f1c96..5d10960d 100644 --- a/src/libs/gui/PortPropertiesWindow.hpp +++ b/src/libs/gui/PortPropertiesWindow.hpp @@ -27,8 +27,6 @@ using namespace Ingen::Client; namespace Ingen { namespace GUI { -class ControlGroup; - /** Port properties window. * @@ -36,12 +34,12 @@ class ControlGroup; * * \ingroup GUI */ -class PortPropertiesWindow : public Gtk::Dialog +class PortPropertiesWindow : public Gtk::Window { public: PortPropertiesWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade); - void init(ControlGroup* control, SharedPtr port_model); + void present(SharedPtr port_model); private: void metadata_update(const string& key, const Atom& value); @@ -56,12 +54,12 @@ private: float _initial_min; float _initial_max; - ControlGroup* _control; - SharedPtr _port_model; - Gtk::SpinButton* _min_spinner; - Gtk::SpinButton* _max_spinner; - Gtk::Button* _cancel_button; - Gtk::Button* _ok_button; + SharedPtr _port_model; + Gtk::SpinButton* _min_spinner; + Gtk::SpinButton* _max_spinner; + Gtk::Button* _cancel_button; + Gtk::Button* _ok_button; + std::list _connections; }; } // namespace GUI -- cgit v1.2.1