projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
No-op; remove some namespace qualifiers.
[dcpomatic.git]
/
src
/
wx
/
audio_plot.cc
diff --git
a/src/wx/audio_plot.cc
b/src/wx/audio_plot.cc
index c19ba946a6c362efdf09adfa98b6442303ecac61..fe031aaac28aa5b8d095d6241206b74f0bbc4fb9 100644
(file)
--- a/
src/wx/audio_plot.cc
+++ b/
src/wx/audio_plot.cc
@@
-319,3
+319,13
@@
AudioPlot::get_point (int channel, int point) const
return p;
}
+
+/** @param n Channel index.
+ * @return Colour used by that channel in the plot.
+ */
+wxColour
+AudioPlot::colour (int n) const
+{
+ DCPOMATIC_ASSERT (n < int(_colours.size()));
+ return _colours[n];
+}