summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchView.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-22 17:29:36 +0000
committerDavid Robillard <d@drobilla.net>2008-11-22 17:29:36 +0000
commitae9644045846190f13dda828e2f75115f2c8601f (patch)
treeff0682b600558533f1b9cf3b3f1008142dc60544 /src/gui/PatchView.hpp
parentbb8bf97474863c14e6f22bdbeb4d77990e830e1d (diff)
downloadingen-ae9644045846190f13dda828e2f75115f2c8601f.tar.gz
ingen-ae9644045846190f13dda828e2f75115f2c8601f.tar.bz2
ingen-ae9644045846190f13dda828e2f75115f2c8601f.zip
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
Diffstat (limited to 'src/gui/PatchView.hpp')
-rw-r--r--src/gui/PatchView.hpp12
1 files changed, 8 insertions, 4 deletions
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 <libglademm/xml.h>
#include <libglademm.h>
#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<PatchView> create(SharedPtr<PatchModel> patch);
+ sigc::signal<void, ObjectModel*> signal_object_entered;
+
private:
void set_patch(SharedPtr<PatchModel> 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);