diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-18 18:43:43 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-18 18:43:43 +0000 |
commit | 577469a06aa48310ec5cd9a6428f32c35fca5fcb (patch) | |
tree | 9ac07e8d8155025a978e97b675db257afc8b21ca /gtk2_ardour/sfdb_ui.h | |
parent | 759f1216afa4487441106d3b2c17e47651f57d11 (diff) |
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
Diffstat (limited to 'gtk2_ardour/sfdb_ui.h')
-rw-r--r-- | gtk2_ardour/sfdb_ui.h | 14 |
1 files changed, 12 insertions, 2 deletions
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 <sigc++/signal.h> +#include <gtkmm/stock.h> #include <gtkmm/box.h> #include <gtkmm/button.h> #include <gtkmm/checkbutton.h> @@ -36,6 +37,11 @@ #include <gtkmm/frame.h> #include <gtkmm/label.h> #include <gtkmm/textview.h> +#include <gtkmm/table.h> +#include <gtkmm/liststore.h> +#include <gtkmm/spinbutton.h> +#include <gtkmm/notebook.h> + #include "ardour/audiofilesource.h" #include "ardour/session_handle.h" @@ -130,7 +136,7 @@ class SoundFileBrowser : public ArdourDialog FreesoundColumns freesound_list_columns; Glib::RefPtr<Gtk::ListStore> 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); |