summaryrefslogtreecommitdiff
path: root/src/wx/audio_plot.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-25 11:38:15 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-25 11:38:15 +0100
commit45a523803b72cf132b44b6feec543e3587becf3a (patch)
tree336aea4db3519643299b3552e524f4c1b74814b2 /src/wx/audio_plot.h
parent8b05d71534e5e27ef4514af781a9e9d1259e7c03 (diff)
Prevent infinite loop of audio analysis if it is cancelled.
Diffstat (limited to 'src/wx/audio_plot.h')
-rw-r--r--src/wx/audio_plot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/audio_plot.h b/src/wx/audio_plot.h
index 82f589f6f..5605f94a5 100644
--- a/src/wx/audio_plot.h
+++ b/src/wx/audio_plot.h
@@ -33,6 +33,7 @@ public:
void set_type_visible (int t, bool v);
void set_gain (float);
void set_smoothing (int);
+ void set_message (wxString);
static const int max_smoothing;
@@ -57,5 +58,7 @@ private:
float _x_scale;
float _y_scale;
+ wxString _message;
+
static const int _minimum;
};