summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_fx_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-01-24 17:04:15 +0000
committerCarl Hetherington <carl@carlh.net>2012-01-24 17:04:15 +0000
commitddd162bdb050558f93222800ebd57d737f2c9e0d (patch)
tree6b2f9e0f9a5f7f9c4aa9f9d44163e8aabe59980a /gtk2_ardour/time_fx_dialog.h
parentf3624c18748f2a07d6be16558ce069e6f1366569 (diff)
Make time stretch respect edit groups (#4615).
git-svn-id: svn://localhost/ardour2/branches/3.0@11334 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_fx_dialog.h')
-rw-r--r--gtk2_ardour/time_fx_dialog.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/time_fx_dialog.h b/gtk2_ardour/time_fx_dialog.h
index aee9d40b16..20b0538a7f 100644
--- a/gtk2_ardour/time_fx_dialog.h
+++ b/gtk2_ardour/time_fx_dialog.h
@@ -24,10 +24,13 @@
#include "ardour_dialog.h"
#include "region_selection.h"
+#include "progress_reporter.h"
class Editor;
-struct TimeFXDialog : public ArdourDialog {
+class TimeFXDialog : public ArdourDialog, public ProgressReporter
+{
+public:
ARDOUR::TimeFXRequest request;
Editor& editor;
bool pitching;
@@ -58,11 +61,14 @@ struct TimeFXDialog : public ArdourDialog {
TimeFXDialog (Editor& e, bool for_pitch);
- gint update_progress ();
sigc::connection first_cancel;
sigc::connection first_delete;
void cancel_in_progress ();
gint delete_in_progress (GdkEventAny*);
+
+private:
+
+ void update_progress_gui (float);
};
#endif /* __ardour_time_fx_dialog_h__ */