diff options
author | Taybin Rutkin <taybin@taybin.com> | 2007-01-05 04:24:23 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2007-01-05 04:24:23 +0000 |
commit | d631a8d89fd0a4b72a84c415ca2bdb4c2ca99bbc (patch) | |
tree | 85bedee3c8a30a2aecb452cbf55be1b23ab09a52 /gtk2_ardour/sfdb_ui.h | |
parent | 143e8eba1dce4d8c68e01c786e2d51075d4a58e2 (diff) |
First pass of sfdb tag searching. Not functional, but very very close.
git-svn-id: svn://localhost/ardour2/trunk@1272 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.h')
-rw-r--r-- | gtk2_ardour/sfdb_ui.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/gtk2_ardour/sfdb_ui.h b/gtk2_ardour/sfdb_ui.h index c8a0d316a5..ae51bcfe27 100644 --- a/gtk2_ardour/sfdb_ui.h +++ b/gtk2_ardour/sfdb_ui.h @@ -70,7 +70,6 @@ class SoundFileBox : public Gtk::VBox Gtk::VBox main_box; Gtk::VBox path_box; - Gtk::HBox top_box; Gtk::HBox bottom_box; Gtk::Button play_btn; @@ -95,9 +94,30 @@ class SoundFileBrowser : public ArdourDialog protected: Gtk::FileChooserWidget chooser; + Gtk::FileFilter filter; SoundFileBox preview; + class FoundTagColumns : public Gtk::TreeModel::ColumnRecord + { + public: + Gtk::TreeModelColumn<string> pathname; + + FoundTagColumns() { add(pathname); } + }; + + FoundTagColumns found_list_columns; + Glib::RefPtr<Gtk::ListStore> found_list; + Gtk::TreeView found_list_view; + Gtk::Entry found_entry; + Gtk::Button found_search_btn; + + Gtk::Notebook notebook; + void update_preview (); + void found_list_view_selected (); + void found_search_clicked (); + + bool on_custom (const Gtk::FileFilter::Info& filter_info); }; class SoundFileChooser : public SoundFileBrowser |