+ void pulse_change ();
+ void tempo_type_change ();
+ void lock_style_change ();
+ bool tap_tempo_button_press (GdkEventButton* );
+ bool tap_tempo_focus_out (GdkEventFocus* );
+
+ typedef std::map<std::string,float> NoteTypes;
+ NoteTypes note_types;
+
+ typedef std::map<std::string, ARDOUR::TempoSection::Type> TempoTypes;
+ TempoTypes tempo_types;
+
+ typedef std::map<std::string, ARDOUR::PositionLockStyle> LockStyles;
+ LockStyles lock_styles;
+
+ bool tapped; // whether the tap-tempo button has been clicked
+ double sum_x, sum_xx, sum_xy, sum_y;
+ double tap_count;
+ double last_t;
+ gint64 first_t;
+
+ ARDOUR::TempoMap* _map;
+ ARDOUR::TempoSection* _section;
+
+ Gtk::ComboBoxText pulse_selector;
+ Gtk::Adjustment bpm_adjustment;
+ Gtk::SpinButton bpm_spinner;
+ Gtk::Entry when_bar_entry;
+ Gtk::Entry when_beat_entry;
+ Gtk::Label when_bar_label;
+ Gtk::Label when_beat_label;
+ Gtk::Label pulse_selector_label;
+ Gtk::Button tap_tempo_button;
+ Gtk::ComboBoxText tempo_type;
+ Gtk::ComboBoxText lock_style;