From d537f28ca05e1ae5d611cc3d30ca9c54137d599f Mon Sep 17 00:00:00 2001 From: Sven Göthel Date: Sun, 28 Jan 2024 07:18:12 +0100 Subject: GraphUI Demos: Disable debug toggles --- src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java | 2 +- src/demos/com/jogamp/opengl/demos/graph/ui/UIMediaGrid01.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java index c43ed09f0..d6d34b366 100644 --- a/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java +++ b/src/demos/com/jogamp/opengl/demos/graph/ui/FontView01.java @@ -302,7 +302,7 @@ public class FontView01 { null, new SliderParam( new Vec2f(glyphGridCellSize/4f, glyphGridSize.y()), glyphGridCellSize/10f, true ) ); glyphView.getVertSlider().setColor(0.3f, 0.3f, 0.3f, 0.7f).setName("GlyphView"); - if( VERBOSE_UI || true ) { + if( VERBOSE_UI ) { glyphView.getVertSlider().addSliderListener(new SliderAdapter() { @Override public void dragged(final RangeSlider w, final float old_val, final float val, final float old_val_pct, final float val_pct) { diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UIMediaGrid01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UIMediaGrid01.java index e297200cb..20c2dc5be 100644 --- a/src/demos/com/jogamp/opengl/demos/graph/ui/UIMediaGrid01.java +++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UIMediaGrid01.java @@ -84,7 +84,7 @@ public class UIMediaGrid01 { static CommandlineOptions options = new CommandlineOptions(1280, 720, Region.VBAA_RENDERING_BIT); - private static final boolean VERBOSE_UI = true; + private static final boolean VERBOSE_UI = false; private static final List MEDIA_SUFFIXES = Arrays.asList("mp4", "mkv", "m2v", "avi"); private static int aid = GLMediaPlayer.STREAM_ID_AUTO; private static float videoAspectRatio = 16f/9f; -- cgit v1.2.3