Initial import of gtk2_ardour.
[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 <gtk--/entry.h>
7 #include <gtk--/radiobutton.h>
8 #include <gtk--/adjustment.h>
9 #include <gtk--/spinbutton.h>
10 #include <gtk--/button.h>
11
12 #include <gtkmmext/click_box.h>
13
14 #include "ardour_dialog.h"
15
16 class AddRouteDialog : public ArdourDialog
17 {
18   public:
19         AddRouteDialog ();
20         ~AddRouteDialog ();
21
22         bool track ();
23         std::string name_template ();
24         int channels ();
25         int count ();
26
27         Gtk::Button ok_button;
28         Gtk::Button cancel_button;
29
30   private:
31         Gtk::Entry name_template_entry;
32         Gtk::RadioButton track_button;
33         Gtk::RadioButton bus_button;
34         Gtk::Adjustment routes_adjustment;
35         Gtk::SpinButton routes_spinner;
36         Gtk::Combo      channel_combo;
37 };
38
39 #endif /* __gtk_ardour_add_route_dialog_h__ */