summaryrefslogtreecommitdiff
path: root/gtk2_ardour/add_route_dialog.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-02-14 22:47:50 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-02-14 22:47:50 +0000
commitc6740a61d766cef183525c1736ecb96496272fc2 (patch)
tree7f08a97c35bd829993227e7f993deb490fed4c91 /gtk2_ardour/add_route_dialog.h
parentd56085060908f50be5f49021b04093596004b777 (diff)
track templates; indent fixes needed and will be forthcoming; minor fix for the curvetest hack
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4565 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/add_route_dialog.h')
-rw-r--r--gtk2_ardour/add_route_dialog.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/gtk2_ardour/add_route_dialog.h b/gtk2_ardour/add_route_dialog.h
index 53f4805cc0..09500a2fbb 100644
--- a/gtk2_ardour/add_route_dialog.h
+++ b/gtk2_ardour/add_route_dialog.h
@@ -32,6 +32,7 @@
#include <gtkmm/comboboxtext.h>
#include <ardour/types.h>
+#include <ardour/session.h>
class AddRouteDialog : public Gtk::Dialog
{
@@ -40,23 +41,31 @@ class AddRouteDialog : public Gtk::Dialog
~AddRouteDialog ();
bool track ();
- std::string name_template ();
int channels ();
int count ();
+
+ std::string name_template ();
+ std::string track_template ();
+
ARDOUR::TrackMode mode();
private:
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::Frame aframe;
- Gtk::Frame ccframe;
+ Gtk::ComboBoxText track_template_combo;
+ std::vector<ARDOUR::Session::RouteTemplateInfo> route_templates;
+
void track_type_chosen ();
+ void refill_track_templates ();
+
+ bool on_map_event (GdkEventAny*);
};
#endif /* __gtk_ardour_add_route_dialog_h__ */