Mercurial > dive4elements > river
diff flys-artifacts/doc/conf/second-themes.xml @ 4283:7140bb0f92b0
Added new themes for W and Q markers in Historical Discharge WQ charts.
ThemeUtil.parseLineColorField() will now use parseColor() to parse the color string.
This enables using hex colors in theme configs.
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 29 Oct 2012 06:54:48 +0100 |
parents | 5ebaa0a62d2c |
children | 005f35995468 |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/second-themes.xml Mon Oct 29 05:59:27 2012 +0100 +++ b/flys-artifacts/doc/conf/second-themes.xml Mon Oct 29 06:54:48 2012 +0100 @@ -72,6 +72,37 @@ </inherits> </theme> + <theme name="HistoricalDischargeWQW"> + <inherits> + <inherit from="DischargeCurve" /> + </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" + default="204, 204, 204" /> + <field name="showlines" type="boolean" display="Linie anzeigen" + default="true" hidden="true" /> + <field name="showpoints" type="boolean" display="Datenpunkte anzeigen" + default="false" hidden="true" /> + <field name="pointsize" type="int" display="Punktdicke" + default="5" hidden="true" /> + </fields> + </theme> + + <theme name="HistoricalDischargeWQQ"> + <inherits> + <inherit from="DischargeCurve" /> + </inherits> + <fields> + <field name="linecolor" type="Color" display="Linienfarbe" + default="104, 104, 104" /> + <field name="showlines" type="boolean" display="Linie anzeigen" + default="true" hidden="true" /> + <field name="showpoints" type="boolean" display="Datenpunkte anzeigen" + default="false" hidden="true" /> + <field name="pointsize" type="int" display="Punktdicke" + default="5" hidden="true" /> + </fields> + </theme> <!-- Discharge Longitudinal Section --> <theme name="LongitudinalSectionW">