diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-20 16:56:07 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-20 16:56:07 +0000 |
commit | 06320b2ed34dcc34ba36c673e6938485d43f5485 (patch) | |
tree | 5e084cc20082d30026a44ef7b1e0e6dd7ec5e0a2 /gtk2_ardour/tempo_dialog.h | |
parent | 6227b5d47349ebf1aa3afc30e8a30962417fdf7b (diff) |
use the same kludge-removal approach in the prior commit for the meter dialog too, and fix a minor bug in the tempo dialog setup
git-svn-id: svn://localhost/ardour2/branches/3.0@11028 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/tempo_dialog.h')
-rw-r--r-- | gtk2_ardour/tempo_dialog.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/tempo_dialog.h b/gtk2_ardour/tempo_dialog.h index cfb09b0476..ba269a4425 100644 --- a/gtk2_ardour/tempo_dialog.h +++ b/gtk2_ardour/tempo_dialog.h @@ -81,10 +81,13 @@ private: void init (const Timecode::BBT_Time&, double, double, bool); bool entry_key_press (GdkEventKey* ); bool entry_key_release (GdkEventKey* ); - void note_types_change (); + void note_type_change (); + + typedef std::map<std::string,float> NoteTypes; + NoteTypes note_types; Gtk::Entry bpb_entry; - Gtk::ComboBoxText note_types; + Gtk::ComboBoxText note_type; std::vector<std::string> strings; Gtk::Button ok_button; Gtk::Button cancel_button; |