summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/BreadCrumbBox.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-13 06:11:25 +0000
committerDavid Robillard <d@drobilla.net>2006-09-13 06:11:25 +0000
commite5675ebfeb93175e16762d0a078bd51d15d05f63 (patch)
tree189249ed9014e4c482cfaed0d6af28ced68570ca /src/progs/ingenuity/BreadCrumbBox.h
parent23b7568ab7a87a79c186b8ddf3d3db4f1f934b06 (diff)
downloadingen-e5675ebfeb93175e16762d0a078bd51d15d05f63.tar.gz
ingen-e5675ebfeb93175e16762d0a078bd51d15d05f63.tar.bz2
ingen-e5675ebfeb93175e16762d0a078bd51d15d05f63.zip
Heavy-duty redesign of client library and GUI (now fully signal driven with clean Model/View separation).
Smarter, centralized window creation/management (should make window unification easy (panes?)). Typed metadata system, no more fugly string conversion of floats. Supports OSC fundamental types string, int, float, blob for now (though blob isn't working over the wire yet). git-svn-id: http://svn.drobilla.net/lad/ingen@131 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/BreadCrumbBox.h')
-rw-r--r--src/progs/ingenuity/BreadCrumbBox.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/progs/ingenuity/BreadCrumbBox.h b/src/progs/ingenuity/BreadCrumbBox.h
index 35215e43..e38d8e49 100644
--- a/src/progs/ingenuity/BreadCrumbBox.h
+++ b/src/progs/ingenuity/BreadCrumbBox.h
@@ -22,10 +22,11 @@
#include <libglademm/xml.h>
#include <libglademm.h>
#include "util/Path.h"
+#include "util/CountedPtr.h"
+#include "PatchView.h"
namespace Ingenuity {
-class PatchController;
class BreadCrumb;
@@ -38,11 +39,14 @@ class BreadCrumbBox : public Gtk::HBox
public:
BreadCrumbBox();
- void build(Path path);
+ void build(Path path, CountedPtr<PatchView> view);
- sigc::signal<void, const Path&> signal_patch_selected;
+ sigc::signal<void, const Path&, CountedPtr<PatchView> > signal_patch_selected;
private:
+ BreadCrumb* create_crumb(const Path& path,
+ CountedPtr<PatchView> view = CountedPtr<PatchView>());
+
void breadcrumb_clicked(BreadCrumb* crumb);
void object_removed(const Path& path);