diff artifacts/doc/conf/themes/default.xml @ 8886:cc86b0f9b3c3

SINFO-FlowDepth - work on tkh themes
author gernotbelger
date Wed, 14 Feb 2018 18:10:53 +0100
parents 7a8c12706834
children be0220889e1f
line wrap: on
line diff
--- a/artifacts/doc/conf/themes/default.xml	Wed Feb 14 18:10:28 2018 +0100
+++ b/artifacts/doc/conf/themes/default.xml	Wed Feb 14 18:10:53 2018 +0100
@@ -143,12 +143,16 @@
             <inherit from="Areas" />
         </inherits>
         <fields>
+            <!-- 'areashowbg': no code exits that reads it... -->
             <field name="areashowbg" type="boolean" display="Hintergrund anzeigen"
                 default="true" hints="hidden" />
+            <!-- FIXME: "areashowborder" does not exist, the constant in ThemeDocument is 'showborder" -->
             <field name="areashowborder" type="boolean" display="Begrenzung"
                 default="false" hints="hidden" />
+            <!-- 'areabordercolor' is not used in the code... -->
             <field name="areabordercolor" type="Color" default="0, 0, 0"
                 display="Begrenzungslinienfarbe" hints="hidden" />
+            <!-- 'showarea' is not used in the code... -->
             <field name="showarea" type="boolean" display="Flaeche anzeigen"
               default="true" hints="hidden" />
             <field name="showarealabel" type="boolean"
@@ -2879,8 +2883,7 @@
             <inherit from="LongitudinalSection" />
         </inherits>
         <fields>
-            <field name="linecolor" type="Color" display="Linienfarbe"
-                default="0, 0, 255" />
+            <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 255" />
         </fields>
     </theme>
     <theme name="SInfoFlowDepthTkh">
@@ -2888,17 +2891,24 @@
             <inherit from="LongitudinalSection" />
         </inherits>
         <fields>
-            <field name="linecolor" type="Color" display="Linienfarbe"
-                default="0, 0, 128" />
+            <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 128" />
         </fields>
     </theme>
     <theme name="SInfoTkh">
         <inherits>
-            <inherit from="LongitudinalSection" />
+            <inherit from="LongitudinalSectionArea" />
         </inherits>
         <fields>
-            <field name="linecolor" type="Color" display="Linienfarbe"
-                default="128, 0, 128" />
+            <field name="calculateRange" type="boolean" display="Ausdehnung berechnen" default="true" hints="hidden" />
+            
+            <field name="showborder" type="boolean" display="Begrenzung" default="true" hints="hidden" />
+            <field name="linecolor" type="Color" display="Linienfarbe" default="241, 195, 155" />
+            <field name="linesize" type="int" display="Liniendicke" default="2"/>
+            
+            <field name="areabgcolor" type="Color" default="241, 195, 155" display="FĂĽllfarbe" />            
+            <field name="areatransparency" type="int" default="85"  />
+            
+            <field name="showarealabel" type="boolean" display="Flächenbeschriftung anzeigen" default="false" hint="hidden"/>
         </fields>
     </theme>
 </themegroup>

http://dive4elements.wald.intevation.org