summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-05 02:06:51 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-05 02:06:51 +0000
commitd13cb3bd40b5d5ae54c3adfcf952e6f965e51d08 (patch)
tree146a4ba60ea502b46899ae9d09232f56969f27df /gtk2_ardour/editor.h
parent24f03e4444a1e52e16223a02de7deff5d3905688 (diff)
Make editor list notebook shrink or expand when the tab is double-clicked, as per #3662.
git-svn-id: svn://localhost/ardour2/branches/3.0@8443 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 2c2056dbd6..c46b305c27 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -520,7 +520,11 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
int pre_maximal_editor_height;
void pane_allocation_handler (Gtk::Allocation&, Gtk::Paned*);
- Gtk::Notebook the_notebook;
+ Gtk::Notebook _the_notebook;
+ bool _notebook_shrunk;
+ void add_notebook_page (std::string const &, Gtk::Widget &);
+ bool notebook_tab_clicked (GdkEventButton *, Gtk::Widget *);
+
Gtk::HPaned edit_pane;
Gtk::VPaned editor_summary_pane;