diff flys-artifacts/doc/conf/themes.xml @ 1143:eed81499b0d2

Added Themes for CrossSection diagrams. flys-artifacts/trunk@2665 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 07 Sep 2011 11:50:10 +0000
parents 0eb585cd3882
children 0dc274b5f4ba
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/themes.xml	Wed Sep 07 10:51:54 2011 +0000
+++ b/flys-artifacts/doc/conf/themes.xml	Wed Sep 07 11:50:10 2011 +0000
@@ -47,17 +47,46 @@
     </theme>
 
     <theme name="ComputedDischargeCurveQ">
+        <inherits>
+            <inherit from="HiddenColorLines"/>
+        </inherits>
         <fields>
             <field name="linecolor" type="Color" display="Farbe" default="200, 0, 15"/>
         </fields>
     </theme>
 
     <theme name="ComputedDischargeCurveW">
+        <inherits>
+            <inherit from="HiddenColorLines"/>
+        </inherits>
         <fields>
             <field name="linecolor" type="Color" display="Farbe" default="0, 215, 0"/>
         </fields>
     </theme>
 
+    <!--
+        Cross Sections
+    -->
+    <theme name="CrossSection">
+        <inherits>
+            <inherit from="HiddenColorLines"/>
+        </inherits>
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe" default="0,0,0"/>
+            <field name="linesize"  type="int"   display="Liniendicke" default="2" hints="h"/>
+        </fields>
+    </theme>
+
+    <theme name="CrossSectionWaterLine">
+        <inherits>
+            <inherit from="HiddenColorLines"/>
+        </inherits>
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe" default="150,150,150"/>
+            <field name="linesize"  type="int"   display="Liniendicke" default="1" hints="h"/>
+        </fields>
+    </theme>
+
 
     <!--
         Duration Curves
@@ -152,6 +181,8 @@
         <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/>
         <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/>
         <mapping from="discharge_curve.curve" to="DischargeCurve"/>
+        <mapping from="cross_section" to="CrossSection"/>
+        <mapping from="cross_section_water_line" to="CrossSectionWaterLine"/>
         <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve"/>
         <mapping from="duration_curve.w" to="DurationCurveW"/>
         <mapping from="duration_curve.q" to="DurationCurveQ"/>

http://dive4elements.wald.intevation.org