summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.h
diff options
context:
space:
mode:
authorBen Loftis <ben@glw.com>2012-04-05 21:31:55 +0000
committerBen Loftis <ben@glw.com>2012-04-05 21:31:55 +0000
commit164db566b0c1c367eb2eeb35f8404ee4dfefe823 (patch)
tree6506619f2c48e2bd107bf19ecfaa4b045ca7c17d /gtk2_ardour/sfdb_ui.h
parent49240fe7c5fef9b7830bafd2430f9143105a6f69 (diff)
various tweaks to Freesound UI and code. keep a single mootcher to speed up operations; add text to progress bar, stop storing xml files, auto-increment pages until user clicks stop.
git-svn-id: svn://localhost/ardour2/branches/3.0@11801 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.h')
-rw-r--r--gtk2_ardour/sfdb_ui.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/sfdb_ui.h b/gtk2_ardour/sfdb_ui.h
index 7ec544baf1..f497477866 100644
--- a/gtk2_ardour/sfdb_ui.h
+++ b/gtk2_ardour/sfdb_ui.h
@@ -55,6 +55,7 @@ namespace ARDOUR {
};
class GainMeter;
+class Mootcher;
class SoundFileBox : public Gtk::VBox, public ARDOUR::SessionHandlePtr
{
@@ -167,11 +168,16 @@ class SoundFileBrowser : public ArdourDialog
Gtk::Button freesound_search_btn;
Gtk::TreeView freesound_list_view;
- Gtk::ProgressBar progress_bar;
+ Gtk::ProgressBar freesound_progress_bar;
- bool freesound_stop;
+ bool freesound_search_cancel;
+ bool freesound_download_cancel;
void freesound_search();
+
+#ifdef FREESOUND
+ Mootcher *mootcher;
+#endif
protected:
bool resetting_ourselves;