# HG changeset patch # User insilmaril # Date 1178119878 0 # Node ID 2974ab561436c494f7265e4ec2b64993bf83a0e7 # Parent 01a0e82280f90f358afbf7182e9d7c230a82ff91 Mainly documentation fixes diff -r 01a0e82280f9 -r 2974ab561436 demos/todo.vym Binary file demos/todo.vym has changed diff -r 01a0e82280f9 -r 2974ab561436 xml.cpp --- a/xml.cpp Wed May 02 15:31:17 2007 +0000 +++ b/xml.cpp Wed May 02 15:31:18 2007 +0000 @@ -422,6 +422,8 @@ bool mapBuilderHandler::readFrameAttr (const QXmlAttributes& a) { + bool ok; + int x; if (lastOO) { if (!a.value( "frameType").isEmpty() ) @@ -430,6 +432,16 @@ lastOO->setFramePenColor (a.value("penColor")); if (!a.value( "brushColor").isEmpty() ) lastOO->setFrameBrushColor (a.value("brushColor")); + if (!a.value( "padding").isEmpty() ) + { + x=a.value("padding").toInt(&ok); + if (ok) lastOO->setFramePadding(x); + } + if (!a.value( "borderWidth").isEmpty() ) + { + x=a.value("borderWidth").toInt(&ok); + if (ok) lastOO->setFrameBorderWidth(x); + } } return true; }