summaryrefslogtreecommitdiff
path: root/gtk2_ardour/add_route_dialog.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-07-04 18:05:47 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-07-04 18:05:47 +0000
commit359a8469a79f510301b682e6f95a5d9859baecc2 (patch)
tree6012d5b57a5c776fd5b323c5633ddd6ed3229805 /gtk2_ardour/add_route_dialog.h
parente2641f0a19fad2c906111c2a72bd95f6f45dd0f5 (diff)
back-port add-route-dialog redesign from 3.0
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5320 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 5da6e70b1a..7771fae0b8 100644
--- a/gtk2_ardour/add_route_dialog.h
+++ b/gtk2_ardour/add_route_dialog.h
@@ -53,25 +53,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::Session::RouteTemplateInfo> 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__ */