X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fadd_route_dialog.h;h=381bebee4457bdfb7fd6967ae12cef4a8a3a9d1b;hb=a58f7caca133af3ce68f9a1e6aa9c50f61a1bc28;hp=bf871ac065d6d461b506736c243357e8454fd221;hpb=f0387f07bd4fa04f69c365e72b4ab5c1f97fc083;p=ardour.git diff --git a/gtk2_ardour/add_route_dialog.h b/gtk2_ardour/add_route_dialog.h index bf871ac065..381bebee44 100644 --- a/gtk2_ardour/add_route_dialog.h +++ b/gtk2_ardour/add_route_dialog.h @@ -67,8 +67,9 @@ public: AudioBus, MidiBus, VCAMaster, + ListenBus, }; - TypeWanted type_wanted() const; + TypeWanted type_wanted(); ARDOUR::ChanCount channels (); uint32_t channel_count (); @@ -86,9 +87,10 @@ public: std::string get_template_path(); + void reset_name_edited () { name_edited_by_user = false; } + private: Gtk::Entry name_template_entry; - Gtk::ComboBoxText track_bus_combo; Gtk::Adjustment routes_adjustment; Gtk::SpinButton routes_spinner; Gtk::ComboBoxText channel_combo; @@ -101,7 +103,6 @@ private: Gtk::Label strict_io_label; Gtk::Label mode_label; Gtk::Label instrument_label; - Gtk::ComboBoxText template_type_placeholder; Gtk::ComboBoxText mode_combo; Gtk::ComboBoxText route_group_combo; InstrumentSelector instrument_combo; @@ -124,13 +125,13 @@ private: add (name); add (path); add (description); - add (created_with); + add (modified_with); } Gtk::TreeModelColumn name; Gtk::TreeModelColumn path; Gtk::TreeModelColumn description; - Gtk::TreeModelColumn created_with; + Gtk::TreeModelColumn modified_with; }; TrackTemplateColumns track_template_columns; @@ -141,6 +142,7 @@ private: void trk_template_row_selected (); Gtk::TextView trk_template_desc; + Gtk::Frame trk_template_outer_frame; Gtk::Frame trk_template_desc_frame; void reset_template_option_visibility (); @@ -156,6 +158,7 @@ private: typedef std::vector ChannelSetups; ChannelSetups channel_setups; + static std::vector > builtin_types; static std::vector channel_combo_strings; static std::vector bus_mode_strings;