diff layer/TimeRulerLayer.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/TimeRulerLayer.cpp	Thu Jan 12 13:45:27 2006 +0000
+++ b/layer/TimeRulerLayer.cpp	Thu Jan 12 17:19:08 2006 +0000
@@ -281,6 +281,13 @@
     paint.restore();
 }
     
+QString
+TimeRulerLayer::toXmlString(QString indent, QString extraAttributes) const
+{
+    return Layer::toXmlString(indent, extraAttributes +
+			      QString(" colour=\"%1\"").arg(encodeColour(m_colour)));
+}
+
 
 #ifdef INCLUDE_MOCFILES
 #include "TimeRulerLayer.moc.cpp"