From c2452b211dc3f347dbffaac4e6c35b3c3e8c6d65 Mon Sep 17 00:00:00 2001 From: Sven Göthel Date: Sun, 7 Jan 2024 21:20:02 +0100 Subject: GraphUI Button.setLabelColor(..): Add alpha channel and variant w/ Vec4f for flexibility --- src/graphui/classes/com/jogamp/graph/ui/widgets/MediaPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graphui/classes/com/jogamp/graph/ui/widgets') diff --git a/src/graphui/classes/com/jogamp/graph/ui/widgets/MediaPlayer.java b/src/graphui/classes/com/jogamp/graph/ui/widgets/MediaPlayer.java index 0ceb9aaa9..2cde62668 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/widgets/MediaPlayer.java +++ b/src/graphui/classes/com/jogamp/graph/ui/widgets/MediaPlayer.java @@ -233,7 +233,7 @@ public class MediaPlayer extends Widget { getMultilineTime(Clock.currentMillis(), mPlayer), CtrlButtonWidth, CtrlButtonHeight, zEpsilon); timeLabel.setName("mp.time"); timeLabel.setPerp().setColor(CtrlCellCol); - timeLabel.setLabelColor(1, 1, 1); + timeLabel.setLabelColor(1, 1, 1, 1.0f); } scene.addGLEventListener(new GLEventAdapter() { long t0 = 0; -- cgit v1.2.3