view flys-artifacts/doc/conf/themes.xml @ 1731:37606f0ddc1e

Also display the 'zus' in wdiff-input datacage. flys-artifacts/trunk@3016 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 18 Oct 2011 15:22:33 +0000
parents 4a245ad0ac17
children 809acad6a320
line wrap: on
line source
<themes>

    <!-- Concrete themes are following now! -->
    <theme name="DischargeCurve">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 153"/>
            <field name="linesize"  type="int"   display="Liniendicke" default="2" hints="h"/>
        </fields>
    </theme>

    <!--
        Discharge Longitudinal Section
    -->
    <theme name="LongitudinalSectionW">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
        </fields>
    </theme>

    <theme name="LongitudinalSectionQ">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
        </fields>
    </theme>


    <!--
        Computed Discharge Curves
    -->
    <theme name="ComputedDischargeCurve">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 153"/>
            <field name="linesize"  type="int"   display="Liniendicke" default="2" hints="h"/>
        </fields>
    </theme>

    <theme name="ComputedDischargeCurveQ">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Farbe" default="200, 0, 15"/>
        </fields>
    </theme>

    <theme name="ComputedDischargeCurveW">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Farbe" default="0, 215, 0"/>
        </fields>
    </theme>

    <!--
        Cross Sections
    -->
    <theme name="CrossSection">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0,0,0"/>
            <field name="linesize"  type="int"   display="Liniendicke" default="1" hints="h"/>
        </fields>
    </theme>

    <theme name="CrossSectionWaterLine">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0,0,153"/>
            <field name="linesize"  type="int"   display="Liniendicke" default="1" hints="h"/>
        </fields>
    </theme>


    <!--
        Duration Curves
    -->
    <theme name="DurationCurveW">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0,51,204"/>
            <field name="linesize"  type="int"   display="Liniendicke" default="2" hints="h"/>
        </fields>
    </theme>

    <theme name="DurationCurveQ">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0,204,0"/>
            <field name="linesize"  type="int"   display="Liniendicke" default="2" hints="h"/>
        </fields>
    </theme>


    <!--
        Discharge Longitudinal Section
    -->
    <theme name="DischargeLongitudinalSectionW">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
        </fields>
    </theme>


    <theme name="DischargeLongitudinalSectionC">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0 , 0"/>
        </fields>
    </theme>

    <theme name="DischargeLongitudinalSectionQ">
        <inherits>
            <inherit from="HiddenColorLines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="204, 204, 204"/>
        </fields>
    </theme>


    <!-- Annotations -->
    <theme name="Annotations">
        <inherits>
            <inherit from="HiddenColorLines"/>
            <inherit from="Text"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/>
        </fields>
    </theme>


    <!-- Virtual themes are following now! -->
    <theme name="Lines" type="virtual">
        <fields>
            <field name="showlines" type="boolean" display="Linie anzeigen" default="true"/>
            <field name="linesize"  type="int"     display="Liniendicke"    default="1"/>
            <field name="linetype"  type="Dash"    display="Linienart"      default="10"/>
        </fields>
    </theme>

    <theme name="ColorLines" type="virtual">
        <inherits>
            <inherit from="Lines"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe" default="Color.BLACK"/>
        </fields>
    </theme>

    <theme name="HiddenColorLines" type="virtual">
        <inherits>
            <inherit from="ColorLines"/>
        </inherits>
        <fields>
            <field name="showlines" type="boolean" display="Linie anzeigen" default="true"        hints="h"/>
            <field name="linesize"  type="int"     display="Liniendicke"    default="1"           hints="h"/>
            <field name="linetype"  type="Dash"    display="Linienart"      default="10"  hints="h"/>
        </fields>
    </theme>

    <theme name="Text" type="virtual">
        <fields>
            <field name="font" type="Font" display="Schriftart" default="arial"/>
            <field name="textcolor" type="Color" display="Schriftfarbe" default="0, 0, 0"/>
            <field name="textsize" type="int" display="Schriftgröße" default="10"/>
        </fields>
    </theme>


    <!-- Mappings are following now. A mapping maps between a name of a facet
         and a theme. -->
    <mappings>
        <mapping from="longitudinal_section.w" to="LongitudinalSectionW"/>
        <mapping from="longitudinal_section.q" to="LongitudinalSectionQ"/>
        <mapping from="discharge_curve.curve" to="DischargeCurve"/>
        <mapping from="cross_section" to="CrossSection"/>
        <mapping from="cross_section_water_line" to="CrossSectionWaterLine"/>
        <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve"/>
        <mapping from="duration_curve.w" to="DurationCurveW"/>
        <mapping from="duration_curve.q" to="DurationCurveQ"/>
        <mapping from="discharge_longitudinal_section.w" to="DischargeLongitudinalSectionW"/>
        <mapping from="discharge_longitudinal_section.c" to="DischargeLongitudinalSectionC"/>
        <mapping from="discharge_longitudinal_section.q" to="DischargeLongitudinalSectionQ"/>
        <mapping from="computed_discharge_curve.mainvalues.q" to="ComputedDischargeCurveQ"/>
        <mapping from="computed_discharge_curve.mainvalues.w" to="ComputedDischargeCurveW"/>
        <mapping from="longitudinal_section.annotations" to="Annotations"/>
    </mappings>
</themes>

http://dive4elements.wald.intevation.org