summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphView.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-02-02 04:21:51 +0000
committerDavid Robillard <d@drobilla.net>2013-02-02 04:21:51 +0000
commit0c5792cb84ca039a7dbf4ca933066ab11f8af6e4 (patch)
tree398f273063f8e6bf7605eed5f863ba79b768c70b /src/gui/GraphView.cpp
parent763255ad8fc731f298be99c5ebeb07791b748ed2 (diff)
downloadingen-0c5792cb84ca039a7dbf4ca933066ab11f8af6e4.tar.gz
ingen-0c5792cb84ca039a7dbf4ca933066ab11f8af6e4.tar.bz2
ingen-0c5792cb84ca039a7dbf4ca933066ab11f8af6e4.zip
Fix status bar hover text.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5018 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/GraphView.cpp')
-rw-r--r--src/gui/GraphView.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp
index 8452e9cf..54e42372 100644
--- a/src/gui/GraphView.cpp
+++ b/src/gui/GraphView.cpp
@@ -105,14 +105,6 @@ GraphView::set_graph(SPtr<const GraphModel> graph)
_poly_spin->signal_value_changed().connect(
sigc::mem_fun(*this, &GraphView::poly_changed));
- #if 0
- _canvas->signal_item_entered.connect(
- sigc::mem_fun(*this, &GraphView::canvas_item_entered));
-
- _canvas->signal_item_left.connect(
- sigc::mem_fun(*this, &GraphView::canvas_item_left));
- #endif
-
_canvas->widget().grab_focus();
}
@@ -127,34 +119,6 @@ GraphView::create(App& app, SPtr<const GraphModel> graph)
return SPtr<GraphView>(result);
}
-#if 0
-void
-GraphView::canvas_item_entered(Gnome::Canvas::Item* item)
-{
- NodeModule* m = dynamic_cast<NodeModule*>(item);
- if (m)
- signal_object_entered.emit(m->block().get());
-
- const Port* p = dynamic_cast<const Port*>(item);
- if (p)
- signal_object_entered.emit(p->model().get());
-}
-
-void
-GraphView::canvas_item_left(Gnome::Canvas::Item* item)
-{
- NodeModule* m = dynamic_cast<NodeModule*>(item);
- if (m) {
- signal_object_left.emit(m->block().get());
- return;
- }
-
- const Port* p = dynamic_cast<const Port*>(item);
- if (p)
- signal_object_left.emit(p->model().get());
-}
-#endif
-
void
GraphView::process_toggled()
{