projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55c007a
)
Use anti-aliasing in the audio level plot.
author
Carl Hetherington
<cth@carlh.net>
Thu, 15 Apr 2021 21:51:21 +0000
(23:51 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 15 Apr 2021 23:11:04 +0000
(
01:11
+0200)
src/wx/audio_plot.cc
patch
|
blob
|
history
diff --git
a/src/wx/audio_plot.cc
b/src/wx/audio_plot.cc
index f25ae4cb64cb1c8517c13605aa15181971778677..7c9dae6a557c9061ea7fa1006af3a088b6679aaa 100644
(file)
--- a/
src/wx/audio_plot.cc
+++ b/
src/wx/audio_plot.cc
@@
-160,6
+160,8
@@
AudioPlot::paint ()
return;
}
+ gc->SetAntialiasMode (wxANTIALIAS_DEFAULT);
+
if (!_analysis || _analysis->channels() == 0) {
gc->SetFont (gc->CreateFont (*wxNORMAL_FONT));
gc->DrawText (_message, 32, 32);