changeset 6561:d0a59a2e902f

issue1312: Bring back auto-coloring to FixPoints.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 11 Jul 2013 11:21:32 +0200
parents 767b51f8fa9c
children 4f67b9ceb9e2
files artifacts/doc/conf/themes/default.xml artifacts/doc/conf/themes/second.xml artifacts/doc/conf/themes/virtual.xml
diffstat 3 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/doc/conf/themes/default.xml	Thu Jul 11 10:24:32 2013 +0200
+++ b/artifacts/doc/conf/themes/default.xml	Thu Jul 11 11:21:32 2013 +0200
@@ -1399,12 +1399,14 @@
 
     <theme name="FixPoints">
         <inherits>
-            <inherit from="Points" />
+            <inherit from="ColorfulPoints" />
             <inherit from="Label" />
         </inherits>
         <fields>
             <field name="pointsize" type="int" display="Punktdicke"
                 default="3" />
+            <field name="showpointlabel" type="boolean"
+                display="Beschriftung anzeigen" default="true" hints="hidden" />
         </fields>
     </theme>
 
--- a/artifacts/doc/conf/themes/second.xml	Thu Jul 11 10:24:32 2013 +0200
+++ b/artifacts/doc/conf/themes/second.xml	Thu Jul 11 11:21:32 2013 +0200
@@ -1399,12 +1399,14 @@
 
     <theme name="FixPoints">
         <inherits>
-            <inherit from="Points" />
+            <inherit from="ColorfulPoints" />
             <inherit from="Label" />
         </inherits>
         <fields>
             <field name="pointsize" type="int" display="Punktdicke"
                 default="3" />
+            <field name="showpointlabel" type="boolean"
+                display="Beschriftung anzeigen" default="true" hints="hidden" />
         </fields>
     </theme>
 
--- a/artifacts/doc/conf/themes/virtual.xml	Thu Jul 11 10:24:32 2013 +0200
+++ b/artifacts/doc/conf/themes/virtual.xml	Thu Jul 11 11:21:32 2013 +0200
@@ -30,6 +30,17 @@
         </fields>
     </theme>
 
+    <theme name="ColorfulPoints" type="virtual">
+        <fields>
+            <field name="showpoints" type="boolean" display="Punkte anzeigen"
+                default="true" />
+            <field name="pointsize" type="int" display="Punktdicke"
+                default="5" />
+            <field name="showpointlabel" type="boolean"
+                display="Punktbeschriftung anzeigen" default="false"/>
+        </fields>
+    </theme>
+
     <theme name="Label" type="virtual">
         <fields>
             <field name="labelfontface" type="Font"

http://dive4elements.wald.intevation.org