view flys-artifacts/doc/conf/themes.xml @ 1746:94faf08d143c

Added new theme attributes. flys-artifacts/trunk@3046 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 20 Oct 2011 13:29:54 +0000
parents 809acad6a320
children d2a17e990c70
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"/>
            <inherit from="Text"/>
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Farbe" default="200, 0, 15"/>
        </fields>
    </theme>

    <theme name="ComputedDischargeCurveW">
        <inherits>
            <inherit from="HiddenColorLines"/>
            <inherit from="Text"/>
        </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"/>
            <inherit from="AnnotationText"/>
        </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"/>
            <field name="showpoints" type="boolean" display="Datenpunkte anzeigen" default="false" 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"/>
            <field name="textstyle" type="Style" display="Schriftstil"     default="standard"/>
        </fields>
    </theme>


    <theme name="AnnotationText" type="virtual">
        <fields>
            <field name="textbackground"  type="Color"   display="Texthintergrund"      default="255, 255, 255"/>
            <field name="textorientation" type="boolean" display="Textausrichtung"      default="false"/>
            <field name="showbackground"  type="boolean" display="Hintergrund anzeigen" default="false"/>
        </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