comparison flys-artifacts/doc/conf/default-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
79 </fields> 79 </fields>
80 </theme> 80 </theme>
81 81
82 <theme name="HistoricalDischargeWQCurve"> 82 <theme name="HistoricalDischargeWQCurve">
83 <inherits> 83 <inherits>
84 <inherit from="DischargeCurve" /> 84 <inherit from="HiddenColorLines" />
85 </inherits> 85 </inherits>
86 <fields> 86 <fields>
87 <field name="linecolor" type="Color" display="Linienfarbe" 87 <field name="linecolor" type="Color" display="Linienfarbe"
88 default="0, 0, 204" /> 88 default="0, 0, 204" />
89 </fields>
90 </theme>
91
92 <theme name="HistoricalDischargeWQW">
93 <inherits>
94 <inherit from="HiddenColorLines" />
95 </inherits>
96 <fields>
97 <field name="linecolor" type="Color" display="Linienfarbe"
98 default="#0000FF" />
99 <field name="showlines" type="boolean" display="Linie anzeigen"
100 default="true" hidden="true" />
101 <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
102 default="false" hidden="true" />
103 <field name="pointsize" type="int" display="Punktdicke"
104 default="5" hidden="true" />
105 </fields>
106 </theme>
107
108 <theme name="HistoricalDischargeWQQ">
109 <inherits>
110 <inherit from="HiddenColorLines" />
111 </inherits>
112 <fields>
113 <field name="linecolor" type="Color" display="Linienfarbe"
114 default="204, 204, 204" />
115 <field name="showlines" type="boolean" display="Linie anzeigen"
116 default="true" hidden="true" />
117 <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
118 default="false" hidden="true" />
119 <field name="pointsize" type="int" display="Punktdicke"
120 default="5" hidden="true" />
89 </fields> 121 </fields>
90 </theme> 122 </theme>
91 123
92 124
93 <!-- Discharge Longitudinal Section --> 125 <!-- Discharge Longitudinal Section -->

http://dive4elements.wald.intevation.org