From a5ea47ff0db48e9b5549f309eb6951138b063de4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 1 Dec 2010 20:49:22 +0000 Subject: Re-expose timecode offset in the session option editor. git-svn-id: svn://localhost/ardour2/branches/3.0@8146 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/option_editor.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'gtk2_ardour/option_editor.h') diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h index 0258f955aa..89a69dfe67 100644 --- a/gtk2_ardour/option_editor.h +++ b/gtk2_ardour/option_editor.h @@ -27,6 +27,7 @@ #include #include "gtkmm2ext/slider_controller.h" #include "ardour_dialog.h" +#include "audio_clock.h" #include "ardour/types.h" /** @file option_editor.h @@ -357,6 +358,21 @@ private: sigc::slot _set; }; +class ClockOption : public Option +{ +public: + ClockOption (std::string const &, std::string const &, sigc::slot, sigc::slot); + void set_state_from_config (); + void add_to_page (OptionEditorPage *); + void set_session (ARDOUR::Session *); + +private: + Gtk::Label _label; + AudioClock _clock; + sigc::slot _get; + sigc::slot _set; +}; + /** Class to represent a single page in an OptionEditor's notebook. * Pages are laid out using a 3-column table; the 1st column is used * to indent non-headings, and the 2nd and 3rd for actual content. -- cgit v1.2.3