diff layer/TextLayer.cpp @ 18:d8e6709e9075

add - EasaierSessionManager - Easaier menus - Interval model
author lbajardsilogic
date Mon, 14 May 2007 13:13:14 +0000
parents fc9323a41f5a
children
line wrap: on
line diff
--- a/layer/TextLayer.cpp	Mon May 14 13:11:55 2007 +0000
+++ b/layer/TextLayer.cpp	Mon May 14 13:13:14 2007 +0000
@@ -764,6 +764,14 @@
 			      .arg(encodeColour(m_colour)));
 }
 
+QString
+TextLayer::toEasaierXmlString(QString indent, QString extraAttributes) const
+{
+    return Layer::toEasaierXmlString(indent, extraAttributes +
+			      QString(" colour=\"%1\"")
+			      .arg(encodeColour(m_colour)));
+}
+
 void
 TextLayer::setProperties(const QXmlAttributes &attributes)
 {