aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-12-24 16:10:09 +0100
committerSven Gothel <[email protected]>2023-12-24 16:10:09 +0100
commitfdedf6cff64efc1d7ab554c2bf084392a099ef0f (patch)
tree11929a2c2015ade4c3dee4e6ed8ec641540ec40f /src/graphui
parenta782f343aeecbfdb640198bcc73794a90f63730d (diff)
GraphUI Shape: Allow overriding of setColor(..) and setPressedColorMod(..)
Diffstat (limited to 'src/graphui')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/Shape.java6
1 files changed, 3 insertions, 3 deletions
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
* </p>
*/
- 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
* </p>
*/
- 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
* </p>
*/
- 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;
}