diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2007-07-18 02:27:07 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2007-07-18 02:27:07 +0000 |
commit | 3e1a097180afc0a2275ed36ad91a59af35731ddf (patch) | |
tree | 9d9fad680ae3abba811022c477e2649cc31c38af /gtk2_ardour/mixer_ui.h | |
parent | f542fa693cef524c066d9bf632ac6c12263d8fe6 (diff) |
Restore position of the mixer window when it is reopened. #1277
git-svn-id: svn://localhost/ardour2/trunk@2141 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_ui.h')
-rw-r--r-- | gtk2_ardour/mixer_ui.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_ui.h b/gtk2_ardour/mixer_ui.h index 2851763ba5..3c9355efb7 100644 --- a/gtk2_ardour/mixer_ui.h +++ b/gtk2_ardour/mixer_ui.h @@ -102,6 +102,12 @@ class Mixer_UI : public Gtk::Window Gtk::HBox out_packer; Gtk::HPaned list_hpane; + // for restoring window geometry. + int m_root_x, m_root_y, m_width, m_height; + + void set_window_pos_and_size (); + void get_window_pos_and_size (); + bool on_key_press_event (GdkEventKey*); void pane_allocation_handler (Gtk::Allocation&, Gtk::Paned*); |