diff options
author | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
commit | 9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch) | |
tree | 089c1366a567dfbf88c0473288236b276ef24bf6 /src/gui/BreadCrumbs.cpp | |
parent | 987710474b824cb92d83ff6fa7a090f50e10756f (diff) | |
download | ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2 ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip |
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/BreadCrumbs.cpp')
-rw-r--r-- | src/gui/BreadCrumbs.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/BreadCrumbs.cpp b/src/gui/BreadCrumbs.cpp index 011bf690..416d0178 100644 --- a/src/gui/BreadCrumbs.cpp +++ b/src/gui/BreadCrumbs.cpp @@ -35,7 +35,6 @@ BreadCrumbs::BreadCrumbs() sigc::mem_fun(this, &BreadCrumbs::object_destroyed)); } - SharedPtr<PatchView> BreadCrumbs::view(const Path& path) { @@ -46,7 +45,6 @@ BreadCrumbs::view(const Path& path) return SharedPtr<PatchView>(); } - /** Sets up the crumbs to display @a path. * * If @a path is already part of the shown path, it will be selected and the @@ -78,7 +76,6 @@ BreadCrumbs::build(Path path, SharedPtr<PatchView> view) _active_path = path; _enable_signal = old_enable_signal; - // Moving to a child of the full path, just append crumbs (preserve view cache) } else if (_breadcrumbs.size() > 0 && (path.is_child_of(_full_path))) { @@ -102,7 +99,6 @@ BreadCrumbs::build(Path path, SharedPtr<PatchView> view) (*i)->set_active(false); _breadcrumbs.back()->set_active(true); - // Rebuild from scratch // Getting here is bad unless absolutely necessary, since the PatchView cache is lost } else { @@ -143,7 +139,6 @@ BreadCrumbs::build(Path path, SharedPtr<PatchView> view) _enable_signal = old_enable_signal; } - /** Create a new crumb, assigning it a reference to @a view if their paths * match, otherwise ignoring @a view. */ @@ -160,7 +155,6 @@ BreadCrumbs::create_crumb(const Path& path, return but; } - void BreadCrumbs::breadcrumb_clicked(BreadCrumb* crumb) { @@ -179,7 +173,6 @@ BreadCrumbs::breadcrumb_clicked(BreadCrumb* crumb) } } - void BreadCrumbs::object_destroyed(const Path& path) { @@ -196,7 +189,6 @@ BreadCrumbs::object_destroyed(const Path& path) } } - void BreadCrumbs::object_moved(const Path& old_path, const Path& new_path) { @@ -206,7 +198,6 @@ BreadCrumbs::object_moved(const Path& old_path, const Path& new_path) } } - } // namespace GUI } // namespace Ingen |