Mainly documentation fixes
authorinsilmaril
Wed May 02 15:31:18 2007 +0000 (2007-05-02)
changeset 4842974ab561436
parent 483 01a0e82280f9
child 485 aff86e2f2a4a
Mainly documentation fixes
demos/todo.vym
xml.cpp
     1.1 Binary file demos/todo.vym has changed
     2.1 --- a/xml.cpp	Wed May 02 15:31:17 2007 +0000
     2.2 +++ b/xml.cpp	Wed May 02 15:31:18 2007 +0000
     2.3 @@ -422,6 +422,8 @@
     2.4  
     2.5  bool mapBuilderHandler::readFrameAttr (const QXmlAttributes& a)
     2.6  {
     2.7 +	bool ok;
     2.8 +	int x;
     2.9  	if (lastOO)
    2.10  	{
    2.11  		if (!a.value( "frameType").isEmpty() ) 
    2.12 @@ -430,6 +432,16 @@
    2.13  			lastOO->setFramePenColor (a.value("penColor"));
    2.14  		if (!a.value( "brushColor").isEmpty() ) 
    2.15  			lastOO->setFrameBrushColor (a.value("brushColor"));
    2.16 +		if (!a.value( "padding").isEmpty() ) 
    2.17 +		{
    2.18 +			x=a.value("padding").toInt(&ok);
    2.19 +			if (ok) lastOO->setFramePadding(x);
    2.20 +		}	
    2.21 +		if (!a.value( "borderWidth").isEmpty() ) 
    2.22 +		{
    2.23 +			x=a.value("borderWidth").toInt(&ok);
    2.24 +			if (ok) lastOO->setFrameBorderWidth(x);
    2.25 +		}	
    2.26  	}		
    2.27  	return true;
    2.28  }