From fdedf6cff64efc1d7ab554c2bf084392a099ef0f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 24 Dec 2023 16:10:09 +0100 Subject: GraphUI Shape: Allow overriding of setColor(..) and setPressedColorMod(..) --- src/graphui/classes/com/jogamp/graph/ui/Shape.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/graphui') diff --git a/src/graphui/classes/com/jogamp/graph/ui/Shape.java b/src/graphui/classes/com/jogamp/graph/ui/Shape.java index ee7f946c2..0bdb9f985 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/Shape.java +++ b/src/graphui/classes/com/jogamp/graph/ui/Shape.java @@ -1078,7 +1078,7 @@ public abstract class Shape { * Default RGBA value is 0.60f, 0.60f, 0.60f, 1.0f *

*/ - public final Shape setColor(final float r, final float g, final float b, final float a) { + public Shape setColor(final float r, final float g, final float b, final float a) { this.rgbaColor.set(r, g, b, a); return this; } @@ -1092,7 +1092,7 @@ public abstract class Shape { * Default RGBA value is 0.60f, 0.60f, 0.60f, 1.0f *

*/ - public final Shape setColor(final Vec4f c) { + public Shape setColor(final Vec4f c) { this.rgbaColor.set(c); return this; } @@ -1106,7 +1106,7 @@ public abstract class Shape { * Default RGBA value is 0.70f, 0.70f, 0.70f, 0.8f *

*/ - public final Shape setPressedColorMod(final float r, final float g, final float b, final float a) { + public Shape setPressedColorMod(final float r, final float g, final float b, final float a) { this.pressedRGBAModulate.set(r, g, b, a); return this; } -- cgit v1.2.3