comparison 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
comparison
equal deleted inserted replaced
4282:8b4988815974 4283:7140bb0f92b0
70 <inherits> 70 <inherits>
71 <inherit from="DischargeCurve" /> 71 <inherit from="DischargeCurve" />
72 </inherits> 72 </inherits>
73 </theme> 73 </theme>
74 74
75 <theme name="HistoricalDischargeWQW">
76 <inherits>
77 <inherit from="DischargeCurve" />
78 </inherits>
79 <fields>
80 <field name="linecolor" type="Color" display="Linienfarbe"
81 default="204, 204, 204" />
82 <field name="showlines" type="boolean" display="Linie anzeigen"
83 default="true" hidden="true" />
84 <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
85 default="false" hidden="true" />
86 <field name="pointsize" type="int" display="Punktdicke"
87 default="5" hidden="true" />
88 </fields>
89 </theme>
90
91 <theme name="HistoricalDischargeWQQ">
92 <inherits>
93 <inherit from="DischargeCurve" />
94 </inherits>
95 <fields>
96 <field name="linecolor" type="Color" display="Linienfarbe"
97 default="104, 104, 104" />
98 <field name="showlines" type="boolean" display="Linie anzeigen"
99 default="true" hidden="true" />
100 <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
101 default="false" hidden="true" />
102 <field name="pointsize" type="int" display="Punktdicke"
103 default="5" hidden="true" />
104 </fields>
105 </theme>
75 106
76 <!-- Discharge Longitudinal Section --> 107 <!-- Discharge Longitudinal Section -->
77 <theme name="LongitudinalSectionW"> 108 <theme name="LongitudinalSectionW">
78 <inherits> 109 <inherits>
79 <inherit from="HiddenColorLines" /> 110 <inherit from="HiddenColorLines" />

http://dive4elements.wald.intevation.org