diff flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java @ 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 940cd2ef149f
children ecd237428af6
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java	Mon Oct 29 05:59:27 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java	Mon Oct 29 06:54:48 2012 +0100
@@ -592,7 +592,7 @@
         String lineColorStr = getLineColorString(theme);
         logger.debug("parseLineColorField: lineColorStr = " +
                 (lineColorStr == null ? "null" : lineColorStr));
-        return parseRGB(lineColorStr);
+        return parseColor(lineColorStr);
     }
 
 

http://dive4elements.wald.intevation.org