summaryrefslogtreecommitdiff
path: root/src/wx/audio_plot.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-26 08:15:51 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-26 08:15:51 +0000
commit1fadfdf60bb2c02086c2c9689ea44c73bed41571 (patch)
tree2238c3bc011a545212e8a22f75d9af35cc300584 /src/wx/audio_plot.h
parent36fdb78ea9973d1a797171d762802e707577c960 (diff)
Pretty dumb smoothing.
Diffstat (limited to 'src/wx/audio_plot.h')
-rw-r--r--src/wx/audio_plot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/audio_plot.h b/src/wx/audio_plot.h
index 4ac7f848c..fe8862d54 100644
--- a/src/wx/audio_plot.h
+++ b/src/wx/audio_plot.h
@@ -32,6 +32,7 @@ public:
void set_channel_visible (int c, bool v);
void set_type_visible (int t, bool v);
void set_gain (float);
+ void set_smoothing (int);
private:
void paint (wxPaintEvent &);
@@ -41,6 +42,7 @@ private:
bool _type_visible[AudioPoint::COUNT];
/** gain to apply in dB */
float _gain;
+ int _smoothing;
std::vector<wxColour> _colours;