# HG changeset patch
# User insilmaril
# Date 1175333310 0
# Node ID fb97757e06c0cbbaf89581c419b6f1f85a8f6cae
# Parent  0a4b622d5dc30b2a2dd145cd1fa51fb64ffae4a2
1.8.70 Fixes in property window

diff -r 0a4b622d5dc3 -r fb97757e06c0 demos/liveform.vym
Binary file demos/liveform.vym has changed
diff -r 0a4b622d5dc3 -r fb97757e06c0 demos/todo.vym
Binary file demos/todo.vym has changed
diff -r 0a4b622d5dc3 -r fb97757e06c0 tex/vym.changelog
--- a/tex/vym.changelog	Sat Mar 31 09:28:27 2007 +0000
+++ b/tex/vym.changelog	Sat Mar 31 09:28:30 2007 +0000
@@ -1,3 +1,12 @@
+-------------------------------------------------------------------
+Sat Mar 31 10:59:55 CEST 2007 - uwe
+
+- Version: 1.8.70
+- Feature: Color of selection can be changed now
+- Feature: Pen and brush for frames can be set
+- Bugfix: For frames the links always were drawn at bottom of heading 
+- Bugfix: BranchPropertyWindow updates when selection is changed
+
 -------------------------------------------------------------------
 Mon Mar  6 22:10:26 CET 2007 - uwe
 
diff -r 0a4b622d5dc3 -r fb97757e06c0 xml.cpp
--- a/xml.cpp	Sat Mar 31 09:28:27 2007 +0000
+++ b/xml.cpp	Sat Mar 31 09:28:30 2007 +0000
@@ -94,6 +94,11 @@
 				col.setNamedColor(atts.value("backgroundColor"));
 				mc->getScene()->setBackgroundBrush(col);
 			}	    
+			if (!atts.value( "selectionColor").isEmpty() )
+			{
+				col.setNamedColor(atts.value("selectionColor"));
+				me->setSelectionColor(col);
+			}	    
 			if (!atts.value( "linkColorHint").isEmpty() ) 
 			{
 				if (atts.value("linkColorHint")=="HeadingColor")
@@ -396,7 +401,7 @@
 	if (!a.value( "scrolled").isEmpty() )
 		lastBranch->toggleScroll();
 	if (!a.value( "frameType").isEmpty() ) 
-		lastBranch->setFrameType (a.value("frameType"));
+		lastOO->setFrameType (a.value("frameType")); //Compatibility 1.8.1
 
 	if (!a.value( "incImgV").isEmpty() ) 
 	{	
@@ -421,6 +426,10 @@
 	{
 		if (!a.value( "frameType").isEmpty() ) 
 			lastOO->setFrameType (a.value("frameType"));
+		if (!a.value( "penColor").isEmpty() ) 
+			lastOO->setFramePenColor (a.value("penColor"));
+		if (!a.value( "brushColor").isEmpty() ) 
+			lastOO->setFrameBrushColor (a.value("brushColor"));
 	}		
 	return true;
 }