diff options
Diffstat (limited to 'gtk2_ardour/tempo_dialog.h')
-rw-r--r-- | gtk2_ardour/tempo_dialog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/tempo_dialog.h b/gtk2_ardour/tempo_dialog.h index 06c5db196d..f04a5417f7 100644 --- a/gtk2_ardour/tempo_dialog.h +++ b/gtk2_ardour/tempo_dialog.h @@ -44,6 +44,7 @@ public: double get_bpm (); double get_note_type (); bool get_bbt_time (Timecode::BBT_Time&); + ARDOUR::TempoSection::TempoSectionType get_tempo_type (); private: void init (const Timecode::BBT_Time& start, double, double, bool); @@ -59,6 +60,9 @@ private: typedef std::map<std::string,float> NoteTypes; NoteTypes note_types; + typedef std::map<std::string, ARDOUR::TempoSection::TempoSectionType> TempoTypes; + TempoTypes tempo_types; + bool tapped; // whether the tap-tempo button has been clicked double sum_x, sum_xx, sum_xy, sum_y; double tap_count; @@ -74,6 +78,8 @@ private: Gtk::Label when_beat_label; Gtk::Label pulse_selector_label; Gtk::Button tap_tempo_button; + Gtk::ComboBoxText tempo_type; + }; class MeterDialog : public ArdourDialog |