add JAG to author list
[ardour.git] / gtk2_ardour / audio_clock.h
index fe56add4b52b37f01afa6f9cb88894d18344b16d..ce500149c49ea16c9d85f054307a0119369c4dc2 100644 (file)
@@ -45,10 +45,13 @@ class AudioClock : public Gtk::HBox
        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; }
@@ -58,6 +61,7 @@ class AudioClock : public Gtk::HBox
        void set_session (ARDOUR::Session *s);
 
        sigc::signal<void> ValueChanged;
+       sigc::signal<void> ChangeAborted;
 
        static sigc::signal<void> ModeChanged;
        static std::vector<AudioClock*> clocks;
@@ -104,6 +108,8 @@ class AudioClock : public Gtk::HBox
        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;
@@ -150,6 +156,7 @@ class AudioClock : public Gtk::HBox
        Gtk::EventBox  clock_base;
        Gtk::Frame     clock_frame;
 
+       nframes64_t bbt_reference_time;
        nframes_t last_when;
        bool last_pdelta;
        bool last_sdelta;