diff options
author | David Robillard <d@drobilla.net> | 2013-02-02 04:21:51 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-02 04:21:51 +0000 |
commit | 0c5792cb84ca039a7dbf4ca933066ab11f8af6e4 (patch) | |
tree | 398f273063f8e6bf7605eed5f863ba79b768c70b /src/gui/NodeModule.cpp | |
parent | 763255ad8fc731f298be99c5ebeb07791b748ed2 (diff) | |
download | ingen-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/NodeModule.cpp')
-rw-r--r-- | src/gui/NodeModule.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index bbafa44f..51cbf038 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -366,7 +366,20 @@ NodeModule::on_event(GdkEvent* ev) return show_menu(&ev->button); } else if (ev->type == GDK_2BUTTON_PRESS) { return on_double_click(&ev->button); + } else if (ev->type == GDK_ENTER_NOTIFY) { + GraphBox* const box = app().window_factory()->graph_box( + dynamic_ptr_cast<const GraphModel>(_block->parent())); + if (box) { + box->object_entered(_block.get()); + } + } else if (ev->type == GDK_LEAVE_NOTIFY) { + GraphBox* const box = app().window_factory()->graph_box( + dynamic_ptr_cast<const GraphModel>(_block->parent())); + if (box) { + box->object_left(_block.get()); + } } + return false; } |