From fa973b03fc1d6af5696cee27e1824c45da3150b4 Mon Sep 17 00:00:00 2001
From: Sven Göthel <sgothel@jausoft.com>
Date: Sun, 7 Jan 2024 04:56:28 +0100
Subject: GraphUI Shape: Enable Tooltip (currently text only) to be displayed
 after delay w/o mouse-move (1s)

For efficiency, all Tooltip instances is hooked to Scene via Shape as well as its
singleton pop-up HUD tip after delay and no mouse move.

TooltipText is a simple text Button implementation,
but other more fancy HUD tips can be implemented.

Shape adds
- 'public Tooltip setToolTip(final CharSequence text, final Font font, final float scaleY, final Scene scene)'

Demoed within MediaPlayer widget.
---
 make/scripts/tests.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'make/scripts')

diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh
index 22a6b2e31..0bc112255 100644
--- a/make/scripts/tests.sh
+++ b/make/scripts/tests.sh
@@ -1022,8 +1022,8 @@ function testawtswt() {
 #testnoawt com.jogamp.opengl.demos.av.MovieSimple $*
 #testnoawt com.jogamp.opengl.demos.av.MovieCube $*
 #testnoawt com.jogamp.opengl.demos.graph.ui.UIMediaGrid00 $*
-#testnoawt com.jogamp.opengl.demos.graph.ui.UIMediaGrid01 $*
-testnoawt com.jogamp.opengl.demos.graph.ui.FontView01 $*
+testnoawt com.jogamp.opengl.demos.graph.ui.UIMediaGrid01 $*
+#testnoawt com.jogamp.opengl.demos.graph.ui.FontView01 $*
 #testawt com.jogamp.opengl.demos.graph.ui.UISceneDemo20 $*
 #testawt com.jogamp.opengl.demos.es2.GearsES2 $*
 #testnoawt com.jogamp.opengl.demos.graph.ui.UIGraphDemoU01a $*
-- 
cgit v1.2.3