changeset 1730:4a245ad0ac17

Added new virtual theme for text and let 'Annotations' inherit from the new theme. flys-artifacts/trunk@3014 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 18 Oct 2011 15:17:11 +0000
parents 2e5ebdeb8af9
children 37606f0ddc1e
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/themes.xml
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Oct 18 15:00:43 2011 +0000
+++ b/flys-artifacts/ChangeLog	Tue Oct 18 15:17:11 2011 +0000
@@ -1,3 +1,9 @@
+2011-10-17  Raimund Renkert <raimund.renkert@intevation.de>
+
+	* doc/conf/themes.xml:
+	  Added new virtual theme for text with the attributes 'font', 'textcolor'
+	  and 'textsize'.
+
 2011-10-18  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Give StaticWKmsArtifacts proper names, and pre-deselect them.
--- a/flys-artifacts/doc/conf/themes.xml	Tue Oct 18 15:00:43 2011 +0000
+++ b/flys-artifacts/doc/conf/themes.xml	Tue Oct 18 15:17:11 2011 +0000
@@ -148,6 +148,7 @@
     <theme name="Annotations">
         <inherits>
             <inherit from="HiddenColorLines"/>
+            <inherit from="Text"/>
         </inherits>
         <fields>
             <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/>
@@ -184,6 +185,14 @@
         </fields>
     </theme>
 
+    <theme name="Text" type="virtual">
+        <fields>
+            <field name="font" type="Font" display="Schriftart" default="arial"/>
+            <field name="textcolor" type="Color" display="Schriftfarbe" default="0, 0, 0"/>
+            <field name="textsize" type="int" display="Schriftgröße" default="10"/>
+        </fields>
+    </theme>
+
 
     <!-- Mappings are following now. A mapping maps between a name of a facet
          and a theme. -->

http://dive4elements.wald.intevation.org