1.8.70 Fixes in property window
authorinsilmaril
Sat Mar 31 09:28:30 2007 +0000 (2007-03-31)
changeset 444fb97757e06c0
parent 443 0a4b622d5dc3
child 445 0796c5592f00
1.8.70 Fixes in property window
demos/liveform.vym
demos/todo.vym
tex/vym.changelog
xml.cpp
     1.1 Binary file demos/liveform.vym has changed
     2.1 Binary file demos/todo.vym has changed
     3.1 --- a/tex/vym.changelog	Sat Mar 31 09:28:27 2007 +0000
     3.2 +++ b/tex/vym.changelog	Sat Mar 31 09:28:30 2007 +0000
     3.3 @@ -1,3 +1,12 @@
     3.4 +-------------------------------------------------------------------
     3.5 +Sat Mar 31 10:59:55 CEST 2007 - uwe
     3.6 +
     3.7 +- Version: 1.8.70
     3.8 +- Feature: Color of selection can be changed now
     3.9 +- Feature: Pen and brush for frames can be set
    3.10 +- Bugfix: For frames the links always were drawn at bottom of heading 
    3.11 +- Bugfix: BranchPropertyWindow updates when selection is changed
    3.12 +
    3.13  -------------------------------------------------------------------
    3.14  Mon Mar  6 22:10:26 CET 2007 - uwe
    3.15  
     4.1 --- a/xml.cpp	Sat Mar 31 09:28:27 2007 +0000
     4.2 +++ b/xml.cpp	Sat Mar 31 09:28:30 2007 +0000
     4.3 @@ -94,6 +94,11 @@
     4.4  				col.setNamedColor(atts.value("backgroundColor"));
     4.5  				mc->getScene()->setBackgroundBrush(col);
     4.6  			}	    
     4.7 +			if (!atts.value( "selectionColor").isEmpty() )
     4.8 +			{
     4.9 +				col.setNamedColor(atts.value("selectionColor"));
    4.10 +				me->setSelectionColor(col);
    4.11 +			}	    
    4.12  			if (!atts.value( "linkColorHint").isEmpty() ) 
    4.13  			{
    4.14  				if (atts.value("linkColorHint")=="HeadingColor")
    4.15 @@ -396,7 +401,7 @@
    4.16  	if (!a.value( "scrolled").isEmpty() )
    4.17  		lastBranch->toggleScroll();
    4.18  	if (!a.value( "frameType").isEmpty() ) 
    4.19 -		lastBranch->setFrameType (a.value("frameType"));
    4.20 +		lastOO->setFrameType (a.value("frameType")); //Compatibility 1.8.1
    4.21  
    4.22  	if (!a.value( "incImgV").isEmpty() ) 
    4.23  	{	
    4.24 @@ -421,6 +426,10 @@
    4.25  	{
    4.26  		if (!a.value( "frameType").isEmpty() ) 
    4.27  			lastOO->setFrameType (a.value("frameType"));
    4.28 +		if (!a.value( "penColor").isEmpty() ) 
    4.29 +			lastOO->setFramePenColor (a.value("penColor"));
    4.30 +		if (!a.value( "brushColor").isEmpty() ) 
    4.31 +			lastOO->setFrameBrushColor (a.value("brushColor"));
    4.32  	}		
    4.33  	return true;
    4.34  }