diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-02-25 22:30:13 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-02-25 22:30:13 +0000 |
| commit | cb4572c5c4b0a543d42b05a47c37d5db2dc44bb8 (patch) | |
| tree | 9e8c5f9ec2058661536f8ca2b06af558407ff7db /src | |
| parent | 67ecc371385beeed9cf5e245bf44d1487d4234c6 (diff) | |
Time label.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/audio_plot.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/audio_plot.cc b/src/wx/audio_plot.cc index 693e11a61..8d5184d48 100644 --- a/src/wx/audio_plot.cc +++ b/src/wx/audio_plot.cc @@ -130,9 +130,12 @@ AudioPlot::paint (wxPaintEvent &) grid.AddLineToPoint (db_label_width + data_width, y); gc->DrawText (std_to_wx (String::compose ("%1dB", i)), 0, y - (db_label_height / 2)); } + gc->SetPen (*wxLIGHT_GREY_PEN); gc->StrokePath (grid); + gc->DrawText (_("Time"), data_width, height - yo + db_label_height / 2); + for (int c = 0; c < MAX_AUDIO_CHANNELS; ++c) { if (!_channel_visible[c] || c >= _analysis->channels()) { continue; |
