Remove duplicate menubarstyle property.
[ardour.git] / gtk2_ardour / audio_clock.h
index 21a2755588704770b48cab1b599ab28474a62be2..7c1b6d386bcab422cd34740dc0ca8ede19c93c35 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, char 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,10 +61,12 @@ class AudioClock : public Gtk::HBox
        void set_session (ARDOUR::Session *s);
 
        sigc::signal<void> ValueChanged;
+       sigc::signal<void> mode_changed;
+       sigc::signal<void> ChangeAborted;
 
        static sigc::signal<void> ModeChanged;
        static std::vector<AudioClock*> clocks;
-
+       
        static bool has_focus() { return _has_focus; }
 
   private:
@@ -152,6 +157,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;