Ardour
9.7-336-gb784ad01ee
session_option_editor.h
Go to the documentation of this file.
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
#pragma once
22
23
#include "
option_editor.h
"
24
25
namespace
ARDOUR
{
26
class
Session;
27
class
SessionConfiguration;
28
}
29
30
class
ScaleBox
;
31
32
class
SessionOptionEditor
:
public
OptionEditorWindow
33
{
34
public
:
35
SessionOptionEditor
(
ARDOUR::Session
* s);
36
~SessionOptionEditor
();
37
38
private
:
39
void
parameter_changed
(std::string
const
&);
40
41
ARDOUR::SessionConfiguration
*
_session_config
;
42
43
ComboOption<float>
*
_vpu
;
44
ComboOption<ARDOUR::SampleFormat>
*
_sf
;
45
EntryOption
*
_take_name
;
46
ScaleBox
*
scale_widget
;
47
48
void
save_defaults
();
49
void
scale_change
();
50
};
ARDOUR::SessionConfiguration
Definition:
session_configuration.h:32
ARDOUR::Session
Definition:
session.h:216
ComboOption< float >
EntryOption
Definition:
option_editor.h:283
OptionEditorWindow
Definition:
option_editor.h:797
ScaleBox
Definition:
scale_dialog.h:39
SessionOptionEditor
Definition:
session_option_editor.h:33
SessionOptionEditor::_take_name
EntryOption * _take_name
Definition:
session_option_editor.h:45
SessionOptionEditor::save_defaults
void save_defaults()
SessionOptionEditor::_sf
ComboOption< ARDOUR::SampleFormat > * _sf
Definition:
session_option_editor.h:44
SessionOptionEditor::~SessionOptionEditor
~SessionOptionEditor()
SessionOptionEditor::_vpu
ComboOption< float > * _vpu
Definition:
session_option_editor.h:43
SessionOptionEditor::_session_config
ARDOUR::SessionConfiguration * _session_config
Definition:
session_option_editor.h:41
SessionOptionEditor::parameter_changed
void parameter_changed(std::string const &)
SessionOptionEditor::scale_widget
ScaleBox * scale_widget
Definition:
session_option_editor.h:46
SessionOptionEditor::scale_change
void scale_change()
SessionOptionEditor::SessionOptionEditor
SessionOptionEditor(ARDOUR::Session *s)
ARDOUR
Definition:
analysis_window.h:44
option_editor.h
Base class for option editing dialog boxes.
gtk2_ardour
session_option_editor.h
Generated on Thu Aug 13 2026 06:04:52 for Ardour by
1.9.1