summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-25 03:03:25 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-25 03:03:25 +0000
commitd707fa06b79b9ed46323ebe9010c15b198e4058f (patch)
treeb2d13de70d1daeabc96031a79d8cec1f16c92da8 /gtk2_ardour/editor.h
parent275e710e671409421b6a1155bfeeff0d4580a87a (diff)
dramatically simplify maximi[sz]ation code, ripping out all the old pane sizing stuff that seems to be a left over from gtk1 (!)
git-svn-id: svn://localhost/ardour2/branches/3.0@11344 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 553f4c7e7e..e12e20f610 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -525,14 +525,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void update_join_object_range_location (double, double);
- int post_maximal_editor_width;
- int post_maximal_editor_height;
- int post_maximal_horizontal_pane_position;
- int post_maximal_vertical_pane_position;
- int pre_maximal_horizontal_pane_position;
- int pre_maximal_vertical_pane_position;
- int pre_maximal_editor_width;
- int pre_maximal_editor_height;
+ boost::optional<int> pre_notebook_shrink_pane_width;
+
void pane_allocation_handler (Gtk::Allocation&, Gtk::Paned*);
Gtk::Notebook _the_notebook;
@@ -543,8 +537,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
Gtk::HPaned edit_pane;
Gtk::VPaned editor_summary_pane;
- bool idle_reset_vertical_pane_position (int);
-
Gtk::EventBox meter_base;
Gtk::HBox meter_box;
Gtk::EventBox marker_base;
@@ -1451,6 +1443,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
bool _follow_playhead;
/// true if we scroll the tracks rather than the playhead
bool _stationary_playhead;
+ /// true if we are in fullscreen mode
+ bool _maximised;
ARDOUR::TempoMap::BBTPointList::const_iterator current_bbt_points_begin;
ARDOUR::TempoMap::BBTPointList::const_iterator current_bbt_points_end;