AudioClock (std::string clock_name, bool transient, std::string widget_name, bool editable, bool is_duration = false, bool with_info = false);
Mode mode() const { return _mode; }
-
+
+ void focus ();
+
void set (nframes_t, bool force = false, nframes_t offset = 0, int which = 0);
void set_mode (Mode);
-
+ void set_bbt_reference (nframes64_t);
+
void set_widget_name (std::string);
std::string name() const { return _name; }
void set_session (ARDOUR::Session *s);
sigc::signal<void> ValueChanged;
+ sigc::signal<void> ChangeAborted;
static sigc::signal<void> ModeChanged;
static std::vector<AudioClock*> clocks;
Gtk::EventBox audio_frames_ebox;
Gtk::Label audio_frames_label;
+ Gtk::HBox off_hbox;
+
Gtk::EventBox hours_ebox;
Gtk::EventBox minutes_ebox;
Gtk::EventBox seconds_ebox;
Gtk::EventBox clock_base;
Gtk::Frame clock_frame;
+ nframes64_t bbt_reference_time;
nframes_t last_when;
bool last_pdelta;
bool last_sdelta;