fix audio clock restore, provide XMLNode::property (string) and speed up the property...
[ardour.git] / gtk2_ardour / tempo_dialog.h
index 6f9b51dbca4de1b6c0d4ffc41e9d04c146b0dab6..720a87c4ba6fd4f11b1ec6fd9cc2d224468e4c47 100644 (file)
@@ -33,7 +33,7 @@ struct TempoDialog : public ArdourDialog
     Gtk::Frame   when_frame;
     char buf[64];
     
-    TempoDialog (ARDOUR::TempoMap&, jack_nframes_t, const string & action);
+    TempoDialog (ARDOUR::TempoMap&, nframes_t, const string & action);
     TempoDialog (ARDOUR::TempoSection&, const string & action);
 
     double get_bpm ();
@@ -41,6 +41,8 @@ struct TempoDialog : public ArdourDialog
     
   private:
     void init (const ARDOUR::BBT_Time& start, double, bool);
+    bool bpm_key_press (GdkEventKey* );
+    bool bpm_key_release (GdkEventKey* );
 };
 
 struct MeterDialog : public ArdourDialog 
@@ -64,7 +66,7 @@ struct MeterDialog : public ArdourDialog
     Gtk::Frame   when_frame;
     char buf[64];
     
-    MeterDialog (ARDOUR::TempoMap&, jack_nframes_t, const string & action);
+    MeterDialog (ARDOUR::TempoMap&, nframes_t, const string & action);
     MeterDialog (ARDOUR::MeterSection&, const string & action);
 
     double get_bpb ();
@@ -73,6 +75,9 @@ struct MeterDialog : public ArdourDialog
 
   private:
     void init (const ARDOUR::BBT_Time&, double, double, bool);
+    bool bpb_key_press (GdkEventKey* );
+    bool bpb_key_release (GdkEventKey* );
+    void note_types_change ();
 };
 
 #endif /* __ardour_gtk_tempo_dialog_h__ */