changeset 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 4ae7df2a74ed
children d2a17e990c70
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/themes.xml
diffstat 2 files changed, 23 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Oct 19 16:06:01 2011 +0000
+++ b/flys-artifacts/ChangeLog	Thu Oct 20 13:29:54 2011 +0000
@@ -1,3 +1,8 @@
+2011-10-20  Raimund Renkert <raimund.renkert@intevation.de>
+
+	* doc/conf/themes.xml:
+	  Added new theme attributes.
+
 2011-10-19  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Fix WDifference plots where masterartifact has no range set.
--- a/flys-artifacts/doc/conf/themes.xml	Wed Oct 19 16:06:01 2011 +0000
+++ b/flys-artifacts/doc/conf/themes.xml	Thu Oct 20 13:29:54 2011 +0000
@@ -151,6 +151,7 @@
         <inherits>
             <inherit from="HiddenColorLines"/>
             <inherit from="Text"/>
+            <inherit from="AnnotationText"/>
         </inherits>
         <fields>
             <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 0"/>
@@ -181,17 +182,28 @@
             <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="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="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>
 

http://dive4elements.wald.intevation.org