Preferences/Config changes for image-surface settings
[ardour.git] / gtk2_ardour / session_option_editor.h
1 /*
2  * Copyright (C) 2009-2011 Carl Hetherington <carl@carlh.net>
3  * Copyright (C) 2009-2015 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2012-2018 Robin Gareus <robin@gareus.org>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  */
20
21 #ifndef __gtk_ardour_session_option_editor_h__
22 #define __gtk_ardour_session_option_editor_h__
23
24 #include "option_editor.h"
25
26 namespace ARDOUR {
27         class Session;
28         class SessionConfiguration;
29 }
30
31 class SessionOptionEditor : public OptionEditorWindow
32 {
33 public:
34         SessionOptionEditor (ARDOUR::Session* s);
35
36 private:
37         void parameter_changed (std::string const &);
38
39         ARDOUR::SessionConfiguration* _session_config;
40
41         ComboOption<float>* _vpu;
42         ComboOption<ARDOUR::SampleFormat>* _sf;
43         EntryOption* _take_name;
44
45         void save_defaults ();
46 };
47
48 #endif /* __gtk_ardour_session_option_editor_h__ */