add GUI support to create tape/destructive tracks
[ardour.git] / gtk2_ardour / add_route_dialog.h
1 #ifndef __gtk_ardour_add_route_dialog_h__
2 #define __gtk_ardour_add_route_dialog_h__
3
4 #include <string>
5
6 #include <gtkmm/entry.h>
7 #include <gtkmm/dialog.h>
8 #include <gtkmm/radiobutton.h>
9 #include <gtkmm/adjustment.h>
10 #include <gtkmm/spinbutton.h>
11 #include <gtkmm/button.h>
12 #include <gtkmm/comboboxtext.h>
13
14 #include <ardour/types.h>
15
16 class AddRouteDialog : public Gtk::Dialog
17 {
18   public:
19         AddRouteDialog ();
20         ~AddRouteDialog ();
21
22         bool track ();
23         std::string name_template ();
24         int channels ();
25         int count ();
26         ARDOUR::TrackMode mode();
27
28   private:
29         Gtk::Entry name_template_entry;
30         Gtk::RadioButton track_button;
31         Gtk::RadioButton bus_button;
32         Gtk::Adjustment routes_adjustment;
33         Gtk::SpinButton routes_spinner;
34         Gtk::ComboBoxText channel_combo;
35         Gtk::ComboBoxText track_mode_combo;
36
37         void track_type_chosen ();
38 };
39
40 #endif /* __gtk_ardour_add_route_dialog_h__ */