[Dive4elements-commits] [PATCH] Added themes for infoldings

Wald Commits scm-commit at wald.intevation.org
Mon Mar 4 12:19:33 CET 2013


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1362395961 -3600
# Node ID 8937dd13023066cfbe04636019c795bc7aa86ef1
# Parent  aa5b1e3c5af2c833e03eb0c63f82a76c22dfce12
Added themes for infoldings.

diff -r aa5b1e3c5af2 -r 8937dd130230 flys-artifacts/doc/conf/themes.xml
--- a/flys-artifacts/doc/conf/themes.xml	Mon Mar 04 11:56:28 2013 +0100
+++ b/flys-artifacts/doc/conf/themes.xml	Mon Mar 04 12:19:21 2013 +0100
@@ -173,6 +173,8 @@
         <mapping from="longitudinal_section.q" pattern="(NQ)(\D.*)*"
             to="LongitudinalSectionQ_NQ" />
         <mapping from="longitudinal_section.q" to="LongitudinalSection" />
+        <mapping from="discharge_longitudinal_section.q.infolding" to="LongitudinalSectionQInfolding" />
+        <mapping from="discharge_longitudinal_section.q.cutting" to="LongitudinalSectionQInfoldCut" />
 
         <mapping from="discharge_curve.curve" to="DischargeCurve" />
         <mapping from="historical_discharge.historicalq" to="HistoricalDischargeCurveQ" />
diff -r aa5b1e3c5af2 -r 8937dd130230 flys-artifacts/doc/conf/themes/default/longitudinal-section.xml
--- a/flys-artifacts/doc/conf/themes/default/longitudinal-section.xml	Mon Mar 04 11:56:28 2013 +0100
+++ b/flys-artifacts/doc/conf/themes/default/longitudinal-section.xml	Mon Mar 04 12:19:21 2013 +0100
@@ -656,6 +656,26 @@
         </fields>
     </theme>
 
+    <theme name="LongitudinalSectionQInfoldCut">
+        <inherits>
+            <inherit from="LongitudinalSection" />
+        </inherits>
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="102, 102, 102" />
+        </fields>
+    </theme>
+
+    <theme name="LongitudinalSectionQInfolding">
+        <inherits>
+            <inherit from="LongitudinalSection" />
+        </inherits>
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="51, 51, 51" />
+        </fields>
+    </theme>
+
     <!-- MIDDLE BED HEIGHT -->
     <theme name="MiddleBedHeightSingle">
         <inherits>


More information about the Dive4elements-commits mailing list