From 577469a06aa48310ec5cd9a6428f32c35fca5fcb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 18 Jan 2012 18:43:43 +0000 Subject: colinf's 2011-12-08 patch for freesound mootcher (add stop, remove URI, clear barberpole, etc) git-svn-id: svn://localhost/ardour2/branches/3.0@11265 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/sfdb_ui.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/sfdb_ui.h') diff --git a/gtk2_ardour/sfdb_ui.h b/gtk2_ardour/sfdb_ui.h index 4a4bdf9c7d..45ee3e9b64 100644 --- a/gtk2_ardour/sfdb_ui.h +++ b/gtk2_ardour/sfdb_ui.h @@ -26,6 +26,7 @@ #include +#include #include #include #include @@ -36,6 +37,11 @@ #include #include #include +#include +#include +#include +#include + #include "ardour/audiofilesource.h" #include "ardour/session_handle.h" @@ -130,7 +136,7 @@ class SoundFileBrowser : public ArdourDialog FreesoundColumns freesound_list_columns; Glib::RefPtr freesound_list; - Gtk::ProgressBar progress_bar; + Gtk::Button freesound_stop_btn; public: SoundFileBrowser (Gtk::Window& parent, std::string title, ARDOUR::Session* _s, bool persistent); @@ -155,6 +161,9 @@ class SoundFileBrowser : public ArdourDialog Gtk::Button freesound_search_btn; Gtk::TreeView freesound_list_view; + Gtk::ProgressBar progress_bar; + + bool freesound_stop; void freesound_search(); @@ -189,7 +198,8 @@ class SoundFileBrowser : public ArdourDialog void freesound_list_view_selected (); void freesound_list_view_activated (const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn*); void freesound_search_clicked (); - + void freesound_stop_clicked (); + void chooser_file_activated (); bool on_audio_filter (const Gtk::FileFilter::Info& filter_info); -- cgit v1.2.3