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/BreadCrumb.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/BreadCrumb.hpp') diff --git a/src/gui/BreadCrumb.hpp b/src/gui/BreadCrumb.hpp index 45bdae31..62900a23 100644 --- a/src/gui/BreadCrumb.hpp +++ b/src/gui/BreadCrumb.hpp @@ -22,6 +22,7 @@ #include "raul/Path.hpp" #include "raul/SharedPtr.hpp" #include "PatchView.hpp" +#include "client/PatchModel.hpp" namespace Ingen { namespace GUI { @@ -39,7 +40,7 @@ namespace GUI { class BreadCrumb : public Gtk::ToggleButton { public: - BreadCrumb(const Path& path, SharedPtr view = SharedPtr()) + BreadCrumb(const Raul::Path& path, SharedPtr view = SharedPtr()) : _path(path) , _view(view) { @@ -54,10 +55,10 @@ public: _view = view; } - const Path& path() const { return _path; } + const Raul::Path& path() const { return _path; } SharedPtr view() const { return _view; } - void set_path(const Path& path) + void set_path(const Raul::Path& path) { remove(); const string text = (path == "/") ? "/" : path.name().c_str(); @@ -71,7 +72,7 @@ public: } private: - Path _path; + Raul::Path _path; SharedPtr _view; }; -- cgit v1.2.1