From 6ff25d2dd73abd0921c251e521a31ad7e5a244a9 Mon Sep 17 00:00:00 2001 From: badlogicgames Date: Mon, 1 Nov 2010 23:37:46 +0000 Subject: [PATCH] [changed] LwjglApplicationNew to LwjglApplication --- extensions/hiero/src/com/badlogic/gdx/hiero/Hiero.java | 6 +++--- .../src/com/badlogic/gdx/hiero/unicodefont/UnicodeFontTest.java | 4 ++-- .../src/com/badlogic/gdx/graphics/particles/ParticleEditor.java | 6 +++--- .../src/com/badlogic/gdx/tests/lwjgl/LwjglDebugStarter.java | 4 ++-- .../src/com/badlogic/gdx/tests/lwjgl/LwjglTestStarter.java | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/extensions/hiero/src/com/badlogic/gdx/hiero/Hiero.java b/extensions/hiero/src/com/badlogic/gdx/hiero/Hiero.java index 95e94d9be..74fa2a9db 100644 --- a/extensions/hiero/src/com/badlogic/gdx/hiero/Hiero.java +++ b/extensions/hiero/src/com/badlogic/gdx/hiero/Hiero.java @@ -98,7 +98,7 @@ import org.lwjgl.opengl.GL11; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Gdx; -import com.badlogic.gdx.backends.desktop.LwjglApplicationNew; +import com.badlogic.gdx.backends.desktop.LwjglApplication; import com.badlogic.gdx.graphics.BitmapFont; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Texture; @@ -124,7 +124,7 @@ public class Hiero extends JFrame { + "abcdefghijklmnopqrstuvwxyz\n1234567890\n" // + "\"!`?'.,;:()[]{}<>|/@\\^$-%+=#_&~*\u007F"; - LwjglApplicationNew app; + LwjglApplication app; Canvas glCanvas; volatile UnicodeFont newUnicodeFont; UnicodeFont unicodeFont; @@ -206,7 +206,7 @@ public class Hiero extends JFrame { public final void addNotify () { super.addNotify(); - app = new LwjglApplicationNew(new Renderer(), "Hiero", 200, 200, false, glCanvas); + app = new LwjglApplication(new Renderer(), "Hiero", 200, 200, false, glCanvas); addWindowListener(new WindowAdapter() { public void windowClosed (WindowEvent event) { diff --git a/extensions/hiero/src/com/badlogic/gdx/hiero/unicodefont/UnicodeFontTest.java b/extensions/hiero/src/com/badlogic/gdx/hiero/unicodefont/UnicodeFontTest.java index a2048be9a..0d377a1a7 100644 --- a/extensions/hiero/src/com/badlogic/gdx/hiero/unicodefont/UnicodeFontTest.java +++ b/extensions/hiero/src/com/badlogic/gdx/hiero/unicodefont/UnicodeFontTest.java @@ -28,7 +28,7 @@ import org.lwjgl.opengl.GL11; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Gdx; -import com.badlogic.gdx.backends.desktop.LwjglApplicationNew; +import com.badlogic.gdx.backends.desktop.LwjglApplication; import com.badlogic.gdx.hiero.unicodefont.effects.ColorEffect; public class UnicodeFontTest implements ApplicationListener { @@ -82,7 +82,7 @@ public class UnicodeFontTest implements ApplicationListener { } public static void main (String[] args) { - new LwjglApplicationNew(new UnicodeFontTest(), "UnicodeFont Test", 800, 600, false); + new LwjglApplication(new UnicodeFontTest(), "UnicodeFont Test", 800, 600, false); } @Override diff --git a/extensions/particle-editor/src/com/badlogic/gdx/graphics/particles/ParticleEditor.java b/extensions/particle-editor/src/com/badlogic/gdx/graphics/particles/ParticleEditor.java index d42eed605..90bdad1a5 100644 --- a/extensions/particle-editor/src/com/badlogic/gdx/graphics/particles/ParticleEditor.java +++ b/extensions/particle-editor/src/com/badlogic/gdx/graphics/particles/ParticleEditor.java @@ -34,7 +34,7 @@ import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.Files.FileType; -import com.badlogic.gdx.backends.desktop.LwjglApplicationNew; +import com.badlogic.gdx.backends.desktop.LwjglApplication; import com.badlogic.gdx.graphics.BitmapFont; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL10; @@ -45,7 +45,7 @@ import com.badlogic.gdx.graphics.Texture.TextureWrap; import com.badlogic.gdx.utils.GdxRuntimeException; public class ParticleEditor extends JFrame { - LwjglApplicationNew app; + LwjglApplication app; Canvas glCanvas; JPanel rowsPanel; EffectPanel effectPanel; @@ -62,7 +62,7 @@ public class ParticleEditor extends JFrame { public final void addNotify () { super.addNotify(); - app = new LwjglApplicationNew(new Renderer(),"ParticleEditor", 200, 200, false, glCanvas); + app = new LwjglApplication(new Renderer(),"ParticleEditor", 200, 200, false, glCanvas); addWindowListener(new WindowAdapter() { public void windowClosed (WindowEvent event) { app.stop(); diff --git a/tests/gdx-tests-lwjgl/src/com/badlogic/gdx/tests/lwjgl/LwjglDebugStarter.java b/tests/gdx-tests-lwjgl/src/com/badlogic/gdx/tests/lwjgl/LwjglDebugStarter.java index 3136cde81..1ff0d9789 100644 --- a/tests/gdx-tests-lwjgl/src/com/badlogic/gdx/tests/lwjgl/LwjglDebugStarter.java +++ b/tests/gdx-tests-lwjgl/src/com/badlogic/gdx/tests/lwjgl/LwjglDebugStarter.java @@ -1,9 +1,9 @@ package com.badlogic.gdx.tests.lwjgl; -import com.badlogic.gdx.backends.desktop.LwjglApplicationNew; +import com.badlogic.gdx.backends.desktop.LwjglApplication; public class LwjglDebugStarter { public static void main(String[] argv) { - new LwjglApplicationNew(new com.badlogic.gdx.tests.UITest(), "UI Test", 480, 320, false); + new LwjglApplication(new com.badlogic.gdx.tests.UITest(), "UI Test", 480, 320, false); } } diff --git a/tests/gdx-tests-lwjgl/src/com/badlogic/gdx/tests/lwjgl/LwjglTestStarter.java b/tests/gdx-tests-lwjgl/src/com/badlogic/gdx/tests/lwjgl/LwjglTestStarter.java index 0dd8f0e59..0519db808 100644 --- a/tests/gdx-tests-lwjgl/src/com/badlogic/gdx/tests/lwjgl/LwjglTestStarter.java +++ b/tests/gdx-tests-lwjgl/src/com/badlogic/gdx/tests/lwjgl/LwjglTestStarter.java @@ -15,7 +15,7 @@ import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.ListSelectionModel; -import com.badlogic.gdx.backends.desktop.LwjglApplicationNew; +import com.badlogic.gdx.backends.desktop.LwjglApplication; import com.badlogic.gdx.tests.utils.GdxTest; import com.badlogic.gdx.tests.utils.GdxTests; @@ -43,7 +43,7 @@ public class LwjglTestStarter { @Override public void actionPerformed (ActionEvent e) { String testName = (String)list.getSelectedValue(); GdxTest test = GdxTests.newTest(testName); - new LwjglApplicationNew(test,testName, 480, 320, test.needsGL20()); + new LwjglApplication(test,testName, 480, 320, test.needsGL20()); } }); -- 2.11.0