summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchView.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-27 06:25:35 +0000
committerDavid Robillard <d@drobilla.net>2008-11-27 06:25:35 +0000
commit32ff9b5e6822f4af04c5be4a71b43c5363f58031 (patch)
tree6d8082316d2834521f8d9b6bd8634ea7f5a5c1cc /src/gui/PatchView.hpp
parent6eed83b13188d3cb6c4676d74c589f61e4e853dc (diff)
downloadingen-32ff9b5e6822f4af04c5be4a71b43c5363f58031.tar.gz
ingen-32ff9b5e6822f4af04c5be4a71b43c5363f58031.tar.bz2
ingen-32ff9b5e6822f4af04c5be4a71b43c5363f58031.zip
Replace "modes" with boolean "edit controls" in tooltips etc.
Give edit controls a menu entry. Cleanup toolbar, fix some clashing mnemonics, etc. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1790 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchView.hpp')
-rw-r--r--src/gui/PatchView.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/PatchView.hpp b/src/gui/PatchView.hpp
index 77da6263..c88e334a 100644
--- a/src/gui/PatchView.hpp
+++ b/src/gui/PatchView.hpp
@@ -62,6 +62,8 @@ public:
SharedPtr<PatchCanvas> canvas() const { return _canvas; }
SharedPtr<PatchModel> patch() const { return _patch; }
Gtk::Viewport* breadcrumb_container() const { return _breadcrumb_container; }
+
+ void set_editable(bool editable);
static SharedPtr<PatchView> create(SharedPtr<PatchModel> patch);
@@ -77,6 +79,7 @@ private:
void refresh_clicked();
void on_editable_sig(bool locked);
void editable_toggled();
+
void canvas_item_entered(Gnome::Canvas::Item* item);
void canvas_item_left(Gnome::Canvas::Item* item);
@@ -93,7 +96,6 @@ private:
Gtk::ToggleToolButton* _process_but;
Gtk::SpinButton* _poly_spin;
Gtk::ToolButton* _clear_but;
- Gtk::ToolButton* _destroy_but;
Gtk::ToolButton* _refresh_but;
Gtk::ToolButton* _save_but;
Gtk::ToolButton* _zoom_normal_but;