diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-11 17:25:52 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-11 17:26:42 +0100 |
commit | 361309d83f3ef3f755af372e0ef3fe3ab0a254df (patch) | |
tree | 37bac39125d548d1dcd0a5e4305ab88518503612 /gtk2_ardour/export_report.h | |
parent | 43603a98935b00f5cbf4082e15da19d2ba4ee9b5 (diff) |
allow to re-use export-report UI
(we should probably change the name to LoudnessReport)
Diffstat (limited to 'gtk2_ardour/export_report.h')
-rw-r--r-- | gtk2_ardour/export_report.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/export_report.h b/gtk2_ardour/export_report.h index 019b2f71c3..65339be701 100644 --- a/gtk2_ardour/export_report.h +++ b/gtk2_ardour/export_report.h @@ -186,9 +186,11 @@ class ExportReport : public ArdourDialog public: typedef boost::shared_ptr<ARDOUR::ExportStatus> StatusPtr; ExportReport (ARDOUR::Session*, StatusPtr); + ExportReport (const std::string & title, const ARDOUR::AnalysisResults & ar); int run (); private: + void init (const ARDOUR::AnalysisResults &, bool); void draw_waveform (Cairo::RefPtr<Cairo::ImageSurface>& wave, ARDOUR::ExportAnalysisPtr, uint32_t, int, size_t, int, int, bool, bool); @@ -203,7 +205,6 @@ private: void on_logscale_toggled (Gtk::ToggleButton*); void on_rectivied_toggled (Gtk::ToggleButton*); - StatusPtr status; Gtk::Notebook pages; ARDOUR::Session* _session; Gtk::Button* stop_btn; |