mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-30 10:27:44 +01:00
Re-expose timecode offset in the session option editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@8146 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
044a2cca8f
commit
a5ea47ff0d
12 changed files with 107 additions and 70 deletions
|
|
@ -35,6 +35,8 @@ SessionOptionEditor::SessionOptionEditor (Session* s)
|
|||
: OptionEditor (&(s->config), _("Session Properties"))
|
||||
, _session_config (&(s->config))
|
||||
{
|
||||
set_session (s);
|
||||
|
||||
set_name ("SessionProperties");
|
||||
|
||||
/* SYNC */
|
||||
|
|
@ -111,6 +113,24 @@ SessionOptionEditor::SessionOptionEditor (Session* s)
|
|||
|
||||
add_option (_("Sync"), vpu);
|
||||
|
||||
ClockOption* co = new ClockOption (
|
||||
"timecode-offset",
|
||||
_("Timecode Offset"),
|
||||
sigc::mem_fun (*_session_config, &SessionConfiguration::get_timecode_offset),
|
||||
sigc::mem_fun (*_session_config, &SessionConfiguration::set_timecode_offset)
|
||||
);
|
||||
|
||||
co->set_session (_session);
|
||||
|
||||
add_option (_("Sync"), co);
|
||||
|
||||
add_option (_("Sync"), new BoolOption (
|
||||
"timecode-offset-negative",
|
||||
_("Timecode Offset Negative"),
|
||||
sigc::mem_fun (*_session_config, &SessionConfiguration::get_timecode_offset_negative),
|
||||
sigc::mem_fun (*_session_config, &SessionConfiguration::set_timecode_offset_negative)
|
||||
));
|
||||
|
||||
/* FADES */
|
||||
|
||||
ComboOption<CrossfadeModel>* cfm = new ComboOption<CrossfadeModel> (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue