diff layer/Colour3DPlotLayer.h @ 1103:d84a0033b305 spectrogram-minor-refactor

Turn BinDisplay and BinScale into enum classes
author Chris Cannam
date Thu, 14 Jul 2016 15:13:37 +0100
parents 1364cbf4453d
children 46cc4644206d
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h	Wed Jul 13 13:44:11 2016 +0100
+++ b/layer/Colour3DPlotLayer.h	Thu Jul 14 15:13:37 2016 +0100
@@ -106,8 +106,8 @@
     /**
      * Specify the scale for the y axis.
      */
-    void setBinScale(Colour3DPlotRenderer::BinScale);
-    Colour3DPlotRenderer::BinScale getBinScale() const;
+    void setBinScale(BinScale);
+    BinScale getBinScale() const;
 
     /**
      * Specify the normalization mode for bin values.
@@ -161,7 +161,7 @@
     bool        m_colourScaleSet;
     int         m_colourMap;
     float       m_gain;
-    Colour3DPlotRenderer::BinScale m_binScale;
+    BinScale m_binScale;
     ColumnOp::Normalization m_normalization;
     bool        m_invertVertical;
     bool        m_opaque;