projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ecc37
)
Time label.
author
Carl Hetherington
<cth@carlh.net>
Mon, 25 Feb 2013 22:30:13 +0000
(22:30 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 25 Feb 2013 22:30:13 +0000
(22:30 +0000)
src/wx/audio_plot.cc
patch
|
blob
|
history
diff --git
a/src/wx/audio_plot.cc
b/src/wx/audio_plot.cc
index 693e11a61f408761bb1edc05170dab4c36a00798..8d5184d48133142d7988716207a928c1bccb87b4 100644
(file)
--- 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;