[Dive4elements-commits] [PATCH] Defined themes (default and second group) for discharge curves in historical discharge wq chart

Wald Commits scm-commit at wald.intevation.org
Thu Oct 25 13:42:27 CEST 2012


# HG changeset patch
# User Ingo Weinzierl <weinzierl.ingo at googlemail.com>
# Date 1351165341 -7200
# Node ID 5ebaa0a62d2c49dbe19e74df76d2a2bd067bfb9e
# Parent  95d2002f6e2c87845791a4c5209216a286d7d017
Defined themes (default and second group) for discharge curves in historical discharge wq chart.

diff -r 95d2002f6e2c -r 5ebaa0a62d2c flys-artifacts/doc/conf/default-themes.xml
--- a/flys-artifacts/doc/conf/default-themes.xml	Thu Oct 25 13:37:15 2012 +0200
+++ b/flys-artifacts/doc/conf/default-themes.xml	Thu Oct 25 13:42:21 2012 +0200
@@ -79,6 +79,16 @@
         </fields>
     </theme>
 
+    <theme name="HistoricalDischargeWQCurve">
+        <inherits>
+            <inherit from="DischargeCurve" />
+        </inherits>
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="0, 0, 204" />
+        </fields>
+    </theme>
+
 
     <!-- Discharge Longitudinal Section -->
     <theme name="LongitudinalSectionW">
diff -r 95d2002f6e2c -r 5ebaa0a62d2c flys-artifacts/doc/conf/second-themes.xml
--- a/flys-artifacts/doc/conf/second-themes.xml	Thu Oct 25 13:37:15 2012 +0200
+++ b/flys-artifacts/doc/conf/second-themes.xml	Thu Oct 25 13:42:21 2012 +0200
@@ -66,6 +66,12 @@
         </fields>
     </theme>
 
+    <theme name="HistoricalDischargeWQCurve">
+        <inherits>
+            <inherit from="DischargeCurve" />
+        </inherits>
+    </theme>
+
 
     <!-- Discharge Longitudinal Section -->
     <theme name="LongitudinalSectionW">
diff -r 95d2002f6e2c -r 5ebaa0a62d2c flys-artifacts/doc/conf/themes.xml
--- a/flys-artifacts/doc/conf/themes.xml	Thu Oct 25 13:37:15 2012 +0200
+++ b/flys-artifacts/doc/conf/themes.xml	Thu Oct 25 13:42:21 2012 +0200
@@ -132,6 +132,7 @@
 		<mapping from="historical_discharge.historicalq.diff" to="HistoricalDischargeCurveQDiff" />
 		<mapping from="historical_discharge.historicalw" to="HistoricalDischargeCurveW" />
 		<mapping from="historical_discharge.historicalw.diff" to="HistoricalDischargeCurveWDiff" />
+		<mapping from="historical_discharge.wq.curve" to="HistoricalDischargeWQCurve" />
 		<mapping from="cross_section" to="CrossSection" />
 		<mapping from="cross_section_water_line" to="CrossSectionWaterLine" />
 		<mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve" />


More information about the Dive4elements-commits mailing list