view flys-artifacts/doc/conf/themes/default/general.xml @ 4768:99f9e371371b

Move distance calculation to Coordinate class. Use inheritance instead of composition in Anchor class. Made Anchor class static. Use epsilon equal comparision when checking for same station: Boy, do you ever learn that sharp equal comparison of doubles is not a clever idea!?
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 04 Jan 2013 15:35:51 +0100
parents dfac28805d79
children a8d8ea1f2a5c
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<!--themegroup name="default"-->
    <theme name="MainValuesQ">
        <inherits>
            <inherit from="Lines" />
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Farbe"
                default="200, 0, 15" />
            <field name="textorientation" type="boolean" display="Textausrichtung"
                default="true" />
            <field name="showlinelabel" type="boolean"
                display="Linienbeschriftung anzeigen" default="false" hints="hidden" />
        </fields>
    </theme>

    <theme name="MainValuesW">
        <inherits>
            <inherit from="Lines" />
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Farbe"
                default="0, 215, 0" />
            <field name="textorientation" type="boolean" display="Textausrichtung"
                default="true" />
            <field name="showlinelabel" type="boolean"
                display="Linienbeschriftung anzeigen" default="false" hints="hidden" />
        </fields>
    </theme>

    <theme name="RelativePoint">
        <inherits>
            <inherit from="Points" />
        </inherits>
    </theme>

    <theme name="Annotations">
        <inherits>
            <inherit from="Lines" />
            <inherit from="Points" />
            <inherit from="Text" />
        </inherits>
        <fields>
        </fields>
    </theme>

    <theme name="ManualPoints">
        <inherits>
            <inherit from="Points" />
            <inherit from="Label" />
        </inherits>
        <fields>
            <field name="pointsize" type="int" display="Punktdicke"
                default="3" hints="hidden" />
            <field name="textorientation" type="boolean" display="Textausrichtung"
                default="true" />
        </fields>
    </theme>

    <theme name="WKms">
        <inherits>
            <inherit from="Lines" />
            <inherit from="Points" />
            <inherit from="MinMaxPoints" />
        </inherits>
        <fields>
            <field name="showpoints" type="boolean" display="Punkte anzeigen"
                default="false" />
            <field name="showpointlabel" type="boolean"
                display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
            <field name="linecolor" type="Color" display="Linienfarbe"
                default="204, 204, 204" />
        </fields>
    </theme>

    <theme name="WKmsAnnotation">
        <inherits>
            <inherit from="Lines" />
            <inherit from="Label" />
        </inherits>
        <fields>
            <field name="linecolor" type="Color" display="Linienfarbe"
                default="204, 204, 204" />
            <field name="pointsize" type="int" display="Punktdicke"
                default="3" hints="h" />
        </fields>
    </theme>

    <theme name="WQKms">
        <inherits>
            <inherit from="Lines" />
            <inherit from="Points" />
            <inherit from="MinMaxPoints" />
        </inherits>
        <fields>
            <field name="showpoints" type="boolean" display="Punkte anzeigen"
                default="false" />
            <field name="showpointlabel" type="boolean"
                display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
            <field name="linecolor" type="Color" display="Linienfarbe"
                default="204, 204, 204" />
        </fields>
    </theme>

    <theme name="WQPoints">
        <inherits>
            <inherit from="Points" />
            <inherit from="Label" />
        </inherits>
        <fields>
            <field name="pointcolor" type="Color" display="Linienfarbe"
                default="204, 0, 0" />
        </fields>
    </theme>

    <theme name="heightmarks_points">
        <inherits>
            <inherit from="Points" />
            <inherit from="Label" />
        </inherits>
        <fields>
            <field name="pointcolor" type="Color" display="Linienfarbe"
                default="0, 0, 0" />
        </fields>
    </theme>


<!--/themegroup-->

http://dive4elements.wald.intevation.org