diff options
author | David Robillard <d@drobilla.net> | 2011-11-28 23:44:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-28 23:44:37 +0000 |
commit | da344ae601c38938e125042e6df5321a576b89af (patch) | |
tree | 645c71417f56d071d1ffc9c345cf7dbf12242d41 /src/gui | |
parent | 9d1a19f80a8c886342ede64706d809eb0c6c32d1 (diff) | |
download | ingen-da344ae601c38938e125042e6df5321a576b89af.tar.gz ingen-da344ae601c38938e125042e6df5321a576b89af.tar.bz2 ingen-da344ae601c38938e125042e6df5321a576b89af.zip |
Make Item no longer a Gnome::Canvas::Group.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3684 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/PatchView.cpp | 4 | ||||
-rw-r--r-- | src/gui/PatchView.hpp | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp index e3741e52..6dee326b 100644 --- a/src/gui/PatchView.cpp +++ b/src/gui/PatchView.cpp @@ -111,11 +111,13 @@ PatchView::set_patch(SharedPtr<const PatchModel> patch) _poly_spin->signal_value_changed().connect( sigc::mem_fun(*this, &PatchView::poly_changed)); + #if 0 _canvas->signal_item_entered.connect( sigc::mem_fun(*this, &PatchView::canvas_item_entered)); _canvas->signal_item_left.connect( sigc::mem_fun(*this, &PatchView::canvas_item_left)); + #endif _canvas->grab_focus(); } @@ -152,6 +154,7 @@ PatchView::set_editable(bool editable) _canvas->lock(!editable); } +#if 0 void PatchView::canvas_item_entered(Gnome::Canvas::Item* item) { @@ -177,6 +180,7 @@ PatchView::canvas_item_left(Gnome::Canvas::Item* item) if (p) signal_object_left.emit(p->model().get()); } +#endif void PatchView::process_toggled() diff --git a/src/gui/PatchView.hpp b/src/gui/PatchView.hpp index 52d33331..cc221bde 100644 --- a/src/gui/PatchView.hpp +++ b/src/gui/PatchView.hpp @@ -80,8 +80,10 @@ private: void on_editable_sig(bool locked); void editable_toggled(); + #if 0 void canvas_item_entered(Gnome::Canvas::Item* item); void canvas_item_left(Gnome::Canvas::Item* item); + #endif void property_changed(const Raul::URI& predicate, const Raul::Atom& value); |