From ff440276c161a3985bcc4c53b5bb5f6aaac9e265 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 1 Aug 2019 15:27:21 -0500 Subject: Source List: Source regions can be tagged, too. --- gtk2_ardour/editor_sources.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/editor_sources.h') diff --git a/gtk2_ardour/editor_sources.h b/gtk2_ardour/editor_sources.h index 5b9f669834..7ab4a9079a 100644 --- a/gtk2_ardour/editor_sources.h +++ b/gtk2_ardour/editor_sources.h @@ -69,6 +69,7 @@ private: struct Columns : public Gtk::TreeModel::ColumnRecord { Columns () { add (name); + add (tags); add (take_id); add (natural_pos); add (path); @@ -78,6 +79,7 @@ private: } Gtk::TreeModelColumn name; + Gtk::TreeModelColumn tags; Gtk::TreeModelColumn > region; Gtk::TreeModelColumn color_; Gtk::TreeModelColumn natural_pos; @@ -102,6 +104,10 @@ private: Gtk::Widget* old_focus; + Gtk::CellEditable* tags_editable; + void tag_editing_started (Gtk::CellEditable*, const Glib::ustring&); + void tag_edit (const std::string&, const std::string&); + bool key_press (GdkEventKey *); bool button_press (GdkEventButton *); @@ -152,7 +158,6 @@ private: Selection* _selection; bool _no_redisplay; - }; #endif /* __gtk_ardour_editor_regions_h__ */ -- cgit v1.2.3