From ae9644045846190f13dda828e2f75115f2c8601f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Nov 2008 17:29:36 +0000 Subject: Add status bar to display information about objects on mouse hover. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1769 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchView.hpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/gui/PatchView.hpp') diff --git a/src/gui/PatchView.hpp b/src/gui/PatchView.hpp index 209480f2..beb1de2f 100644 --- a/src/gui/PatchView.hpp +++ b/src/gui/PatchView.hpp @@ -23,16 +23,17 @@ #include #include #include "raul/SharedPtr.hpp" -#include "client/PatchModel.hpp" - -using std::string; +#include "raul/Atom.hpp" namespace Ingen { namespace Client { class PortModel; class MetadataModel; + class PatchModel; + class ObjectModel; } } using namespace Ingen::Client; +namespace FlowCanvas { class Port; class Item; } namespace Ingen { namespace GUI { @@ -45,7 +46,6 @@ class NewSubpatchWindow; class NodeControlWindow; class PatchDescriptionWindow; class SubpatchModule; -class OmPort; /** The patch specific contents of a PatchWindow (ie the canvas and whatever else). @@ -64,6 +64,8 @@ public: static SharedPtr create(SharedPtr patch); + sigc::signal signal_object_entered; + private: void set_patch(SharedPtr patch); @@ -73,6 +75,8 @@ private: void refresh_clicked(); void on_editable_sig(bool locked); void editable_toggled(); + void canvas_port_entered(FlowCanvas::Port* port); + void canvas_item_entered(FlowCanvas::Item* item); void property_changed(const std::string& predicate, const Raul::Atom& value); -- cgit v1.2.1