Change ArdourPrompter to not have an OK button by default, clean up new track/bus...
[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/frame.h>
9 #include <gtkmm/radiobutton.h>
10 #include <gtkmm/adjustment.h>
11 #include <gtkmm/spinbutton.h>
12 #include <gtkmm/button.h>
13 #include <gtkmm/comboboxtext.h>
14
15 #include <ardour/types.h>
16
17 class AddRouteDialog : public Gtk::Dialog
18 {
19   public:
20         AddRouteDialog ();
21         ~AddRouteDialog ();
22
23         bool track ();
24         std::string name_template ();
25         int channels ();
26         int count ();
27         ARDOUR::TrackMode mode();
28
29   private:
30         Gtk::Entry name_template_entry;
31         Gtk::RadioButton track_button;
32         Gtk::RadioButton bus_button;
33         Gtk::Adjustment routes_adjustment;
34         Gtk::SpinButton routes_spinner;
35         Gtk::ComboBoxText channel_combo;
36         Gtk::ComboBoxText track_mode_combo;
37         Gtk::Frame aframe;
38         Gtk::Frame ccframe;
39
40         void track_type_chosen ();
41 };
42
43 #endif /* __gtk_ardour_add_route_dialog_h__ */