diff options
author | David Robillard <d@drobilla.net> | 2008-11-22 17:29:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-22 17:29:36 +0000 |
commit | ae9644045846190f13dda828e2f75115f2c8601f (patch) | |
tree | ff0682b600558533f1b9cf3b3f1008142dc60544 /src/gui/BreadCrumb.hpp | |
parent | bb8bf97474863c14e6f22bdbeb4d77990e830e1d (diff) | |
download | ingen-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/BreadCrumb.hpp')
-rw-r--r-- | src/gui/BreadCrumb.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
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<PatchView> view = SharedPtr<PatchView>()) + BreadCrumb(const Raul::Path& path, SharedPtr<PatchView> view = SharedPtr<PatchView>()) : _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<PatchView> 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<PatchView> _view; }; |