diff layer/TimeInstantLayer.cpp @ 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 37b110168acf
children 8f5b812baaee
line wrap: on
line diff
--- a/layer/TimeInstantLayer.cpp	Thu Jan 12 13:45:27 2006 +0000
+++ b/layer/TimeInstantLayer.cpp	Thu Jan 12 17:19:08 2006 +0000
@@ -298,6 +298,12 @@
     }
 }
 
+QString
+TimeInstantLayer::toXmlString(QString indent, QString extraAttributes) const
+{
+    return Layer::toXmlString(indent, extraAttributes +
+			      QString(" colour=\"%1\"").arg(encodeColour(m_colour)));
+}
 
 #ifdef INCLUDE_MOCFILES
 #include "TimeInstantLayer.moc.cpp"