diff layer/TimeValueLayer.h @ 6:02aaea1ffaf7

* Beginnings of session save code * Add spline curve mode to time value layer
author Chris Cannam
date Thu, 12 Jan 2006 17:19:08 +0000
parents 7af44e8578c8
children 2d5005f2b3d9
line wrap: on
line diff
--- a/layer/TimeValueLayer.h	Thu Jan 12 13:45:27 2006 +0000
+++ b/layer/TimeValueLayer.h	Thu Jan 12 17:19:08 2006 +0000
@@ -45,7 +45,7 @@
     void setBaseColour(QColor);
     QColor getBaseColour() const { return m_colour; }
 
-    enum PlotStyle { PlotPoints, PlotStems, PlotLines, PlotCurve };
+    enum PlotStyle { PlotPoints, PlotStems, PlotConnectedPoints, PlotLines, PlotCurve };
 
     void setPlotStyle(PlotStyle style);
     PlotStyle getPlotStyle() const { return m_plotStyle; }
@@ -56,6 +56,9 @@
 
     virtual int getCompletion() const { return m_model->getCompletion(); }
 
+    virtual QString toXmlString(QString indent = "",
+				QString extraAttributes = "") const;
+
 protected:
     SparseTimeValueModel::PointList getLocalPoints(int) const;