diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-12-19 02:27:50 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-12-19 02:27:50 +0000 |
commit | c6ca7ce48fb1339040878fb2af9958894bcee1b6 (patch) | |
tree | e0694bc14518b5e9ce4babdc830dd723f09246b5 /gtk2_ardour/new_session_dialog.h | |
parent | 5252e9d640acd406eaba055fd3cbd6fd95a09069 (diff) |
made new session dialog hide pages as necessary, to be a bit simpler whenever possible
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2797 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/new_session_dialog.h')
-rw-r--r-- | gtk2_ardour/new_session_dialog.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk2_ardour/new_session_dialog.h b/gtk2_ardour/new_session_dialog.h index 2a72670a92..cd5d32e8e9 100644 --- a/gtk2_ardour/new_session_dialog.h +++ b/gtk2_ardour/new_session_dialog.h @@ -57,6 +57,8 @@ public: NewSessionDialog(); ~NewSessionDialog (); + int run (); + void set_session_name(const Glib::ustring& name); void set_session_folder(const Glib::ustring& folder); @@ -93,6 +95,7 @@ public: EngineControl engine_control; void set_have_engine (bool yn); + void set_existing_session (bool yn); protected: @@ -165,6 +168,14 @@ protected: Gtk::Notebook* m_notebook; private: + enum Pages { + NewPage, + OpenPage, + EnginePage + }; + + Pages page_set; + struct RecentSessionModelColumns : public Gtk::TreeModel::ColumnRecord { RecentSessionModelColumns() { add (visible_name); |