From 36d5747fbf41d573a3e424cdafd9a5e6e7196e76 Mon Sep 17 00:00:00 2001 From: Karl Tauber Date: Sat, 25 Sep 2021 23:53:57 +0200 Subject: [PATCH] Accent color: changed javadoc since version from 1.6 to 2 --- .../src/main/java/com/formdev/flatlaf/FlatLaf.java | 8 ++++---- .../java/com/formdev/flatlaf/util/ColorFunctions.java | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatLaf.java b/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatLaf.java index 10119c2d..eec33179 100644 --- a/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatLaf.java +++ b/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatLaf.java @@ -792,7 +792,7 @@ public abstract class FlatLaf /** * Gets global extra UI defaults; or {@code null}. * - * @since 1.6 + * @since 2 */ public static Map getGlobalExtraDefaults() { return globalExtraDefaults; @@ -815,7 +815,7 @@ public abstract class FlatLaf * } * * @see #setExtraDefaults(Map) - * @since 1.6 + * @since 2 */ public static void setGlobalExtraDefaults( Map globalExtraDefaults ) { FlatLaf.globalExtraDefaults = globalExtraDefaults; @@ -824,7 +824,7 @@ public abstract class FlatLaf /** * Gets extra UI defaults; or {@code null}. * - * @since 1.6 + * @since 2 */ public Map getExtraDefaults() { return extraDefaults; @@ -848,7 +848,7 @@ public abstract class FlatLaf * } * * @see #setGlobalExtraDefaults(Map) - * @since 1.6 + * @since 2 */ public void setExtraDefaults( Map extraDefaults ) { this.extraDefaults = extraDefaults; diff --git a/flatlaf-core/src/main/java/com/formdev/flatlaf/util/ColorFunctions.java b/flatlaf-core/src/main/java/com/formdev/flatlaf/util/ColorFunctions.java index eca7fe3a..fd223930 100644 --- a/flatlaf-core/src/main/java/com/formdev/flatlaf/util/ColorFunctions.java +++ b/flatlaf-core/src/main/java/com/formdev/flatlaf/util/ColorFunctions.java @@ -90,7 +90,7 @@ public class ColorFunctions * @param weight the weight (in range 0-1) to mix the two colors. * Larger weight uses more of first color, smaller weight more of second color. * @return mixture of colors - * @since 1.6 + * @since 2 */ public static Color tint( Color color, float weight ) { return mix( Color.white, color, weight ); @@ -104,7 +104,7 @@ public class ColorFunctions * @param weight the weight (in range 0-1) to mix the two colors. * Larger weight uses more of first color, smaller weight more of second color. * @return mixture of colors - * @since 1.6 + * @since 2 */ public static Color shade( Color color, float weight ) { return mix( Color.black, color, weight ); @@ -120,7 +120,7 @@ public class ColorFunctions * @return the luma (in range 0-1) * * @see https://en.wikipedia.org/wiki/Luma_(video) - * @since 1.6 + * @since 2 */ public static float luma( Color color ) { // see https://en.wikipedia.org/wiki/Luma_(video)