summaryrefslogtreecommitdiff
path: root/gtk2_ardour/add_route_dialog.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-06-11 15:06:00 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-06-11 15:06:00 +0000
commit9ae058354819a58752a301183c0d4b13a759823c (patch)
tree3ced9f69aff241f635945f5b7e2e20611159737b /gtk2_ardour/add_route_dialog.h
parentc6c10f1e7fad18f370b60010afe7f5871b2839d1 (diff)
hugely improved design for add route dialog (why didn't i do it this way before?)
git-svn-id: svn://localhost/ardour2/branches/3.0@5170 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/add_route_dialog.h')
-rw-r--r--gtk2_ardour/add_route_dialog.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/gtk2_ardour/add_route_dialog.h b/gtk2_ardour/add_route_dialog.h
index 81bd8b090d..f99f4829e2 100644
--- a/gtk2_ardour/add_route_dialog.h
+++ b/gtk2_ardour/add_route_dialog.h
@@ -55,25 +55,31 @@ class AddRouteDialog : public Gtk::Dialog
Gtk::Entry name_template_entry;
Gtk::RadioButton track_button;
Gtk::RadioButton bus_button;
- Gtk::RadioButton template_button;
Gtk::Adjustment routes_adjustment;
Gtk::SpinButton routes_spinner;
Gtk::ComboBoxText channel_combo;
Gtk::ComboBoxText track_mode_combo;
- Gtk::ComboBoxText track_template_combo;
std::vector<ARDOUR::TemplateInfo> route_templates;
void track_type_chosen ();
- void refill_track_templates ();
+ void refill_channel_setups ();
- Gtk::HBox* hbox3;
- Gtk::HBox* hbox9;
- Gtk::HBox* hbox4;
-
void reset_template_option_visibility ();
void on_show ();
+
+ struct ChannelSetup {
+ std::string name;
+ std::string template_path;
+ uint32_t channels;
+ };
+
+ typedef std::vector<ChannelSetup> ChannelSetups;
+ ChannelSetups channel_setups;
+
+ std::vector<std::string> channel_combo_strings;
+ std::vector<std::string> track_mode_strings;
};
#endif /* __gtk_ardour_add_route_dialog_h__ */